Changes

Jump to navigation Jump to search
→‎Built-in actions: + IncrementStat in 1.6.0 build 24044
Line 80: Line 80:  
| <samp>AddSpecialOrder {{t|order ID}}</samp><br /><samp>RemoveSpecialOrder {{t|order ID}}</samp>
 
| <samp>AddSpecialOrder {{t|order ID}}</samp><br /><samp>RemoveSpecialOrder {{t|order ID}}</samp>
 
| Add or remove a [[Modding:Special orders|special order]].
 
| Add or remove a [[Modding:Special orders|special order]].
 +
|-
 +
| <samp>IncrementStat {{t|stat key}} {{o|amount}}</samp>
 +
| Increment a stat value by the given amount (default 1) for the current player. This can be a vanilla stat key (see the <samp>PLAYER_STAT</samp> [[Modding:Game state queries|game state query]] for a list) or a custom stat key. The amount can be negative to decrement it.
 
|-
 
|-
 
| <samp>MarkActionApplied {{t|player}} {{t|answer ID}} {{o|applied}}</samp>
 
| <samp>MarkActionApplied {{t|player}} {{t|answer ID}} {{o|applied}}</samp>
translators
8,445

edits

Navigation menu