feature/resourceRefactor
- Rename powers
costfield toresources - Implement a new syntax for the automatic manipulation of resources via powers:
- For numeric resources (command points, ki, custom resources):
-
+N resourcenameto increase the resource value -
-N resourcenameto decrease the resource value (asks confirmation if<=0) -
N resourcenameto override the resource value
-
- For binary/flag resources (momentum, focus, custom resources):
-
+resourcenameto set the resource value -
-resourcenameto unset the resource value (asks confirmation if already unset) -
resourcenameto test the resource value (asks confirmation if unset)
-
- Note: Custom resources always display as numeric but can be treated as flags (0=false, 1=true, useful for math in inline rolls)
- For numeric resources (command points, ki, custom resources):
- Support handling multiple (comma-separated) resources in resources field
- Support resource name localization
- Support inline rolls in resources field
- Support recoveries as a resource in resources field
- Support compendium links in
rollTablefield - Support altering most outcomes of item usage in embedded macros
- Add support for the new
Combat Rhythmresource (!291 (merged)) - Add automatic command points updates to the
Fight from the FrontandWeigh the Oddspowers - Add migration to move legacy powers cost field to new field and syntax
- Add new syntax to in-game documentation
- Update system powers to use new field and syntax
Edited by LegoFed3