Prev: C57F Up: Map Next: C5B8
C597: Large cupboard (object $21)
Large cupboard: object $21. It starts in beorns house, held by wall. It is present. It has its own handling for CLOSE, OPEN, PUT IN, STRIKE WITH, TAKE OUT OF.
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.
LARGE_CUPBOARD C597 DEFB $01 In 1 place
C598 DEFB $24 Held by wall (WALL)
C599 DEFB $FF Size 255: nothing can hold it
C59A DEFB $FF Weight 255: too heavy for anyone to lift
C59B DEFB $00 Things are in it
C59C DEFB $00 Strength 0
C59D DEFB $00 Defence 0
C59E DEFB $80 Flags: present
C59F DEFB $5B,$11 Its name: CUPBOARD
C5A1 DEFB $BF,$03 An adjective: LARGE
C5A3 DEFB $00,$00 No second adjective
C5A5 DEFB $00,$00 No description of its own
C5A7 DEFB $16 In location 22, beorns house
C5A8 DEFB $10 On OPEN (action $10)
C5A9 DEFW DO_OPEN
C5AB DEFB $0C On CLOSE (action $0C)
C5AC DEFW DO_CLOSE
C5AE DEFB $11 On PUT IN (action $11)
C5AF DEFW DO_PUT_IN
C5B1 DEFB $14 On TAKE OUT OF (action $14)
C5B2 DEFW DO_TAKE_OUT
C5B4 DEFB $0B On STRIKE WITH (action $0B)
C5B5 DEFW DO_STRIKE
C5B7 DEFB $FF End of its handlers
Prev: C57F Up: Map Next: C5B8