Action Upgrade System (#22277)
* Adds uses before delay so actions can be used multiple times before cooldown * adds methods to get remaining charges, to set uses before delay, and to set use delay * adds method to change action name * moves set usedelay * action upgrade ECS * adds method to reset remaining uses * adds upgrade events * refactors action upgrade event and adds logic to parse it * fix serialization issue * adds level up draft method * adds action commands and a command to upgrade an action * more warning lines to help * Gets action to upgrade properly * Removes unneeded fields from the action upgrade component and now properly raises the level of the new action * Cleans up dead code and comments * Fixes punctuation in actions-commands and adds a TryUpgradeAction method. * removes TODO comment * robust fix * removes RT * readds RT * update RT to 190 * removes change name method * removes remaining uses & related fields and adds that functionality to charges * Adds Charges to action tooltips that require it
This commit is contained in:
12
Resources/Locale/en-US/actions/actions/actions-commands.ftl
Normal file
12
Resources/Locale/en-US/actions/actions/actions-commands.ftl
Normal file
@@ -0,0 +1,12 @@
|
||||
## Actions Commands loc
|
||||
|
||||
## Upgradeaction command loc
|
||||
upgradeaction-command-need-one-argument = upgradeaction needs at least one argument, the action entity uid. The second optional argument is a specified level.
|
||||
upgradeaction-command-max-two-arguments = upgradeaction has a maximum of two arguments, the action entity uid and the (optional) level to set.
|
||||
upgradeaction-command-second-argument-not-number = upgradeaction's second argument can only be a number.
|
||||
upgradeaction-command-less-than-required-level = upgradeaction cannot accept a level of 0 or lower.
|
||||
upgradeaction-command-incorrect-entityuid-format = You must use a valid entityuid format for upgradeaction.
|
||||
upgradeaction-command-entity-does-not-exist = This entity does not exist, a valid entity is required for upgradeaction.
|
||||
upgradeaction-command-entity-is-not-action = This entity doesn't have the action upgrade component, so this action cannot be leveled.
|
||||
upgradeaction-command-cannot-level-up = The action cannot be leveled up.
|
||||
upgradeaction-command-description = Upgrades an action by one level, or to the specified level, if applicable.
|
||||
Reference in New Issue
Block a user