Prev: C3DC Up: Map Next: C418
C3EE: Barrel (object $13)
Barrel: object $13. It starts in elvenkings cellar. It is present, full. It has its own handling for CLIMB INTO, CLOSE, EMPTY, FILL WITH, JUMP ONTO, OPEN, PUT IN, 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.
BARREL C3EE DEFB $01 In 1 place
C3EF DEFB $FF Held by nothing
C3F0 DEFB $20 Size 32
C3F1 DEFB $03 Weight 3
C3F2 DEFB $00 Things are in it
C3F3 DEFB $20 Strength 32
C3F4 DEFB $20 Defence 32
C3F5 DEFB $84 Flags: present, full
C3F6 DEFB $84,$10 Its name: BARREL
C3F8 DEFB $00,$00 No adjective
C3FA DEFB $00,$00 No second adjective
C3FC DEFB $00,$00 No description of its own
BARREL_WHERE C3FE DEFB $20 In location 32, elvenkings cellar
C3FF DEFB $10 On OPEN (action $10)
C400 DEFW DO_OPEN
C402 DEFB $0C On CLOSE (action $0C)
C403 DEFW DO_CLOSE
C405 DEFB $11 On PUT IN (action $11)
C406 DEFW DO_PUT_IN
C408 DEFB $23 On FILL WITH (action $23)
C409 DEFW DO_FILL
C40B DEFB $22 On EMPTY (action $22)
C40C DEFW DO_EMPTY
C40E DEFB $38 On JUMP ONTO (action $38)
C40F DEFW JUMP_ONTO_BARREL
C411 DEFB $36 On CLIMB INTO (action $36)
C412 DEFW DO_CLIMB_INTO
C414 DEFB $0B On STRIKE WITH (action $0B)
C415 DEFW DO_STRIKE
C417 DEFB $FF End of its handlers
Prev: C3DC Up: Map Next: C418