Prev: C366 Up: Map Next: C3A0
C381: Magic door (object $0D)
Magic door: object $0D. It starts in elvenkings great halls and levelled elvish clearing. It is present. It has its own handling for EXAMINE, GO THROUGH, LOOK THROUGH, THROW THROUGH.
A record is a 16-byte head -- where it is, what holds it, its size, weight, strength and defence, its flags, its name and its description -- then the places it is in, then its own handlers, ending at $FF. OBJECT_INDEX describes each field.
MAGIC_DOOR C381 DEFB $02 In 2 places
C382 DEFB $FF Held by nothing
C383 DEFB $FF Size 255: nothing can hold it
C384 DEFB $FF Weight 255: too heavy for anyone to lift
C385 DEFB $00 Things are in it
C386 DEFB $FF Strength 255
C387 DEFB $FF Defence 255
MAGIC_DOOR_FLAGS C388 DEFB $80 Flags: present
C389 DEFB $C0,$01 Its name: DOOR
C38B DEFB $24,$04 An adjective: MAGIC
C38D DEFB $00,$00 No second adjective
C38F DEFB $00,$00 No description of its own
C391 DEFB $1E,$1C In locations 30, elvenkings great halls; 28, levelled elvish clearing
C393 DEFB $1E On GO THROUGH (action $1E)
C394 DEFW GO_THROUGH
C396 DEFB $18 On LOOK THROUGH (action $18)
C397 DEFW LOOK_THROUGH
C399 DEFB $2C On THROW THROUGH (action $2C)
C39A DEFW THROW_THROUGH
C39C DEFB $1C On EXAMINE (action $1C)
C39D DEFW MAGIC_DOOR_EXAMINED
C39F DEFB $FF End of its handlers
Prev: C366 Up: Map Next: C3A0