size=big
output=spidercloth
output=tabard
output=golden_tabard

[buildcost]
trunk=3
stone=4
planks=2

[return_on_dismantle]
trunk=1
stone=3
planks=1

[working positions]
weaver=1

[inputs]
spideryarn=8
goldyarn=4

[programs]
produce_spidercloth=_Produce spidercloth
produce_tabard=_Produce tabard
produce_golden_tabard=_Produce golden tabard
work=_Work

[produce_spidercloth]
return=skipped unless economy needs spidercloth
consume=spideryarn
sleep=40000
produce=spidercloth

[produce_tabard]
return=skipped unless economy needs tabard
consume=spideryarn
sleep=40000
produce=tabard

[produce_golden_tabard]
return=skipped unless economy needs golden_tabard
consume=spideryarn goldyarn
sleep=40000
produce=golden_tabard

[work]
call=produce_spidercloth
call=produce_tabard
call=produce_golden_tabard
return=skipped

[idle]
pics=weaving_mill_i_??.png  # ???
hotspot=65 69
playercolor=true
