Prev: C4EA Up: Map Next: C521
C4FF: Window (object $1B)
Window: object $1B. It starts in goblins dungeon and dark winding passage. It is present. It has its own handling for CLOSE, GO THROUGH, LOOK THROUGH, OPEN, STRIKE WITH.
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.
WINDOW C4FF DEFB $02 In 2 places
C500 DEFB $FF Held by nothing
C501 DEFB $60 Size 96
C502 DEFB $FF Weight 255: too heavy for anyone to lift
C503 DEFB $80 Things are in it; the window's bit 7
C504 DEFB $70 Strength 112
C505 DEFB $70 Defence 112
C506 DEFB $80 Flags: present
C507 DEFB $8C,$07 Its name: WINDOW
C509 DEFB $00,$00 No adjective
C50B DEFB $00,$00 No second adjective
C50D DEFB $00,$00 No description of its own
C50F DEFB $0D,$12 In locations 13, goblins dungeon; 18, dark winding passage
C511 DEFB $1E On GO THROUGH (action $1E)
C512 DEFW WINDOW_OTHERS
C514 DEFB $0B On STRIKE WITH (action $0B)
C515 DEFW WINDOW_OTHERS
C517 DEFB $10 On OPEN (action $10)
C518 DEFW WINDOW_OPEN_CLOSE
C51A DEFB $0C On CLOSE (action $0C)
C51B DEFW WINDOW_OPEN_CLOSE
C51D DEFB $18 On LOOK THROUGH (action $18)
C51E DEFW WINDOW_OTHERS
C520 DEFB $FF End of its handlers
Prev: C4EA Up: Map Next: C521