size=medium
output=helm
output=armour
output=chain_armour
output=plate_armour

[aihints]
build_material=false

[buildcost]
trunk=2
stone=2
marble=2
marblecolumn=3

[return_on_dismantle]
stone=1
marble=1
marblecolumn=2

[working positions]
armoursmith=1

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

[programs]
produce_helm=_Produce helm
produce_armour=_Produce armour
produce_chain_armour=_Produce chain armour
produce_plate_armour=_Produce plate armour
work=_Work

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

[produce_armour]
return=skipped unless economy needs armour
consume=iron coal cloth
sleep=32000
animate=working 45000
produce=armour

[produce_chain_armour]
return=skipped unless economy needs chain_armour
consume=iron:2 coal cloth
sleep=32000
animate=working 45000
produce=chain_armour

[produce_plate_armour]
return=skipped unless economy needs plate_armour
consume=iron:2 coal:2 cloth gold
sleep=32000
animate=working 45000
produce=plate_armour

[work]
call=produce_helm
call=produce_armour
call=produce_chain_armour
call=produce_plate_armour
sleep=20000
return=skipped

[unoccupied]
pics=armory_u_??.png  # ???
hotspot=50 62

[idle]
pics=armory_i_??.png  # ???
hotspot=50 62
playercolor=true

[build]
pics=armory_b_??.png  # ???
hotspot=50 62

[working]
pics=armory_w_??.png  # ???
hotspot=50 62
playercolor=true
fps=5
