Upgrade properties
| Key
|
Description
|
Type
|
Required?
|
Behavior when absent
|
Name
|
The name of the upgrade for the tower getting upgraded.
|
String
|
Yes
|
Upgrade functionally stops existing
|
TowerUpgrades
|
The upgrades to the tower itself.
|
Array of objects
|
|
|
WeaponUpgrades
|
The upgrades to the tower's weapons.
|
Array of objects
|
|
|
Tower Upgrades
It upgrades the tower properties for the tower.
Weapon Upgrades
| Key
|
Description
|
Type
|
Required?
|
Behavior when absent
|
SlotIndex
|
The slot the upgrade affects. This is used for a single weapon slot.
|
Number
|
|
|
SlotIndices
|
The slots the upgrade affects. This is used for more than 1 weapon slot.
|
Array of Numbers
|
|
|
Adjust
|
To change (by adding/subtracting) the base properties of the weapon.
|
Array of objects
|
|
|
Replace
|
To replace the base properties of the weapon.
|
Array of objects
|
|
|
TaskUpgrades
|
To change/replace the subtasks of the weapon.
|
Array of objects
|
|
|
Adjust and Replace
Both of these only upgrade base weapon properties.
- Adjust adds/subtracts numerical values of variables.
- Replace replaces the values of variables.
Task Upgrades
This only upgrades tasks and subtasks.
| Key
|
Description
|
Type
|
Required?
|
Behavior when absent
|
Operation
|
The operation to find what to change.
SelectByType
|
Selects by the type of subtask.
|
SelectByLocation
|
Selects by the location of the subtask.
|
Adjust
|
To adjust the value.
|
Replace
|
To replace the value.
|
|
String
|
|
|