Changes

→‎Game state query changes: + more queries allow multiple values
Line 84: Line 84:     
===[[Modding:Game state queries|Game state query]] changes===
 
===[[Modding:Game state queries|Game state query]] changes===
1.6.9 adds one new game state query:
+
<ul>
 +
<li>1.6.9 adds some new game state queries:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 104: Line 105:  
| <samp>PLAYER_HAS_TRINKET {{t|player}}+ {{t|trinket ID}}+</samp>
 
| <samp>PLAYER_HAS_TRINKET {{t|player}}+ {{t|trinket ID}}+</samp>
 
| Whether the [[#Target player|specified player(s)]] have one of the listed [[trinkets]] equipped. Each ID can be a qualified or unqualified item ID.
 
| Whether the [[#Target player|specified player(s)]] have one of the listed [[trinkets]] equipped. Each ID can be a qualified or unqualified item ID.
|}
+
|}</li>
 +
<li>You can now check multiple values in more queries, like <code>PLAYER_HAS_CAUGHT_FISH Current 128 139</code> for pufferfish ''or'' salmon. This affects <samp>PLAYER_HAS_BUFF</samp>, <samp>PLAYER_HAS_CAUGHT_FISH</samp>, <samp>PLAYER_HAS_CONVERSATION_TOPIC</samp>, <samp>PLAYER_HAS_DIALOGUE_ANSWER</samp>, <samp>PLAYER_HAS_HEARD_SONG</samp>, <samp>PLAYER_HAS_RUN_TRIGGER_ACTION</samp>, <samp>PLAYER_HAS_SEEN_EVENT</samp>, <samp>PLAYER_SPECIAL_ORDER_ACTIVE</samp>, <samp>PLAYER_SPECIAL_ORDER_RULE_ACTIVE</samp>, and <samp>PLAYER_SPECIAL_ORDER_COMPLETE</samp>.</li>
 +
</ul>
    
===[[Modding:Console commands|Debug command]] changes===
 
===[[Modding:Console commands|Debug command]] changes===
manager
8,549

edits