[global]
descname=_ Helmsmith
type=production
size=big
buildable=yes
buildicon=build.png
worker=helmsmith
output=helm
output=mask
output=warhelmet

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

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

[work]
call=produce_helm
call=produce_mask
call=produce_warhelmet
sleep=20000
return=skipped

[produce_helm]
return=skipped unless economy needs helm
consume=coal iron
sleep=32000
animate=working 35000
produce=helm

[produce_mask]
return=skipped unless economy needs mask
consume=coal iron:2
sleep=32000
animate=working 45000
produce=mask

[produce_warhelmet]
return=skipped unless economy needs warhelmet
consume=coal gold iron:2
sleep=32000
animate=working 55000
produce=warhelmet

[buildcost]
trunk=3
blackwood=1
raw_stone=2
grout=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
