armor_plate ![code/datums/components/armor_plate.dm 1](git.png)
Vars | |
amount | The current number of upgrades applied to the parent via this component. |
---|---|
armor_mod | THe armor datum path for our upgrade values. This value is added per upgrade item applied |
have_upgraded | Tracks whether or not we've received an upgrade or not. |
maxamount | The maximum number of upgarde items that can be applied. Once var/amount reaches this value, no more upgrades can be applied |
upgrade_item | THe path for our upgrade item. Each one is expended to improve the parent's armor values. |
upgrade_name | The name of the upgrade item. |
upgrade_prefix | Adds a prefix to the item, demonstrating that it is upgraded in some way. |
Var Details
amount ![code/datums/components/armor_plate.dm 3](git.png)
The current number of upgrades applied to the parent via this component.
armor_mod ![code/datums/components/armor_plate.dm 9](git.png)
THe armor datum path for our upgrade values. This value is added per upgrade item applied
have_upgraded ![code/datums/components/armor_plate.dm 15](git.png)
Tracks whether or not we've received an upgrade or not.
maxamount ![code/datums/components/armor_plate.dm 5](git.png)
The maximum number of upgarde items that can be applied. Once var/amount reaches this value, no more upgrades can be applied
upgrade_item ![code/datums/components/armor_plate.dm 7](git.png)
THe path for our upgrade item. Each one is expended to improve the parent's armor values.
upgrade_name ![code/datums/components/armor_plate.dm 11](git.png)
The name of the upgrade item.
upgrade_prefix ![code/datums/components/armor_plate.dm 13](git.png)
Adds a prefix to the item, demonstrating that it is upgraded in some way.