Changes

Jump to navigation Jump to search
→‎Player info & progress: update for 1.6.0 build 23353 (added PLAYER_HAS_MAIL_RECEIVED)
Line 301: Line 301:  
| <samp>PLAYER_HAS_FLAG {{t|player}} {{t|id}}</samp>
 
| <samp>PLAYER_HAS_FLAG {{t|player}} {{t|id}}</samp>
 
| Whether the [[#Target player|specified player(s)]] have the given [[Modding:Mail data|mail flag]] set (with spaces allowed in the {{t|id}}). This checks the mailbox, tomorrow's mail, and mail received.
 
| Whether the [[#Target player|specified player(s)]] have the given [[Modding:Mail data|mail flag]] set (with spaces allowed in the {{t|id}}). This checks the mailbox, tomorrow's mail, and mail received.
 +
 +
See also <samp>PLAYER_HAS_MAIL_RECEIVED</samp>, which only checks mail received.
 
|-
 
|-
 
| <samp>PLAYER_HAS_ITEM {{t|player}} {{t|item}} {{o|min}} {{o|max}}</samp>
 
| <samp>PLAYER_HAS_ITEM {{t|player}} {{t|item}} {{o|min}} {{o|max}}</samp>
 
| Whether the [[#Target player|specified player(s)]] have between {{o|min}} and {{o|max}} (default unlimited) matching items in their inventory, inclusively. The {{t|item}} can be <samp>858</samp> or <samp>(O)858</samp> (Qi Gems), <samp>73</samp> or <samp>(O)73</samp> (Walnuts), or the [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified or unqualified item ID]].
 
| Whether the [[#Target player|specified player(s)]] have between {{o|min}} and {{o|max}} (default unlimited) matching items in their inventory, inclusively. The {{t|item}} can be <samp>858</samp> or <samp>(O)858</samp> (Qi Gems), <samp>73</samp> or <samp>(O)73</samp> (Walnuts), or the [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified or unqualified item ID]].
 +
|-
 +
| <samp>PLAYER_HAS_MAIL_RECEIVED {{t|player}} {{t|id}}</samp>
 +
| Whether the [[#Target player|specified player(s)]] have the given [[Modding:Mail data|mail flag]] in their mail-received list.
 +
 +
See also <samp>PLAYER_HAS_FLAG</samp>, which also checks mail in the player's mailbox and tomorrow's mail.
 
|-
 
|-
 
| <samp>PLAYER_HAS_PROFESSION {{t|player}} {{t|profession id}}</samp>
 
| <samp>PLAYER_HAS_PROFESSION {{t|player}} {{t|profession id}}</samp>
translators
8,437

edits

Navigation menu