Prev: 59454 Up: Map Next: 59661
59502: Data: Item Groups
For each object in Table_TokenItemList, in the same order: the items it may refer to, ending with 255. Numbers with bit 7 set are scenic events (Table_ScenicEventLocations): 128 is event 0 and so on. The pointers at Table_ItemGrouping say where each group starts.
Parser_CheckObjectIsHere takes an object the player named and checks each item in its group with ValidateItemPresent; if none of them is here or carried it prints "I can't see ... here." with the name from Table_ObjectNounPhrases. Many actions also point HL straight at a group and call CheckActiveScenicEvents to find out which of its items is present.
Data_ItemGroup_Match 59502 DEFB 2,3,255 Object 0 (a match): "A match" (2) or "A lighted match" (3). Also used directly by Action_Take and Action_DropThrow.
Data_ItemGroup_Plank 59505 DEFB 4,5,6,255 Object 1 (a plank): "A plank" (4), "A plank (spanning the pit)" (5) or "A plank (spanning the pit)" (6). Also used directly by Action_Take.
Data_ItemGroup_Coconut 59509 DEFB 7,255 Object 2 (a coconut): "A coconut" (7).
Data_ItemGroup_Rod 59511 DEFB 8,10,255 Object 3 (a rod): "A rod" (8) or "A hole with a rod inserted to the side of the door" (10).
Data_ItemGroup_Bottle 59514 DEFB 11,12,13,255 Object 4 (a bottle): "A bottle" (11), "A bottle of rum" (12) or "A bottle" (13). Also used directly by Action_Examine, Action_Take, Action_DropThrow and Action_Drink.
Data_ItemGroup_Rum 59518 DEFB 11,12,255 Object 5 (any rum): "A bottle" (11) or "A bottle of rum" (12).
Data_ItemGroup_Fruit 59521 DEFB 14,255 Object 6 (any fruit): "Some fruit" (14).
Data_ItemGroup_Gun 59523 DEFB 15,255 Object 7 (a gun): "A gun" (15).
Data_ItemGroup_Eyepatch 59525 DEFB 16,17,255 Object 8 (an eyepatch): "An eyepatch" (16) or "An eyepatch (worn)" (17). Also used directly by Action_Take and Action_DropThrow.
Data_ItemGroup_Gunpowder 59528 DEFB 18,20,255 Object 9 (any gunpowder): "A keg of gunpowder" (18) or "A crocodile (with the keg in its mouth)" (20). Also used directly by Action_Take.
Data_ItemGroup_Keg 59531 DEFB 18,20,255 Object 10 (a keg): "A keg of gunpowder" (18) or "A crocodile (with the keg in its mouth)" (20).
Data_ItemGroup_Shoe 59534 DEFB 21,255 Object 11 (a shoe): "A shoe" (21).
Data_ItemGroup_Sextant 59536 DEFB 22,255 Object 12 (a sextant): "A sextant" (22).
Data_ItemGroup_Watch 59538 DEFB 23,25,255 Object 13 (a watch): "A watch" (23) or "The distracted natives" (25).
Data_ItemGroup_Fish 59541 DEFB 27,28,255 Object 14 (a fish): "A strangely coloured fish" (27) or "A red herring" (28). Also used directly by Action_Take, Action_DropThrow and Action_Eat.
Data_ItemGroup_Jewels 59544 DEFB 29,255 Object 15 (any jewels): "The Jewels of Babylon" (29).
Data_ItemGroup_Crowbar 59546 DEFB 30,255 Object 16 (a crowbar): "A crowbar" (30).
Data_ItemGroup_Key 59548 DEFB 31,255 Object 17 (a key): "A key" (31).
Data_ItemGroup_Skull 59550 DEFB 32,255 Object 18 (a skull): "A human skull" (32).
Data_ItemGroup_Spear 59552 DEFB 24,26,255 Object 19 (a spear): "Surrounded by natives" (24) or "A spear" (26). Also used directly by Action_Take.
Data_ItemGroup_Ladder 59555 DEFB 0,1,255 Object 20 (a ladder): "A ladder leading down to a small rowing boat alongside" (0) or "You are alongside your ship. A ladder leads up to the deck" (1).
Data_ItemGroup_Boat 59558 DEFB 1,75,0,33,255 Object 21 (a boat): "You are alongside your ship. A ladder leads up to the deck" (1), "A rowing boat" (75), "A ladder leading down to a small rowing boat alongside" (0) or "You are at the island" (33).
Data_ItemGroup_Oars 59563 DEFB 0,1,33,255 Object 22 (any oars): "A ladder leading down to a small rowing boat alongside" (0), "You are alongside your ship. A ladder leads up to the deck" (1) or "You are at the island" (33).
Data_ItemGroup_Cannibals 59567 DEFB 24,25,255 Object 23 (any cannibals): "Surrounded by natives" (24) or "The distracted natives" (25).
Data_ItemGroup_Pirate 59570 DEFB 131,132,133,136,35,36,37,38 Object 24 (a pirate): a pirate (131), a pirate (132), a pirate (133), the pirate from the beach (136), "A dead pirate" (35), "A dead pirate" (36), "A dead pirate" (37), "A dead pirate" (38) or "A sleeping pirate" (34). Also used directly by Action_Kill.
59578 DEFB 34,255
Data_ItemGroup_Parrot 59580 DEFB 39,40,255 Object 25 (a parrot): "A parrot (alive)" (39) or "A dead parrot" (40). Also used directly by Action_Take.
Data_ItemGroup_Crab 59583 DEFB 41,255 Object 26 (a crab): "A giant crab" (41).
Data_ItemGroup_Crocodile 59585 DEFB 19,20,255 Object 27 (a crocodile): "A crocodile" (19) or "A crocodile (with the keg in its mouth)" (20). Also used directly by Event_Crocodile and ChangeRoom.
Data_ItemGroup_Lion 59588 DEFB 42,255 Object 28 (a lion): "A lion" (42).
Data_ItemGroup_Seagull 59590 DEFB 128,255 Object 29 (a seagull): the seagull (128).
Data_ItemGroup_Octopus 59592 DEFB 43,255 Object 30 (an octopus): "A giant octopus" (43).
Data_ItemGroup_Door 59594 DEFB 44,45,46,47,48,49,50,255 Object 31 (a door): "An open door" (44), "A closed door" (45), "A closed door" (46), "An open door" (47), "A closed door" (48), "The door is open" (49) or "The door is closed" (50). Also used directly by Action_Open and Action_Close.
Data_ItemGroup_Sailor 59602 DEFB 53,255 Object 32 (a sailor): "The body of a sailor" (53).
Data_ItemGroup_Snake 59604 DEFB 134,255 Object 33 (a snake): the water snake (134).
Data_ItemGroup_Spider 59606 DEFB 135,255 Object 34 (a spider): the spider (135).
Data_ItemGroup_Bridge 59608 DEFB 55,56,78,255 Object 35 (a bridge): "A makeshift bridge across the ravine" (55), "A makeshift bridge" (56) or the bridge at The Bridge (78).
Data_ItemGroup_Boulder 59612 DEFB 57,58,255 Object 36 (a boulder): "A boulder on the brink of a ledge" (57) or "A boulder" (58).
Data_ItemGroup_Ring 59615 DEFB 59,52,255 Object 37 (a ring): "A ring in the floor" (59) or "An open trapdoor" (52).
Data_ItemGroup_Trapdoor 59618 DEFB 52,255 Object 38 (a trapdoor): "An open trapdoor" (52).
Data_ItemGroup_Cave 59620 DEFB 73,60,61,62,255 Object 39 (a cave): the cave at The Harbour Beach (73), "A trail of slime" (60), the cave and its water in The Cave (61) or the cave in The Vast Cavern (62).
Data_ItemGroup_Pit 59625 DEFB 63,64,65,255 Object 40 (a pit): the pit (63), the pit (64) or the pit (65). Also used directly by Action_Help.
Data_ItemGroup_Ship 59629 DEFB 0,1,76,77,255 Object 41 (a ship): "A ladder leading down to a small rowing boat alongside" (0), "You are alongside your ship. A ladder leads up to the deck" (1), "A ship anchored offshore" (76) or "A ship anchored offshore" (77).
Data_ItemGroup_Hole 59634 DEFB 9,10,255 Object 42 (a hole): "A small round hole to the side of the door" (9) or "A hole with a rod inserted to the side of the door" (10).
Data_ItemGroup_Deer 59637 DEFB 130,255 Object 43 (a deer): the deer (130).
Data_ItemGroup_Body 59639 DEFB 35,36,37,38,40,53,255 Object 44 (a body): "A dead pirate" (35), "A dead pirate" (36), "A dead pirate" (37), "A dead pirate" (38), "A dead parrot" (40) or "The body of a sailor" (53).
Data_ItemGroup_Rat 59646 DEFB 129,255 Object 45 (a rat): the rat (129).
Data_ItemGroup_Stone 59648 DEFB 66,255 Object 46 (a stone): "A very large stone" (66).
Data_ItemGroup_Water 59650 DEFB 0,1,33,67,68,61,69,70 Object 47 (any water): "A ladder leading down to a small rowing boat alongside" (0), "You are alongside your ship. A ladder leads up to the deck" (1), "You are at the island" (33), the sea (67), the water in the rock pool (68), the cave and its water in The Cave (61), the water at the waterfall (69), the pool of water (70), the water in the gulley (71) or the water in the damp passage (72).
59658 DEFB 71,72,255
Prev: 59454 Up: Map Next: 59661