User:Polavux/Technical:Bloons TD 5 (multiplatform)/Upgrades: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
LowoTV (talk | contribs)
im gonna rework operation soon
m Polavux moved page User:Polavux/Technical:Bloons TD 5 (mobile)/Upgrades to User:Polavux/Technical:Bloons TD 5 (multiplatform)/Upgrades: Text replacement - "Bloons TD 5 (mobile)" to "Bloons TD 5 (multiplatform)"
 
(3 intermediate revisions by one other user not shown)
Line 70: Line 70:


==== Adjust and Replace ====
==== Adjust and Replace ====
Both of these only upgrade base weapon properties.
Both of these only upgrade base weapon properties. Both are objects.


* '''Adjust''' adds/subtracts numerical values of variables.
* '''Adjust''' adds/subtracts numerical values of variables.
Line 76: Line 76:


==== Task Upgrades ====
==== Task Upgrades ====
This only upgrades tasks and subtasks.
This only upgrades tasks and subtasks. It uses 2 objects.
 
The first object is to find the task/subtask to upgrade, it consists of 2 variables:
{| class="wikitable sortable"
{| class="wikitable sortable"
!Key
!Key
Line 85: Line 87:
|-
|-
|<code>Operation</code>
|<code>Operation</code>
|The operation to find what to change.
|It decides how to find the task/subtask. It can either be <code>SelectByType</code> or <code>SelectByLocation</code>.
{| class="wikitable"
|String
|<code>SelectByType</code>
|
|Selects by the type of task/subtask.
|
|-
|-
|<code>Type</code>
|<code>Type</code>
|The type of task/subtask to look for.
|The type of task/subtask to look for. Requires <code>Operation</code> to be <code>SelectByType</code>.
|-
|String
|<code>SelectByLocation</code>
|
|Selects by the location of the task/subtask.
|
|-
|-
|<code>Location</code>
|<code>Location</code>
|The location of the task/subtask
|The location of where task/subtask is. Requires <code>Operation</code> to be <code>SelectByLocation</code>.
|Array of Numbers
|
|
|}
|}
And whether to adjust or replace a task/subtask
 
{| class="wikitable"
The second object defines what to upgrade, it consists of 2 or more variables. The first one is an operation string and all the others in the object are the variables that are to be upgraded.
|<code>Adjust</code>
{| class="wikitable sortable"
|To adjust the value or values.
!Key
!Description
!Type
!Required?
!Behavior when absent
|-
|<code>RequiresMinUpgradeCounters</code>
|The crosspath needed for this upgrade to be used (I think?)
|Array of numbers
|
|
|-
|-
|<code>Replace</code>
|<code>Operation</code>
|To replace the value or values.
|It decides what to do with a variable. It can either be <code>Adjust</code> or <code>Replace</code>.
|}
|String
|String<abbr title="Location is an array of numbers.">*</abbr>
|
|
|
|
|}
|}

Latest revision as of 23:23, 7 June 2026

Upgrade properties

[edit | edit source]
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

[edit | edit source]

It upgrades the tower properties for the tower.

Weapon Upgrades

[edit | edit source]
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

[edit | edit source]

Both of these only upgrade base weapon properties. Both are objects.

  • Adjust adds/subtracts numerical values of variables.
  • Replace replaces the values of variables.

Task Upgrades

[edit | edit source]

This only upgrades tasks and subtasks. It uses 2 objects.

The first object is to find the task/subtask to upgrade, it consists of 2 variables:

Key Description Type Required? Behavior when absent
Operation It decides how to find the task/subtask. It can either be SelectByType or SelectByLocation. String
Type The type of task/subtask to look for. Requires Operation to be SelectByType. String
Location The location of where task/subtask is. Requires Operation to be SelectByLocation. Array of Numbers

The second object defines what to upgrade, it consists of 2 or more variables. The first one is an operation string and all the others in the object are the variables that are to be upgraded.

Key Description Type Required? Behavior when absent
RequiresMinUpgradeCounters The crosspath needed for this upgrade to be used (I think?) Array of numbers
Operation It decides what to do with a variable. It can either be Adjust or Replace. String