Line 5,362: |
Line 5,362: |
| |- | | |- |
| | <samp>Here</samp> | | | <samp>Here</samp> |
− | | The current player's location (regardless of the [[#Target player|target player]]). | + | | The location containing the current player (regardless of the [[#Target player|target player]]). |
| |- | | |- |
| | <samp>Target</samp> | | | <samp>Target</samp> |
− | | This value depends on the context: | + | | The location containing the in-game entity being edited (e.g. the machine for <samp>Data/Machines</samp> or fruit tree for <samp>Data/FruitTrees</samp>). |
− | {| class="wikitable"
| + | |
− | |-
| + | If the asset being edited isn't tied to a location, this is the location of the [[#Target player|target player]] (if set), else equivalent to <samp>Here</samp>. |
− | ! context
| |
− | ! effect
| |
− | |-
| |
− | | <samp>Data/Machines</samp>
| |
− | | The location containing the machine.
| |
− | |-
| |
− | | ''custom queries''
| |
− | | C# mods may specify a <samp>target_location</samp> parameter when calling <samp>GameStateQuery.CheckConditions</samp>.
| |
− | |-
| |
− | | ''any other''
| |
− | | If the [[#Target player|player <samp>Target</samp>]] is set, that player's location. Otherwise equivalent to <samp>Here</samp>.
| |
− | |}
| |
| |- | | |- |
| | ''any other'' | | | ''any other'' |