This is how an upgrade may look in a plugin:
Code: Select all
[
{
"id": "$sample.plugin.unique.id.park00",
"type": "park",
"author": "Lobby & theotheoderich",
"width": 1,
"height": 1,
"frames": [
{
"bmp": "sample_bmp.png"
}
],
"influence park":40,
"upgrades":[
{
"id":"$sample.plugin.unique.id.park01"
"frames":[
{"bmp":"someupgrade_bmp"}
],
"price":2000,
"monthly price":20,
"influence park":20
}
]
}
]
Functions
"upgrades" - defines upgrades for the building
I hope this helped you, have fun with your upgrading!
