Here is my code!
Code: Select all
[
{
"id":"$coal.anim.sairam00",
"type":"animation",
"author":"sairam",
"frames":[
{"bmp":"coal1.png"},
{"bmp":"coal2.png"},
{"bmp":"coal3.png"},
{"bmp":"coal4.png"}
],
"speed":0.005
},
{
"id":"$coaltruck00",
"type":"car",
"v2":true,
"frames":[
{"bmp":"coaltruck.png","w":17,"h":13,"count":4}
]
},
{
"draw ground":true,
"frames":[],
"animation":[
{"id":"$coal.anim.sairam00","x":0,"y":-6}],
"fun":[
{
"actions":[
{
"type":"remove"
},
{
"id":"$blank.coalmine.sairam00",
"type":"build"
}
],
"condition":{
"id":"upgrade",
"type":"upgrade"
}
}
],
"height":1,
"hidden":false,
"id":"$coalore00",
"text ":"An unmined coal ore, maybe you can turn it into a coal mine?",
"title":"Coal Ore",
"type":"decoration",
"upgrades":[
{
"frames":[null],
"id":"upgrade",
"price":0,
"text":"Upgrades to coal mine",
"title":"Coal Mine"
}
],
"width":1
},
{
"id": "$coalmine00",
"type": "industrial",
"width": 4,
"height": 4,
"frames": [{"steal":"$coalmine00"}],
"level": 2,
"car spawner": [
{
"cars":["$coaltruck00"],
"count":10,
"radius":290,
"targets":["$coalplant00"]
}
],
"override":true
},
{
"id":"$blank.coalmine.sairam00",
"type":"decoration",
"width":4,
"height":4,
"hidden":true,
"frames":[
{"bmp":"blank.png"}
],
"fun": [
{
"actions": [
{
"type":"remove"
},
{
"type":"build",
"id":"$zoneindustrial_lvl2"
},
{
"type":"build",
"id":"$coalmine00"
}
]
}
]
}
]