1: /*
   2:  * Copyright (c) 1983 Regents of the University of California,
   3:  * All rights reserved.  Redistribution permitted subject to
   4:  * the terms of the Berkeley Software License Agreement.
   5:  */
   6: 
   7: #ifndef lint
   8: static char sccsid[] = "@(#)globals.c	1.3 4/24/85";
   9: #endif
  10: 
  11: #include "externs.h"
  12: 
  13: int WEIGHT = MAXWEIGHT;
  14: int CUMBER = MAXCUMBER;
  15: 
  16: char *objdes[NUMOFOBJECTS] = {
  17:     "There is a knife here",
  18:     "There is an exquisitely crafted sword and scabbard here.",
  19:     0,              /* can land from here */
  20:     "There is a fierce woodsman here brandishing a heavy mallet.",
  21:     "There is an unweildly two-handed sword here.",
  22:     "There is a bloody meat cleaver here.",
  23:     "A rusty broadsword is lying here.",
  24:     "There is an ancient coat of finely woven mail here.",
  25:     "There is a old dented helmet with an ostrich plume here.",
  26:     "There is a shield of some native tribe here.",
  27:     "The maid's body is lying here. She was murdered!",
  28:     "There is a Viper ready for launch here.",
  29:     "A kerosene lantern is burning luridly here.",
  30:     "An old pair of shoes has been discarded here.",
  31:     0,              /* cylon */
  32:     "There is a pair of pajamas here.",
  33:     "A kingly robe of royal purple and spun gold is draped here.",
  34:     "There is a strange golden amulet on the floor here.",
  35:     "A medallion of solid gold shimmers on the ground nearby.",
  36:     "A talisman of gold is lying here.",
  37:     "A dead woodsman has fallen here. He was savagely murdered.",
  38:     "A heavy wooden mallet lies nearby.",
  39:     "There is a laser pistol here.",
  40:        "A flower-like young goddess is bathing in the hot mineral pools. She is \nwatching you, but continues to steep and sing softly.",
  41:     "The goddess is reclining on a bed of ferns and studying you intently.",
  42:     "There is a grenade here",
  43:     "There is a length of heavy chain here.",
  44:     "There is a stout rope here.",
  45:     "There is a pair of Levi's here.",
  46:     "A bloody mace is lying on the ground here.",
  47:     "There is a shovel here.",
  48:     "A long, sharp halberd is propped up here.",
  49:     "There is a compass here",
  50:     "Wreckage and smoldering debris from a crash litter the ground here.",
  51:     "A woodland Elf armed with a shield and deadly halberd lunges toward you!",
  52:     "I think I hear footsteps behind us.",
  53:     "There are a few coins here.",
  54:     "There are some matches here.",
  55:        "An unctuous man in a white suit and a dwarf are standing here.",
  56:        "There are some ripe papayas here.",
  57:        "There is a ripe pineapple here.",
  58:        "There are some kiwi fruit here.",
  59:        "There are some coconuts here.",
  60:        "There is a ripe mango here.",
  61:        "There is a sparkling diamond ring here.",
  62:        "There is a colorful pink potion in a small crystal vial here.",
  63:        "A gold bracelet is on the ground here.",
  64:        "A swarthy woman with stern features pulls you aside from the crowd,\n'I must talk to you -- but not here.  Meet me at midnight in the gardens.'",
  65:        "The swarthy woman has been awaiting you anxiousy. 'I must warn you that the\nIsland has anticipated your Quest.  You will not be welcomed. The Darkness is\nstrong where you must search.  Seek not the shadows save only at night, for\nthen are they the weakest.  In the mountains far from here a canyon winds\nwith ferns and streams and forgotten vines.  There you must go. Take this\nrope.'",
  66:        "Out from the shadows a figure leaps!  His black cape swirls around, and he\nholds a laser sword at your chest.  'So, you have come to fulfill the Quest.\nHa! Your weapons are no match for me!'",
  67:        "An old timer with one eye missing and no money for a drink sits at the bar.",
  68:        "You are flying through an asteroid field!",
  69:        "A planet is nearby.",
  70:        "The ground is charred here.",
  71:        "There is a thermonuclear warhead here.",
  72:        "The fragile, beautiful young goddess lies here.  You murdered her horribly.",
  73:        "The old timer is lying here.  He is dead.",
  74:        "The native girl's body is lying here.",
  75:        "A native girl is sitting here.",
  76:        "A gorgeous white stallion is standing here.",
  77:        "The keys are in the ignition.",
  78:        "A pot of pearls and jewels is sitting here.",
  79:        "A bar of solid gold is here.",
  80:        "There is a 10 kilogram diamond block here."
  81: 
  82: };
  83: 
  84: char *objsht[NUMOFOBJECTS] = {
  85:     "knife",
  86:     "fine sword",
  87:     0,
  88:     "Woodsman",
  89:     "two-handed sword",
  90:     "meat cleaver",
  91:     "broadsword",
  92:     "coat of mail",
  93:     "plumed helmet",
  94:     "shield",
  95:     "maid's body",
  96:     "viper",
  97:     "lantern",
  98:     "shoes",
  99:     0,
 100:     "pajamas",
 101:     "robe",
 102:     "amulet",
 103:     "medallion",
 104:     "talisman",
 105:     "woodsman's body",
 106:     "wooden mallet",
 107:     "laser",
 108:     0,
 109:     0,
 110:     "grenade",
 111:     "chain",
 112:     "rope",
 113:     "levis",
 114:     "mace",
 115:     "shovel",
 116:     "halberd",
 117:     "compass",
 118:     0,
 119:     "Elf",
 120:     0,
 121:     "coins",
 122:     "match book",
 123:     0,
 124:     "papayas",
 125:     "pineapple",
 126:     "kiwi",
 127:     "coconuts",
 128:     "mango",
 129:     "ring",
 130:     "potion",
 131:     "bracelet",
 132:     0,
 133:     0,
 134:     "Dark Lord",
 135:     0,
 136:     0,
 137:     0,
 138:     0,
 139:     "warhead",
 140:     "goddess's body",
 141:     "old timer's body",
 142:     "girl's body",
 143:     0,
 144:     "stallion",
 145:     "car",
 146:     "pot of jewels",
 147:     "bar of gold",
 148:     "diamond block"
 149: };
 150: 
 151: char *ouch[NUMOFINJURIES] = {
 152:     "some minor abrasions",
 153:     "some minor lacerations",
 154:     "a minor puncture wound",
 155:     "a minor amputation",
 156:     "a sprained wrist",
 157:     "a fractured ankle and shattered kneecap",
 158:     "a broken arm and dislocated shoulder",
 159:     "a few broken ribs",
 160:     "a broken leg and torn ligaments",
 161:     "a broken back and ruptured spleen",
 162:     "some deep incisions and a loss of blood",
 163:     "a fractured skull and mashed face",
 164:     "a broken neck"
 165: };
 166: 
 167: int objwt[NUMOFOBJECTS] = {
 168:     1,  5,  0,  10, 15, 2,  10, 10,
 169:     3,  5,  50, 2500,   2,  1,  100,    1,
 170:     2,  1,  1,  1,  60, 10, 5,  0,
 171:     50, 5,  15, 5,  1,  20, 10, 10,
 172:     0,  0,  0,  0,  1,  0,  0,  1,
 173:     1,  1,  2,  1,  0,  0,  0,  0,
 174:     0,  0,  100,    0,  0,  0,  55, 47,
 175:     50, 45, 45, 100,    2000,   30, 20, 10
 176: };
 177: 
 178: int objcumber[NUMOFOBJECTS] = {
 179:     1,  5,  0,  150,    10, 1,  5,  2,
 180:     2,  1,  5,  10, 1,  1,  10, 1,
 181:     1,  1,  1,  1,  7,  5,  4,  0,
 182:     0,  1,  1,  1,  1,  5,  4,  4,
 183:     1,  0,  0,  0,  1,  0,  0,  1,
 184:     1,  1,  3,  1,  0,  0,  1,  0,
 185:     0,  0,  10, 0,  0,  0,  7,  8,
 186:     10, 8,  8,  10, 10, 3,  1,  2
 187: };
 188: 
 189: int win = 1;
 190: int matchcount = 20;
 191: int followgod = -1;
 192: int followfight = -1;

Defined variables

CUMBER defined in line 14; never used
WEIGHT defined in line 13; never used
followfight defined in line 192; never used
followgod defined in line 191; never used
matchcount defined in line 190; never used
objcumber defined in line 178; never used
objdes defined in line 16; never used
objsht defined in line 84; never used
objwt defined in line 167; never used
ouch defined in line 151; never used
sccsid defined in line 8; never used
win defined in line 189; never used
Last modified: 1985-04-25
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 881
Valid CSS Valid XHTML 1.0 Strict