[global]
descname=_"Toolsmith's Shop"
soundfx=../../../../sound/smiths/toolsmith
type=production
size=medium
buildable=yes
buildicon=toolsmith_build.png
worker=toolsmith
output=axe
output=bakingtray
output=fire_tongs
output=fishing_rod
output=hammer
output=kitchen_tools
output=pick
output=scythe
output=shovel
output=hunting_spear
output=basket
output=saw
program=produce_bakingtray
program=produce_fire_tongs
program=produce_fishing_rod
program=produce_hammer
program=produce_kitchen_tools
program=produce_pick
program=produce_scythe
program=produce_shovel
program=produce_hunting_spear
program=produce_basket
program=produce_saw
program=produce_axe
program=work

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

[inputs]
iron=8
trunk=8

[work]
call=produce_bakingtray
call=produce_fire_tongs
call=produce_fishing_rod
call=produce_hammer
call=produce_kitchen_tools
call=produce_pick
call=produce_scythe
call=produce_shovel
call=produce_hunting_spear
call=produce_basket
call=produce_axe
return=skipped

[produce_bakingtray]
return=skipped unless economy needs bakingtray
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=bakingtray

[produce_fire_tongs]
return=skipped unless economy needs fire_tongs
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=fire_tongs

[produce_fishing_rod]
return=skipped unless economy needs fishing_rod
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=fishing_rod

[produce_hammer]
return=skipped unless economy needs hammer
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=hammer

[produce_kitchen_tools]
return=skipped unless economy needs kitchen_tools
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=kitchen_tools

[produce_pick]
return=skipped unless economy needs pick
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=pick

[produce_scythe]
return=skipped unless economy needs scythe
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=scythe

[produce_shovel]
return=skipped unless economy needs shovel
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=shovel

[produce_hunting_spear]
return=skipped unless economy needs hunting_spear
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=hunting_spear

[produce_basket]
return=skipped unless economy needs basket
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=basket

[produce_saw]
return=skipped unless economy needs saw
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=saw

[produce_axe]
return=skipped unless economy needs axe
consume=iron trunk
sleep=32000
playFX=../../../../sound/smiths/toolsmith 192
animate=working 35000
produce=axe

[idle]
pics=toolsmith_i_??.png
hotspot=63 63

[build]
pics=toolsmith_i_??.png
hotspot=63 63

[working]
pics=toolsmith_i_??.png
hotspot=63 63
