Location Functions
From ADRIFT 5 Manual Wiki
The properties of locations can be listed by typing a dot (full-stop ".") immediately after the location reference "%location%", a location key, or a function that returns a location key, in a text box or expression.
Scroll down to the wanted property and click on it to insert the property key into the function.
- Note that properties that are not relevant to a particular location will be ommited from the list.
- Properties that you create for locations will be added to this list.
- If you type part of the name of the property then the list will be reduced to show only those that match.
- Instead of clicking with the mouse you can type enough of the properties name to bring it to the top of the list and press enter or tab.
- Exits (Exits) - Exits from this location
- exits.list - List available exits from this location (those not blocked by a restriction)
- exits.count - The number of available exits from this location
- Long location description (LongLocationDescription) - The full description of the location
- Short location description (ShortLocationDescription) - The name of the location
- Objects (Objects) - The dynamic objects at this location
- Objects.list - Lists the objects at this location
- Objects.count - The number of objects at this location