[global]
descname=_"Carpenter's workshop"
type=production		# basic type (warehouse, production, military)
size=medium
buildable=yes 
buildicon=carpenter_build.png
worker=carpenter
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

[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

[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 

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

[idle]
pics=carpenter_i_??.png 
hot_spot_x=45
hot_spot_y=65
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[build]
pics=carpenter_b_??.png 
hot_spot_x=45
hot_spot_y=65
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[working]
pics=carpenter_w_??.png 
hot_spot_x=45
hot_spot_y=65
clrkey_r=255
clrkey_g=255
clrkey_b=0
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0
