Prev: C332 Up: Map Next: C366
C344: Goblins door (object $11)
Goblins door: object $11. It starts in big goblins cavern and goblins dungeon. It is present. It has its own handling for CLOSE, GO THROUGH, LOOK THROUGH, OPEN, 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.
GOBLINS_DOOR C344 DEFB $02 In 2 places
C345 DEFB $FF Held by nothing
C346 DEFB $FF Size 255: nothing can hold it
C347 DEFB $FF Weight 255: too heavy for anyone to lift
C348 DEFB $00 Things are in it
C349 DEFB $FF Strength 255
C34A DEFB $FF Defence 255
GOBLINS_DOOR_FLAGS C34B DEFB $80 Flags: present
C34C DEFB $C0,$01 Its name: DOOR
C34E DEFB $E8,$02 An adjective: GOBLINS
C350 DEFB $00,$00 No second adjective
C352 DEFB $00,$00 No description of its own
C354 DEFB $10,$0D In locations 16, big goblins cavern; 13, goblins dungeon
C356 DEFB $10 On OPEN (action $10)
C357 DEFW GOBLINS_DOOR_OPENED
C359 DEFB $0C On CLOSE (action $0C)
C35A DEFW DO_CLOSE
C35C DEFB $1E On GO THROUGH (action $1E)
C35D DEFW GO_THROUGH
C35F DEFB $18 On LOOK THROUGH (action $18)
C360 DEFW LOOK_THROUGH
C362 DEFB $2C On THROW THROUGH (action $2C)
C363 DEFW THROW_THROUGH
C365 DEFB $FF End of its handlers
Prev: C332 Up: Map Next: C366