[global]
descname=_Hunter
help=Kills animals.
type=generic
menu_pic=menu.png
program=hunt
soundfx=gunshot

[buildcost]
carrier=1
hunting_spear=1 

# Here come the animations
# For the walk animation, [walk] is a default for all walk animations.
# You can, however, create [walk_nw] etc.. sections for sub-animations in a
# given direction

[hunt]
0=findobject type:bob radius:13 attrib:eatable  # A hunter walks tremendous ways for food
1=walk object                    # Walk to the target object (follows it)
2=playFX gunshot
3=animation idle 500						# Play a hunting animation
4=object remove                     # Remove this object
5=createitem meat                   # meat
6=return										# Go back home

# The normal idle animation (non-directional)
[idle]
pics=idle_??.png
clrkey_r=0
clrkey_g=0
clrkey_b=255
hot_spot_x=5
hot_spot_y=13

# Walking empty-handed
[walk]
dirpics=walk_!!_??.png
clrkey_r=0
clrkey_g=0
clrkey_b=255
hot_spot_x=5
hot_spot_y=13

# Walking with a ware
[walkload]
dirpics=walkload_!!_??.png
clrkey_r=0
clrkey_g=0
clrkey_b=255
hot_spot_x=5
hot_spot_y=13
