Difference between revisions of "DSB/Special Values"
From DmWiki
Jump to navigationJump to search (first pass at dsb special location values) |
(No difference)
|
Latest revision as of 02:48, 7 January 2024
Special values are used to refer to locations that are not standard places in the dungeon. They replace the level part of the location
- PARTY generically associated with the player party. Not used for item locations as such, but often associated with spell effects.
- IN_OBJ where one object is located in another. May be either carried by a monster, or inside a container.
- CHARACTER in a specific character's inventory.
- MOUSE_HAND held by the mouse pointer.
- LIMBO existing, but not anywhere in particular.
For IN_OBJ and CHARACTER locations, x becomes the specific inst or character ID, y becomes the slot with the object/character.
VARIABLE is often used as the slot value for putting items wherever is first available.