Prev: C145 Up: Map Next: C19B
C170: Heavy rock door (object $01)
Heavy rock door: object $01. It starts in trolls cave and trolls path. It is present, locked. It has its own handling for CLOSE, GO THROUGH, LOCK WITH, LOOK THROUGH, OPEN, STRIKE WITH, THROW THROUGH, UNLOCK 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.
HEAVY_ROCK_DOOR C170 DEFB $02 In 2 places
C171 DEFB $FF Held by nothing
C172 DEFB $FF Size 255: nothing can hold it
C173 DEFB $FF Weight 255: too heavy for anyone to lift
C174 DEFB $00 Things are in it
C175 DEFB $00 Strength 0
C176 DEFB $90 Defence 144
C177 DEFB $81 Flags: present, locked
C178 DEFB $C0,$01 Its name: DOOR
C17A DEFB $27,$03 An adjective: HEAVY
C17C DEFB $53,$05 Another: ROCK
C17E DEFB $00,$00 No description of its own
C180 DEFB $07,$06 In locations 7, trolls cave; 6, trolls path
C182 DEFB $0B On STRIKE WITH (action $0B)
C183 DEFW DO_STRIKE
C185 DEFB $0C On CLOSE (action $0C)
C186 DEFW DO_CLOSE
C188 DEFB $10 On OPEN (action $10)
C189 DEFW DO_OPEN
C18B DEFB $18 On LOOK THROUGH (action $18)
C18C DEFW LOOK_THROUGH
C18E DEFB $1E On GO THROUGH (action $1E)
C18F DEFW GO_THROUGH
C191 DEFB $25 On LOCK WITH (action $25)
C192 DEFW ROCK_DOOR_KEY
C194 DEFB $26 On UNLOCK WITH (action $26)
C195 DEFW ROCK_DOOR_KEY
C197 DEFB $2C On THROW THROUGH (action $2C)
C198 DEFW THROW_THROUGH
C19A DEFB $FF End of its handlers
Prev: C145 Up: Map Next: C19B