[global]
descname=_ Helmsmith 

type=production		# basic type (warehouse, production, military)
size=big
buildable=yes 
buildicon=build.png
worker=helmsmith 
output=helm
output=mask
output=warhelmet

program=work
program=produce_helm
program=produce_mask
program=produce_warhelmet

[inputs]
iron=8
gold=8
coal=8

[work]
0=set +nostats
1=call produce_helm 
2=call produce_mask
3=call produce_warhelmet

[produce_helm]
0=set +catch
1=sleep 32000
2=check iron
3=check coal
4=consume iron
5=consume coal
6=animation working 35000
7=produce helm

[produce_mask]
0=set +catch
1=sleep 32000
2=check iron 2
3=check coal
4=consume iron 2
5=consume coal
6=animation working 45000
7=produce mask

[produce_warhelmet]
0=set +catch
1=sleep 32000
2=check iron 2
3=check gold
4=check coal
5=consume iron 2
6=consume gold
7=consume coal
8=animation working 55000
9=produce warhelmet 


[buildcost]
trunk=4
raw_stone=2
grindstone=2
thatchfern=3

[idle]
pics=i_??.png  # ???
hot_spot_x=40
hot_spot_y=40
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[build]
pics=i_??.png  # ???
hot_spot_x=40
hot_spot_y=40
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[working]
pics=i_??.png  # ???
hot_spot_x=40
hot_spot_y=40
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

