[global]
descname=_ Marble Mine
type=production
size=mine
buildable=yes
buildicon=marblemine_build.png
worker=miner
program=work
program=prog_marble
program=prog_stone
output=marble
output=stone
stopable=yes
enhances_to=deep_marblemine

[inputs]
ration=6
wine=6

[work]
0=set +nostats
1=call prog_marble
2=call prog_stone

[prog_marble]
0=set +catch
1=sleep 20000
2=consume ration
3=animation working 20000
4=mine granit 2 50 5
5=produce marble
6=consume wine
7=animation working 20000
8=mine granit 2 50 5
9=produce marble

[prog_stone]
0=set +catch
1=sleep 20000
2=consume ration
3=animation working 20000
4=mine granit 2 50 5
5=produce marble
6=consume wine
7=animation working 20000
8=mine granit 2 50 5
9=produce marble

[buildcost]
trunk=4
wood=2

[idle]
pics=marblemine_i_??.png
hotspot=47 61

[working]
pics=marblemine_i_??.png
hotspot=47 61

[build]
pics=marblemine_build.png
hotspot=47 61
