soundfx=../../../sound/smiths/smith
soundfx=../../../sound/smiths/sharpening
size=medium
buildable=no
output=axe
output=sharpaxe
output=broadaxe
output=bronzeaxe
output=battleaxe
output=warriorsaxe
enhanced_building=yes

[aihints]
build_material=false

[buildcost]
trunk=1
blackwood=1
raw_stone=2
grout=1
thatchreed=1

[working positions]
master-blacksmith=1
blacksmith=1

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

[programs]
produce_axe=_Produce axe
produce_sharpaxe=_Produce sharpaxe
produce_broadaxe=_Produce broadaxe
produce_bronzeaxe=_Produce bronzeaxe
produce_battleaxe=_Produce battleaxe
produce_warriorsaxe=_Produce warriorsaxe
work=_Work

[produce_axe]
return=skipped unless economy needs axe
consume=coal iron
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=axe

[produce_sharpaxe]
return=skipped unless economy needs sharpaxe
consume=coal iron:2
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=sharpaxe

[produce_broadaxe]
return=skipped unless economy needs broadaxe
consume=coal:2 iron:2
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=broadaxe

[produce_bronzeaxe]
return=skipped unless economy needs bronzeaxe
consume=coal:2 iron:2
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=bronzeaxe

[produce_battleaxe]
return=skipped unless economy needs battleaxe
consume=coal gold iron:2
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=battleaxe

[produce_warriorsaxe]
return=skipped unless economy needs warriorsaxe
consume=coal:2 gold:2 iron:2
sleep=32000
playFX=../../../sound/smiths/smith 192
animate=working 25000
playFX=../../../sound/smiths/sharpening 192
produce=warriorsaxe

[work]
call=produce_axe
call=produce_sharpaxe
call=produce_broadaxe
call=produce_bronzeaxe
call=produce_battleaxe
call=produce_warriorsaxe
return=skipped

[build]
pics=warmill_b_??.png  # ???
hotspot=57 76
playercolor=true

[unoccupied]
pics=warmill_u_??.png  # ???
hotspot=57 76
playercolor=true

[idle]
pics=warmill_i_??.png  # ???
hotspot=57 76
playercolor=true

[working]
pics=warmill_w_??.png  # ???
hotspot=57 76
playercolor=true
fps=10
