Line 327: |
Line 327: |
| |- | | |- |
| | <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: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> |
Line 579: |
Line 579: |
| |- | | |- |
| | <samp>ITEM_ID {{t|target}} {{t|item ID}}+</samp> | | | <samp>ITEM_ID {{t|target}} {{t|item ID}}+</samp> |
− | | Whether the item has one of the given [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified or unqualified item IDs]]. | + | | Whether the item has one of the given [[Modding:Common data field types#Item ID|qualified or unqualified item IDs]]. |
| |- | | |- |
| | <samp>ITEM_ID_PREFIX {{t|target}} {{t|prefix}}</samp> | | | <samp>ITEM_ID_PREFIX {{t|target}} {{t|prefix}}</samp> |
− | | Whether the item's [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified or unqualified item ID]] starts with the given prefix. | + | | Whether the item's [[Modding:Common data field types#Item ID|qualified or unqualified item ID]] starts with the given prefix. |
| |- | | |- |
| | <samp>ITEM_NUMERIC_ID {{t|target}} {{o|min}} {{o|max}}</samp> | | | <samp>ITEM_NUMERIC_ID {{t|target}} {{o|min}} {{o|max}}</samp> |
− | | Whether the item has a numeric [[Modding:Migrate to Stardew Valley 1.6#Custom items|unqualified item ID]] which is between {{o|min}} and {{o|max}} (both defaulting to the lowest and highest possible value). | + | | Whether the item has a numeric [[Modding:Common data field types#Item ID|unqualified item ID]] which is between {{o|min}} and {{o|max}} (both defaulting to the lowest and highest possible value). |
| |- | | |- |
| | <samp>ITEM_OBJECT_TYPE {{t|target}} {{t|type}}+</samp> | | | <samp>ITEM_OBJECT_TYPE {{t|target}} {{t|type}}+</samp> |
Line 600: |
Line 600: |
| |- | | |- |
| | <samp>ITEM_TYPE {{t|target}} {{t|type}}+</samp> | | | <samp>ITEM_TYPE {{t|target}} {{t|type}}+</samp> |
− | | Whether the [[Modding:Migrate to Stardew Valley 1.6#Custom items|item's type definition ID]] matches one of the given values. For example, <samp>ITEM_TYPE Target (BC)</samp> matches bigcraftables. | + | | Whether the [[Modding:Common data field types#Item ID|item's type definition ID]] matches one of the given values. For example, <samp>ITEM_TYPE Target (BC)</samp> matches bigcraftables. |
| |- | | |- |
| | <samp>ITEM_HAS_EXPLICIT_OBJECT_CATEGORY {{t|target}}</samp> | | | <samp>ITEM_HAS_EXPLICIT_OBJECT_CATEGORY {{t|target}}</samp> |