-+-+-+-+-+-+-+-+ START OF PART 74 -+-+-+-+-+-+-+-+ X 0,`09 0,`095, 1, 5,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"& Human Skeleton"`09`09,0x00000000L,`09 TV_MISC, 's',`09/*337*/ X 0,`09 0,`097, 1, 50,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& Dwarf Skeleton"`09`09,0x00000000L,`09 TV_MISC, 's',`09/*338*/ X 0,`09 0,`098, 1, 60,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& Elf Skeleton"`09`09,0x00000000L,`09 TV_MISC, 's',`09/*339*/ X 0,`09 0,`099, 1, 40,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& Gnome Skeleton"`09`09,0x00000000L,`09 TV_MISC, 's',`09/*340*/ X 0,`09 0,`0910, 1, 25,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& broken set of teeth"`09,0x00000000L,`09 TV_MISC, 's',`09/*341*/ X 0,`09 0,`0911, 1, 3,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"& large broken bone"`09`09,0x00000000L,`09 TV_MISC, 's',`09/*342*/ X 0,`09 0,`0912, 1, 2,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"& broken stick"`09`09,0x00000000L,`09 TV_MISC, '`7E',`09/*343*/ X 0,`09 0,`0913, 1, 3,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X/* end of Dungeon items */ X/* Store items, which are not also dungeon items, some of these can be X found above, except that the number is >1 below */ X`7B"& Ration`7E of Food"`09`09,0x00000000L,`09TV_FOOD, ',',`09/*344*/ X 5000,`09 3,`0990, 5, 10,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"& Hard Biscuit`7E"`09`09,0x00000000L,`09TV_FOOD, ',',`09/*345*/ X 500,`09 1,`0993, 5, 2,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"& Strip`7E of Beef Jerky"`09,0x00000000L,`09TV_FOOD, ',',`09/*346*/ X 1750,`09 2,`0994, 5, 2,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"& Pint`7E of Fine Ale"`09`09,0x00000000L,`09TV_FOOD, ',',`09/*347*/ X 500,`09 1,`0995, 3, 10,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"& Pint`7E of Fine Wine"`09`09,0x00000000L,`09TV_FOOD, ',',`09/*348*/ X 400,`09 2,`0996, 1, 10,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"& Pick"`09`09`09,0x20000000L,`09TV_DIGGING, '\\',/*349*/ X 1,`09 50,`091, 1, 150,`090, 0,`09 0, 0, `7B1,3`7D`09, 0`7D, X`7B"& Shovel"`09`09`09,0x20000000L,`09TV_DIGGING, '\\',/*350*/ X 0,`09 15,`094, 1, 60,`090, 0,`09 0, 0, `7B1,2`7D`09, 0`7D, X`7B"Identify"`09`09`09,0x00000008L,`09TV_SCROLL1, '?',/*351*/ X 0,`09 50, 67, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Light"`09`09`09,0x00000020L,`09TV_SCROLL1, '?',/*352*/ X 0,`09 15, 69, 3, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Phase Door"`09`09`09,0x00000080L,`09TV_SCROLL1, '?',/*353*/ X 0,`09 15, 71, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Magic Mapping"`09`09,0x00000800L,`09TV_SCROLL1, '?',/*354*/ X 0,`09 40, 75, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Treasure Detection"`09`09,0x00004000L,`09TV_SCROLL1, '?',/*355*/ X 0,`09 15, 78, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Object Detection"`09`09,0x00008000L,`09TV_SCROLL1, '?',/*356*/ X 0,`09 15, 79, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Detect Invisible"`09`09,0x00080000L,`09TV_SCROLL1, '?',/*357*/ X 0,`09 15, 83, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Blessing"`09`09`09,0x00000020L,`09TV_SCROLL2, '?',/*358*/ X 0,`09 15, 99, 2, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Word-of-Recall"`09`09,0x00000100L,`09TV_SCROLL2, '?',/*359*/ X 0,`09 150, 102, 3, 5,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Cure Light Wounds"`09`09,0x10001000L,`09TV_POTION1, '!',/*360*/ X 50,`09 15, 79, 2, 4,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"Heroism"`09`09`09,0x00000010L,`09TV_POTION2, '!',/*361*/ X 0,`09 35, 98, 2, 4,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"Boldness"`09`09`09,0x00000040L,`09TV_POTION2, '!',/*362*/ X 0,`09 10, 100, 2, 4,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"Slow Poison"`09`09`09,0x00000800L,`09TV_POTION2, '!',/*363*/ X 0,`09 25, 105, 2, 4,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"& Brass Lantern`7E"`09`09,0x00000000L,`09TV_LIGHT, '`7E',`09/*364*/ X 7500,`09 35,`090, 1, 50,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& Wooden Torch`7E"`09`09,0x00000000L,`09TV_LIGHT, '`7E',`09/*365*/ X 4000,`09 2, 192, 5, 30,`090, 0,`09 0, 0, `7B1,1`7D`09, 1`7D, X`7B"& Flask`7E of oil"`09`09,0x00040000L,`09TV_FLASK, '!',`09/*366*/ X 7500,`09 3,`0964, 5, 10,`090, 0,`09 0, 0, `7B2,6`7D`09, 1`7D, X/* end store items */ X/* start doors */ X/* Secret door must have same subval as closed door in`09*/ X/* TRAP_LISTB.`09See CHANGE_TRAP. Must use & because of stone_to_mud. */ X`7B"& open door"`09`09`09,0x00000000L, TV_OPEN_DOOR, '\'', X 0,`09 0,`091, 1, 0,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"& closed door"`09`09,0x00000000L, TV_CLOSED_DOOR, '+', X 0,`09 0,`0919, 1, 0,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X#ifdef ATARI_ST X`7B"& secret door"`09`09,0x00000000L, TV_SECRET_DOOR, X (unsigned char)240, /* 369 */ X#else X`7B"& secret door"`09`09,0x00000000L, TV_SECRET_DOOR, '#',/* 369 */ X#endif X 0,`09 0,`0919, 1, 0,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X/* end doors */ X/* stairs */ X`7B"an up staircase "`09`09,0x00000000L, TV_UP_STAIR, '<',`09/* 370 */ X 0,`09 0,`091, 1, 0,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X`7B"a down staircase"`09`09,0x00000000L, TV_DOWN_STAIR, '>',/* 371 */ X 0,`09 0,`091, 1, 0,`090, 0,`09 0, 0, `7B1,1`7D`09, 0`7D, X/* store door */ X/* Stores are just special traps`09`09*/ X`7B"General Store"`09`09,0x00000000L, TV_STORE_DOOR, '1',/* 372 */ X 0,`09 0, 101, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Armory"`09`09`09,0x00000000L, TV_STORE_DOOR, '2', X 0,`09 0, 102, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Weapon Smiths"`09`09,0x00000000L, TV_STORE_DOOR, '3', X 0,`09 0, 103, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Temple"`09`09`09,0x00000000L, TV_STORE_DOOR, '4', X 0,`09 0, 104, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Alchemy Shop"`09`09`09,0x00000000L, TV_STORE_DOOR, '5', X 0,`09 0, 105, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B"Magic Shop"`09`09`09,0x00000000L, TV_STORE_DOOR, '6',/* 377 */ X 0,`09 0, 106, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X/* end store door */ X/* Traps are just Nasty treasures.`09`09`09`09*/ X/* Traps: Level represents the relative difficulty of disarming;`09*/ X/* and P1 represents the experienced gained when disarmed*/ X`7B"an open pit"`09`09`09,0x00000000L, TV_VIS_TRAP, ' ',`09/* 378 */ X 1,`09 0,`091, 1, 0,`090, 0,`09 0, 0, `7B2,6`7D`09,50`7D, X`7B"an arrow trap"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 3,`09 0,`092, 1, 0,`090, 0,`09 0, 0, `7B1,8`7D`09,90`7D, X`7B"a covered pit"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 2,`09 0,`093, 1, 0,`090, 0,`09 0, 0, `7B2,6`7D`09,60`7D, X`7B"a trap door"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`094, 1, 0,`090, 0,`09 0, 0, `7B2,8`7D`09,75`7D, X`7B"a gas trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 3,`09 0,`095, 1, 0,`090, 0,`09 0, 0, `7B1,4`7D`09,95`7D, X`7B"a loose rock"`09`09`09,0x00000000L, TV_INVIS_TRAP, ';', X 0,`09 0,`096, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09,10`7D, X`7B"a dart trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`097, 1, 0,`090, 0,`09 0, 0, `7B1,4`7D`09,110`7D, X`7B"a strange rune"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`098, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09,90`7D, X`7B"some loose rock"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`099, 1, 0,`090, 0,`09 0, 0, `7B2,6`7D`09,90`7D, X`7B"a gas trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 10,`09 0,`0910, 1, 0,`090, 0,`09 0, 0, `7B1,4`7D`09,105`7D, X`7B"a strange rune"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`0911, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09,90`7D, X`7B"a blackened spot"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 10,`09 0,`0912, 1, 0,`090, 0,`09 0, 0, `7B4,6`7D`09,110`7D, X`7B"some corroded rock"`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 10,`09 0,`0913, 1, 0,`090, 0,`09 0, 0, `7B4,6`7D`09,110`7D, X`7B"a gas trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`0914, 1, 0,`090, 0,`09 0, 0, `7B2,6`7D`09,105`7D, X`7B"a gas trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`0915, 1, 0,`090, 0,`09 0, 0, `7B1,4`7D`09,110`7D, X`7B"a gas trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`0916, 1, 0,`090, 0,`09 0, 0, `7B1,8`7D`09,105`7D, X`7B"a dart trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E', X 5,`09 0,`0917, 1, 0,`090, 0,`09 0, 0, `7B1,8`7D`09,110`7D, X`7B"a dart trap"`09`09`09,0x00000000L, TV_INVIS_TRAP, '`5E',/* 395 */ X 5,`09 0,`0918, 1, 0,`090, 0,`09 0, 0, `7B1,8`7D`09,110`7D, X/* rubble */ X`7B"some rubble"`09`09`09,0x00000000L, TV_RUBBLE, ':',`09/* 396 */ X 0,`09 0,`091, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X/* mush */ X`7B"& pint`7E of fine grade mush"`09,0x00000000L, TV_FOOD, ',',`09/* 397 */ X 1500,`09 0, 97, 1, 1, 0, 0, 0, 0, `7B1,1`7D , 1`7D, X/* Special trap`09*/ X`7B"a strange rune"`09`09,0x00000000L, TV_VIS_TRAP, '`5E',`09/* 398 */ X 0,`09 0,`0999, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09, 10`7D, X/* Gold list (All types of gold and gems are defined here)`09*/ X`7B"copper"`09`09`09,0x00000000L, TV_GOLD, '$',`09/* 399 */ X 0,`09 3,`091, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"copper"`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 4,`092, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"copper"`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 5,`093, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"silver"`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 6,`094, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"silver"`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 7,`095, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"silver"`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 8,`096, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"garnets"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 9,`097, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"garnets"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 10,`098, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"gold"`09`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 12,`099, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"gold"`09`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 14,`0910, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"gold"`09`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 16,`0911, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"opals"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 18,`0912, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"sapphires"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 20,`0913, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"gold"`09`09`09`09,0x00000000L, TV_GOLD, '$', X 0,`09 24,`0914, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"rubies"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 28,`0915, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"diamonds"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 32,`0916, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"emeralds"`09`09`09,0x00000000L, TV_GOLD, '*', X 0,`09 40,`0917, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X`7B"mithril"`09`09`09,0x00000000L, TV_GOLD, '$',`09/* 416 */ X 0,`09 80,`0918, 1, 0,`090, 0,`09 0, 0, `7B0,0`7D`09 , 1`7D, X/* nothing, used as inventory place holder */ X/* must be stackable, so that can be picked up by inven_carry */ X`7B"nothing"`09`09`09,0x00000000L, TV_NOTHING, ' ',`09/* 417 */ X 0, 0, 64, 0, 0, 0, 0, 0, 0, `7B0,0`7D , 0`7D, X/* these next two are needed only for the names */ X`7B"& ruined chest"`09`09,0x00000000L, TV_CHEST, '&',`09/* 418 */ X 0,`09 0,`090, 1, 250,`090, 0,`09 0, 0, `7B0,0`7D`09, 0`7D, X`7B""`09`09`09`09,0x00000000L, TV_NOTHING, ' ',`09/* 419 */ X 0, 0, 0, 0, 0, 0, 0, 0, 0, `7B0,0`7D , 0`7D X`7D; X#endif X Xchar *special_names`5BSN_ARRAY_SIZE`5D = `7B X`09CNIL,`09`09`09"(R)",`09`09`09"(RA)", X`09"(RF)",`09`09`09"(RC)",`09`09`09"(RL)", X`09"(HA)",`09`09`09"(DF)",`09`09`09"(SA)", X`09"(SD)",`09`09`09"(SE)",`09`09`09"(SU)", X`09"(FT)",`09`09`09"(FB)",`09`09`09"of Free Action", X`09"of Slaying",`09`09"of Clumsiness",`09"of Weakness", X`09"of Slow Descent",`09"of Speed",`09`09"of Stealth", X`09"of Slowness",`09`09"of Noise",`09`09"of Great Mass", X`09"of Intelligence",`09"of Wisdom",`09`09"of Infra-Vision", X`09"of Might",`09`09"of Lordliness",`09"of the Magi", X`09"of Beauty",`09`09"of Seeing",`09`09"of Regeneration", X`09"of Stupidity",`09`09"of Dullness",`09`09"of Blindness", X`09"of Timidness",`09`09"of Teleportation",`09"of Ugliness", X`09"of Protection",`09"of Irritation",`09"of Vulnerability", X`09"of Enveloping",`09"of Fire",`09`09"of Slay Evil", X`09"of Dragon Slaying",`09"(Empty)",`09`09"(Locked)", X`09"(Poison Needle)",`09"(Gas Trap)",`09`09"(Explosion Device)", X`09"(Summoning Runes)",`09"(Multiple Traps)",`09"(Disarmed)", X`09"(Unlocked)",`09`09"of Slay Animal" X`7D; X X/* Pairing things down for THINK C. */ X#ifndef RSRC_PART2 Xint16 sorted_objects`5BMAX_DUNGEON_OBJ`5D; X X/* Identified objects flags`09`09`09`09`09*/ Xint8u object_ident`5BOBJECT_IDENT_SIZE`5D; Xint16 t_level`5BMAX_OBJ_LEVEL+1`5D; Xinven_type t_list`5BMAX_TALLOC`5D; Xinven_type inventory`5BINVEN_ARRAY_SIZE`5D; X#endif X X/* Treasure related values`09`09`09`09`09*/ Xint16 inven_ctr = 0;`09`09/* Total different obj's`09*/ Xint16 inven_weight = 0;`09`09/* Cur carried weight`09*/ Xint16 equip_ctr = 0;`09`09/* Cur equipment ctr`09*/ Xint16 tcptr;`09`09`09/* Cur treasure heap ptr`09*/ $ CALL UNPACK TREASURE.C;1 591255560 $ create 'f' X/* source/types.h: global type declarations X X Copyright (c) 1989-92 James E. Wilson, Robert A. Koeneke X X This software may be copied and distributed for educational, research, an Vd X not for profit purposes provided that this copyright and statement are X included in all such copies. */ X Xtypedef unsigned long int32u; Xtypedef long`09 int32; Xtypedef unsigned short int16u; Xtypedef short`09 int16; Xtypedef unsigned char int8u; X/* some machines will not accept 'signed char' as a type, and some accept it +-+-+-+-+-+-+-+- END OF PART 74 +-+-+-+-+-+-+-+-