Note that properties and attributes (flags) are declared implicitly
in OBJECT definitions. They have no explicit
definitions in the ZIL source to link to.
Properties
#9 |
ACTION |
rtn | |
#8 |
ADJECTIVE |
adjs | |
#16 |
ADVFCN |
rtn | If a room has this property, it’s called when the ADVENTURER enters. For an object, it’s called when the ADVENTURER sees it and tries to pick it up. |
#10 |
CAPACITY |
int | |
#12 |
CONTFCN |
rtn | |
#4 |
COUNT |
int | For spell objects, tells how many times you have the spell memorized. For rooms, distinguishes the four mirror rooms. |
#18 |
DESCFCN |
rtn | |
#22 |
DOWN |
dir | |
#29 |
EAST |
dir | |
#15 |
FDESC |
str | |
#17 |
GLOBAL |
objs | |
#21 |
IN |
dir | |
#14 |
LDESC |
str | |
#3 |
MUNGDESC |
str | A few rooms have a different description when ruined. This is it. |
#30 |
NE |
dir | |
#31 |
NORTH |
dir | |
#24 |
NW |
dir | |
#20 |
OUT |
dir | |
#6 |
POINT |
mazepoint | |
#13 |
PSEUDO |
wordrtns | |
#28 |
SE |
dir | |
#11 |
SIZE |
int | |
#27 |
SOUTH |
dir | |
#26 |
SW |
dir | |
#19 |
SYNONYM |
words | |
#7 |
TEXT |
str | |
#5 |
TMAZE |
tmaze | For each maze room, this property is a list of eight entries (one per compass direction). Each entry says which room is in that direction, and whether the exit is open (1) or closed (0). The open/closed flags change as you wield the PENCIL. The room values do not. |
#23 |
UP |
dir | |
#25 |
WEST |
dir |
Attributes
#28 |
BURNBIT |
flag | Set for objects which the player can This is different from LIGHTBIT, objects which the player can |
#26 |
CLIMBBIT |
flag | |
#21 |
CONTBIT |
flag | |
#24 |
DOORBIT |
flag | |
#27 |
FLAMEBIT |
flag | Most Infocom games use this to indicate objects which are on fire. However, Enchanter does not use |
#16 |
INVISIBLE |
flag | |
#22 |
LIGHTBIT |
flag | This indicates objects which can be switched on and off. When on, they will also have ONBIT. ( Outdoor rooms, and rooms which can see the sky, also have |
#1 |
LOCKEDBIT |
flag | |
#7 |
NDESCBIT |
flag | |
#8 |
ONBIT |
flag | Set for glowing objects and permanently-illuminated rooms. Compare LIGHTBIT. |
#12 |
OPENBIT |
flag | |
#6 |
POINTBIT |
flag | Set for the nine point objects on the TMAP. |
#18 |
READBIT |
flag | |
#25 |
RLANDBIT |
flag | Indicates rooms; but also used as a hack in grammar lines, where it means the object is optional (but the preposition before it is required). This allows the parser to accept commands like LOOK AROUND. |
#17 |
RMUNGBIT |
flag | Indicates ruined objects and rooms. |
#3 |
SCROLLBIT |
flag | Set for scrolls, naturally. (Compare SPELLBIT.) |
#11 |
SEARCHBIT |
flag | |
#4 |
SPELLBIT |
flag | Set for spell objects, naturally. (Compare SCROLLBIT.) |
#14 |
SURFACEBIT |
flag | |
#19 |
TAKEBIT |
flag | |
#23 |
TOOLBIT |
flag | |
#15 |
TOUCHBIT |
flag | |
#10 |
TRANSBIT |
flag | |
#2 |
TREASURE |
flag | Set for obviously valuable objects. You don’t care, but the ADVENTURER does. |
#13 |
TRYTAKEBIT |
flag | |
#29 |
VEHBIT |
flag | |
#20 |
VICBIT |
flag | Generally set for living beings, though not the PLAYER. The MAGIC-ROPE and the MIRROR have it as well. This is almost the same as VILLAIN, but some verbs use VILLAIN and some |
#5 |
VICTIM |
flag | |
#31 |
VILLAIN |
flag | |
#9 |
VOWELBIT |
flag | |
#30 |
WEAPONBIT |
flag |