[global]
descname=Forester
help=Plants trees.
type=generic
menu_pic=ranger_menu.png
program=plant

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

[plant]
0=setdescription tree1 tree2 tree3 tree4 tree5 tree6 tree7 tree8 # Set a random immovable description
1=findspace size:any radius:5			# Find space for the description within the given radius
2=walk coords								# Walk to the target coordinates
3=animation idle 500						# Play a planting animation
4=plant										# Place an immovable of the selected description
5=animation idle 500						# Wait a while
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
