#34
Post
by Elmana4321 »
Hi, how can I make my plugin build buildings? And also that it doesn't pollute or make noise?
{
"id": "$zoneOffices",
"type": "zone",
"author":"Elmana4321",
"category":"$cat_zone00",
"title":"Offices",
"text":"Clean offices will be built here",
"draw ground": true,
"rci":true,
"frames":[{"bmp":"Zone.png"}],
"preview frames":[{"bmp":"icon.png"}],
"price":200,
"requirement":{"requirements":[{"type":"RANK", "data":{"lvl":3}}]},
"heigth": 1,
"width": 1,
"autobuild": true,
"needs road": false,
"placeable":true,
"map color":{
"r":38,
"g":191,
"b":191
}
},
[{
"height": 1,
"id": "$office1",
"level": "1",
"title": "Offices",
"type": "industrial",
"width": 1,
"workers": 20,
"influence pollution": 0,
"influence noise": 0,
"frames":[{"bmp":"office1.png"}],
"zone": "$zoneOffices",
"drawground": true,
"needs road": true
}]