[global]
descname=_"Carpenter's workshop"
type=production
size=medium
buildable=yes
buildicon=carpenter_build.png
worker=carpenter
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=work
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

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

[inputs]
iron=8
trunk=8

[work]
0=set +nostats
1=call produce_bakingtray
2=call produce_fire_tongs
3=call produce_fishing_rod
4=call produce_hammer
5=call produce_kitchen_tools
6=call produce_pick
7=call produce_scythe
8=call produce_shovel
9=call produce_hunting_spear
10=call produce_basket
11=call produce_axe

[produce_bakingtray]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce bakingtray

[produce_fire_tongs]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce fire_tongs

[produce_fishing_rod]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce fishing_rod

[produce_hammer]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce hammer

[produce_kitchen_tools]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce kitchen_tools

[produce_pick]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce pick

[produce_scythe]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce scythe

[produce_shovel]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce shovel

[produce_hunting_spear]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce hunting_spear

[produce_basket]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce basket

[produce_saw]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce saw

[produce_axe]
0=set +catch
1=sleep 32000
2=check trunk
3=check iron
4=consume iron
5=consume trunk
6=animation working 35000
7=produce axe

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

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

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