Line 1: |
Line 1: |
− | {{upcoming|1.6}}
| |
− |
| |
| ← [[Modding:Index|Index]] | | ← [[Modding:Index|Index]] |
| | | |
Line 189: |
Line 187: |
| | <samp>LOCATION_CONTEXT {{t|location}} {{t|context ID}}+</samp> | | | <samp>LOCATION_CONTEXT {{t|location}} {{t|context ID}}+</samp> |
| | The location context ID for the [[#Target location|given location]]. | | | The location context ID for the [[#Target location|given location]]. |
| + | |- |
| + | | <samp>LOCATION_HAS_CUSTOM_FIELD {{t|location}} {{t|key}} {{o|value}}</samp> |
| + | | Checks to see if the location has a given value in its CustomFields. If the value is omitted, checks to see if the key exists at all. |
| |- | | |- |
| | <samp>LOCATION_IS_INDOORS {{t|location}}</samp><br /><samp>LOCATION_IS_OUTDOORS {{t|location}}</samp><br /><samp>LOCATION_IS_MINES {{t|location}}</samp><br /><samp>LOCATION_IS_SKULL_CAVE {{t|location}}</samp> | | | <samp>LOCATION_IS_INDOORS {{t|location}}</samp><br /><samp>LOCATION_IS_OUTDOORS {{t|location}}</samp><br /><samp>LOCATION_IS_MINES {{t|location}}</samp><br /><samp>LOCATION_IS_SKULL_CAVE {{t|location}}</samp> |
Line 363: |
Line 364: |
| | Whether the [[#Target player|specified player(s)]] have earned between {{t|min}} and {{o|max}} (default unlimited) gold inclusively. | | | Whether the [[#Target player|specified player(s)]] have earned between {{t|min}} and {{o|max}} (default unlimited) gold inclusively. |
| |- | | |- |
− | | <samp>PLAYER_MONSTERS_KILLED {{t|player}} {{t|monster name}}+ {{o|min count}} {{o|max count}}</samp> | + | | <samp>PLAYER_KILLED_MONSTERS {{t|player}} {{t|monster name}}+ {{o|min count}} {{o|max count}}</samp> |
| | Whether the [[#Target player|specified player(s)]] have killed the given monster(s) between {{o|min count}} (default 1) and {{o|max count}} (default unlimited) times inclusively. If you list multiple monsters, it'll check the combined count for all of them. | | | Whether the [[#Target player|specified player(s)]] have killed the given monster(s) between {{o|min count}} (default 1) and {{o|max count}} (default unlimited) times inclusively. If you list multiple monsters, it'll check the combined count for all of them. |
| | | |
Line 595: |
Line 596: |
| |- | | |- |
| | <samp>ITEM_PRICE {{t|target}} {{t|min}} {{o|max}}</samp> | | | <samp>ITEM_PRICE {{t|target}} {{t|min}} {{o|max}}</samp> |
− | | Whether the item has a sell-to-shop price between {{t|min}} and {{o|max}} (default highest possible value). | + | | Whether the item has a purchase-from-shop price between {{t|min}} and {{o|max}} (default highest possible value). |
| |- | | |- |
| | <samp>ITEM_QUALITY {{t|target}} {{t|min}} {{o|max}}</samp> | | | <samp>ITEM_QUALITY {{t|target}} {{t|min}} {{o|max}}</samp> |