[global]
descname=_Fisher
help=Gets fish out of the sea
type=generic
menu_pic=menu.png
program=fish
soundfx=fisher_throw_net
soundfx=fisher_pull_net

[buildcost]
carrier=1
fishing_rod=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

[fish]
0=findspace size:any radius:7 resource:fish
1=walk coords								# Walk to the target coordinates
2=playFX fisher_throw_net
3=mine fish 1                       # Search for fish here
4=animation idle 3000					# Play a fishing animation
5=playFX fisher_pull_net
6=createitem fish                   # Create a fish  
7=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
