Scopes

Core.aslx defines various “scope” functions. Each of these will return an object list (possible empty). Scope functions that end “ForRoom” must be given a room as a parameter (other functions will default to the current room).

Exits

Commands

Reachable Objects

Quest makes a distinction between objects a player can reach and objects the player can see. Obviously with most objects, the player can do both, but this can be important in some situations.

Objects in a container are considered reachable if the container is open. If an item’s visible attribute is not set (i.e., it is false), or if the room is dark and the object is not a light source, then the object is not reachable.

Visible Objects

Objects in a container are considered visible if it is either open or transparent (or both). If an item’s visible attribute is not set (i.e., it is false), or if the room is dark and the object is not a light source, then the object is not visible.

Rooms

As of Quest 5.8, you can get a list of rooms (more specifically, objects with “isroon” set to true).

Others