[global]
descname=_ Helmsmith
type=production
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
thatchreed=3

[idle]
pics=helmsmith_i_??.png  # ???
hotspot=50 68

[build]
pics=helmsmith_b_??.png  # ???
hotspot=50 68

[working]
pics=helmsmith_w_??.png  # ???
hotspot=50 68
