https://sites.google.com/site/theotownm ... fects-pack
Step 1:
Create a building that will enable and disable the RCI buildings. This building doesn't need any special code or anything. It can be any building you want. Just make sure to remember the ID because it'll become useful in step 2.
Step 2:
Next you will need to add an unlock requirement to the RCI buildings you want to enable or disable. You'll need to add this to your plug-ins:
Code: Select all
"requirement": {
"requirements": [
{
"data": {
"id": "YOUR ID HERE"
},
"type": "BUILDING"
}
]
},