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

[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=animation idle 500						# Play a hunting animation
3=object remove                     # Remove this object
4=createitem meat                   # meat
5=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
