![]() |
Data |
| Prev: C54C | Up: Map | Next: C57F |
|
Goblins cache: object $1F. It starts in goblins dungeon, held by trap door. It is present, open, or can be seen into. It has its own handling for PUT IN, 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.
|
||||
| GOBLINS_CACHE | C567 | DEFB $01 | In 1 place | |
| C568 | DEFB $1E | Held by trap door (TRAP_DOOR) | ||
| C569 | DEFB $FF | Size 255: nothing can hold it | ||
| C56A | DEFB $FF | Weight 255: too heavy for anyone to lift | ||
| C56B | DEFB $00 | Things are in it | ||
| C56C | DEFB $00 | Strength 0 | ||
| C56D | DEFB $00 | Defence 0 | ||
| C56E | DEFB $A0 | Flags: present, open, or can be seen into | ||
| C56F | DEFB $E2,$00 | Its name: CACHE | ||
| C571 | DEFB $E8,$02 | An adjective: GOBLINS | ||
| C573 | DEFB $00,$00 | No second adjective | ||
| C575 | DEFB $00,$00 | No description of its own | ||
| C577 | DEFB $0D | In location 13, goblins dungeon | ||
| C578 | DEFB $11 | On PUT IN (action $11) | ||
| C579 | DEFW DO_PUT_IN | |||
| C57B | DEFB $14 | On TAKE OUT OF (action $14) | ||
| C57C | DEFW DO_TAKE_OUT | |||
| C57E | DEFB $FF | End of its handlers | ||
| Prev: C54C | Up: Map | Next: C57F |