Line 296: |
Line 296: |
| | Whether the [[#Target player|specified player(s)]] have a [[Modding:Dialogue#Conversation topics|conversation topic]] with the ID {{t|id}} active. | | | Whether the [[#Target player|specified player(s)]] have a [[Modding:Dialogue#Conversation topics|conversation topic]] with the ID {{t|id}} active. |
| |- | | |- |
− | | <samp>PLAYER_HAS_CRAFTING_RECIPE {{t|player}} {{t|recipe name}}</samp><br /><samp>PLAYER_HAS_COOKING_RECIPE {{t|player}} {{t|recipe name}}</samp> | + | | <samp>PLAYER_HAS_COOKING_RECIPE {{t|player}} {{t|recipe name}}</samp><br /><samp>PLAYER_HAS_CRAFTING_RECIPE {{t|player}} {{t|recipe name}}</samp> |
| | Whether the [[#Target player|specified player(s)]] know the crafting/cooking recipe identified by its internal name (spaces allowed). For example, <code>PLAYER_HAS_CRAFTING_RECIPE Current Field Snack</code>. | | | Whether the [[#Target player|specified player(s)]] know the crafting/cooking recipe identified by its internal name (spaces allowed). For example, <code>PLAYER_HAS_CRAFTING_RECIPE Current Field Snack</code>. |
| |- | | |- |
| | <samp>PLAYER_HAS_DIALOGUE_ANSWER {{t|player}} {{t|id}}</samp> | | | <samp>PLAYER_HAS_DIALOGUE_ANSWER {{t|player}} {{t|id}}</samp> |
| | Whether the [[#Target player|specified player(s)]] have chosen the given dialogue answer in a previous dialogue. | | | Whether the [[#Target player|specified player(s)]] have chosen the given dialogue answer in a previous dialogue. |
| + | |- |
| + | | <samp>PLAYER_HAS_HEARD_SONG {{t|player}} {{t|id}}</samp> |
| + | | Whether the [[#Target player|specified player(s)]] have heard a song track's cue name (e.g. for the [[jukebox]] track selection). |
| + | |- |
| + | | <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:Common data field types#Item ID|qualified or unqualified item ID]]. |
| |- | | |- |
| | <samp>PLAYER_HAS_MAIL {{t|player}} {{t|mail id}} {{o|type}}</samp> | | | <samp>PLAYER_HAS_MAIL {{t|player}} {{t|mail id}} {{o|type}}</samp> |
Line 325: |
Line 331: |
| * or has no letter in <samp>Data/mail</samp>, so it was added to the received list directly. | | * or has no letter in <samp>Data/mail</samp>, so it was added to the received list directly. |
| |} | | |} |
− | |-
| |
− | | <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:Common data field types#Item ID|qualified or unqualified item ID]].
| |
| |- | | |- |
| | <samp>PLAYER_HAS_PROFESSION {{t|player}} {{t|profession id}}</samp> | | | <samp>PLAYER_HAS_PROFESSION {{t|player}} {{t|profession id}}</samp> |