123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- /* =============================================================================
- * PROGRAM: ularn
- * FILENAME: itm.c
- *
- * DESCRIPTION:
- * This module contains the item number definitions and the names of all items
- * in the game.
- *
- * =============================================================================
- * EXPORTED VARIABLES
- *
- * objnamelist : The character to display on the map for each object
- * objtilelist : The gfx tile to display on the map for each object
- * objectname : The text name for each object.
- *
- * =============================================================================
- * EXPORTED FUNCTIONS
- *
- * None
- *
- * =============================================================================
- */
- #include "itm.h"
- /*
- * Character code for each item
- */
- char objnamelist[OCOUNT] = {
- ' ', ' ',
- /* Dungeon features */
- 'A', 'T', 'T', 'T', 'P', '%', '~', 'F', '&', '^', '=', '%', '~', 'f', 'O',
- 'D', '#',
- /* gold piles */
- '*', '*', '*', '*',
- /* eye of larn */
- 'o',
- /* armour */
- '[', '[', '[', '[', '[', '[', '[', '[', '[', '[',
- /* weapons */
- '(', '(', '(', '(', '(', '(', '(', '(', '(', '(', '(', '(',
- /* rings */
- '=', '=', '=', '=', '=', '=', '=', '=',
- /* magic items */
- ')', '?', '!', 'B', 'C', 'o', '"', 'o', '.', '.', '.', '.', '.', '.', '/',
- '/', '"',
- /* gems */
- '<', '<', '<', '<',
- /* buildings/entrances */
- 'M', 'S', '$', '$', 'E', 'V', 'V', 'H', 'T', 'L', 'P',
- /* traps */
- ' ', '^', ' ', '^', '^', ' ', ' ',
- /* misc */
- 's', 'c', 'u',
- /* drugs */
- ':', ':', ':', ':', ':'};
- int objtilelist[OCOUNT] = {175, 191,
- /* Dungeon features */
- 64, 65, 142, 144, 67, 68, 69, 70, 71, 72, 74, 76, 77,
- 80, 82, 83, 84,
- /* Gold piles */
- 81, 133, 134, 135,
- /* The eye of larn */
- 85,
- /* armour */
- 86, 87, 88, 123, 124, 125, 126, 127, 131, 155,
- /* weapons */
- 89, 90, 91, 92, 93, 94, 120, 121, 122, 128, 153, 154,
- /* rings */
- 95, 96, 97, 98, 99, 100, 101, 102,
- /* magic items */
- 103, 104, 105, 106, 107, 66, 108, 109, 110, 111, 112,
- 148, 149, 150, 151, 152, 162,
- /* gems */
- 113, 114, 115, 116,
- /* buildings/entrances */
- 73, 75, 79, 78, 117, 118, 119, 132, 140, 145, 161,
- /* Traps */
- 191, 129, 191, 136, 138, 191, 191,
- /* Misc */
- 143, 146, 147,
- /* Drugs */
- 156, 157, 158, 159, 160};
- /*
- * Description for each item
- */
- char *objectname[OCOUNT] = {
- "",
- "",
- /* Dungeon features */
- "a holy altar",
- "a handsome, jewel-encrusted throne",
- "a handsome, jewel-encrusted throne",
- "a massive throne",
- "a pit",
- "a staircase leading upwards",
- "an elevator going up",
- "a bubbling fountain",
- "a great marble statue",
- "a teleport trap",
- "a mirror",
- "a staircase going down",
- "an elevator going down",
- "a dead fountain",
- "an open door",
- "a closed door",
- "a wall",
- /* Gold piles */
- "gold",
- "gold",
- "gold",
- "gold",
- /* The eye of larn */
- "The Eye of Larn",
- /* armour */
- "plate mail",
- "chain mail",
- "leather armor",
- "ring mail",
- "studded leather armor",
- "splint mail",
- "plate armor",
- "stainless plate armor",
- "a shield",
- "elven chain",
- /* weapons */
- "a sword of slashing",
- "Bessman's flailing hammer",
- "a sunsword",
- "a two-handed sword",
- "a spear",
- "a dagger",
- "a battle axe",
- "a longsword",
- "a flail",
- "a lance of death",
- "the Vorpal Blade",
- "Slayer",
- /* rings */
- "a ring of extra regeneration",
- "a ring of regeneration",
- "a ring of protection",
- "an energy ring",
- "a ring of dexterity",
- "a ring of strength",
- "a ring of cleverness",
- "a ring of increase damage",
- /* magic items */
- "a belt of striking",
- "a magic scroll",
- "a magic potion",
- "a book",
- "a chest",
- "an orb of enlightenment",
- "an amulet of invisibility",
- "an orb of dragon slaying",
- "a scarab of negate spirit",
- "a cube of undead control",
- "a device of theft-prevention",
- "a brass lamp",
- "The Hand of Fear",
- "The Talisman of the Sphere",
- "a wand of wonder",
- "a staff of power",
- "an amulet of life preservation",
- /* gems */
- "a brilliant diamond",
- "a ruby",
- "an enchanting emerald",
- "a sparkling sapphire",
- /* Buildings.entrances */
- "the College of Larn",
- "the DND store",
- "the 8th branch of the Bank of Larn",
- "the Bank of Larn",
- "the dungeon entrance",
- "a volcanic shaft leaning downward",
- "the base of a volcanic shaft",
- "your home",
- "the local trading post",
- "the Larn Revenue Service",
- "Dealer McDope's Pad",
- /* traps */
- "an arrow trap",
- "an arrow trap",
- "a dart trap",
- "a dart trap",
- "a trapdoor",
- "a trapdoor",
- "a teleport trap",
- /* misc */
- "a sphere of annihilation",
- "a fortune cookie",
- "a golden urn",
- /* drugs */
- "some speed",
- "some LSD",
- "some hashish",
- "some magic mushrooms",
- "some cocaine",
- };
|