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 strings
|
|
|
Replace
|
To replace the base properties of the weapon.
|
Array of strings
|
|
|
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 task/subtask.
|
Type
|
The type of task/subtask to look for.
|
SelectByLocation
|
Selects by the location of the task/subtask.
|
Location
|
The location of the task/subtask
|
And whether to adjust or replace a task/subtask
Adjust
|
To adjust the value or values.
|
Replace
|
To replace the value or values.
|
|
String*
|
|
|