[global]
descname=_"Smokery"
type=production
size=medium
buildable=yes
buildicon=smokery_build.png
worker=smoker
output=smoked_meat
output=smoked_fish
program=smoke_meat
program=smoke_fish
program=work

[inputs]
fish=4
meat=4
trunk=8

[work]
call=smoke_meat
call=smoke_fish
return=skipped

[smoke_meat]
return=skipped unless economy needs smoked_meat
consume=meat trunk
sleep=15000
animate=working 15000
produce=smoked_meat

[smoke_fish]
return=skipped unless economy needs smoked_fish
consume=fish trunk
sleep=15000
animate=working 15000
produce=smoked_fish

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

[idle]
pics=smokery_i_??.png  # ???
hotspot=53 68
playercolor=true

[build]
pics=smokery_i_??.png  # ???
hotspot=53 68
playercolor=true

[working]
pics=smokery_b_??.png  # ???
hotspot=53 68
playercolor=true
fps=20
