size=mine
output=ironore

[buildcost]
trunk=7
planks=4
spidercloth=1

[return_on_dismantle]
trunk=2
planks=2

[working positions]
miner=3

[aihints]
build_material=false
mines=iron

[inputs]
bread=10
smoked_fish=10
smoked_meat=6

[programs]
work=_Work

[work]
return=skipped unless economy needs ironore or not economy needs bread
return=skipped unless economy needs ironore or not economy needs smoked_fish
consume=smoked_fish,smoked_meat:2 bread:2
sleep=45000
animate=working 20000
mine=iron 4 100 5
produce=ironore
animate=working 20000
mine=iron 4 100 5
produce=ironore:2
animate=working 20000
mine=iron 4 100 5
produce=ironore:2

[idle]
pics=ironmine_i_??.png
hotspot=50 56
playercolor=true

[working]
pics=ironmine_i_??.png
hotspot=50 56
playercolor=true

[empty]
pics=ironmine_e_??.png
hotspot=50 56
playercolor=true
