1 /* 2 * Copyright (c) 1983 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that the above copyright notice and this paragraph are 7 * duplicated in all such forms and that any documentation, 8 * advertising materials, and other materials related to such 9 * distribution and use acknowledge that the software was developed 10 * by the University of California, Berkeley. The name of the 11 * University may not be used to endorse or promote products derived 12 * from this software without specific prior written permission. 13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16 */ 17 18 #ifndef lint 19 static char sccsid[] = "@(#)words.c 5.2 (Berkeley) 06/19/88"; 20 #endif /* not lint */ 21 22 #include "externs.h" 23 24 struct wlist wlist[] = { 25 { "knife", KNIFE, OBJECT }, 26 { "sword", SWORD, NOUNS }, 27 { "scabbard", SWORD, OBJECT }, 28 { "fine", SWORD, OBJECT }, 29 { "two-handed", TWO_HANDED, OBJECT }, 30 { "cleaver", CLEAVER, OBJECT }, 31 { "broadsword", BROAD, OBJECT }, 32 { "mail", MAIL, OBJECT }, 33 { "coat", MAIL, OBJECT }, 34 { "helmet", HELM, OBJECT }, 35 { "shield", SHIELD, OBJECT }, 36 { "maid", MAID, OBJECT }, 37 { "maid's", MAID, OBJECT }, 38 { "body", BODY, NOUNS }, 39 { "viper", VIPER, OBJECT }, 40 { "lamp", LAMPON, OBJECT }, 41 { "lantern", LAMPON, OBJECT }, 42 { "shoes", SHOES, OBJECT }, 43 { "pajamas", PAJAMAS, OBJECT }, 44 { "robe", ROBE, OBJECT }, 45 { "amulet", AMULET, NOUNS }, 46 { "medallion", MEDALION, NOUNS }, 47 { "talisman", TALISMAN, NOUNS }, 48 { "woodsman", DEADWOOD, OBJECT }, 49 { "woodsman's", DEADWOOD, OBJECT }, 50 { "mallet", MALLET, OBJECT }, 51 { "laser", LASER, OBJECT }, 52 { "pistol", LASER, OBJECT }, 53 { "blaster", LASER, OBJECT }, 54 { "gun", LASER, OBJECT }, 55 { "goddess", NORMGOD, NOUNS }, 56 { "grenade", GRENADE, OBJECT }, 57 { "chain", CHAIN, OBJECT }, 58 { "rope", ROPE, OBJECT }, 59 { "levis", LEVIS, OBJECT }, 60 { "pants", LEVIS, OBJECT }, 61 { "mace", MACE, OBJECT }, 62 { "shovel", SHOVEL, OBJECT }, 63 { "halberd", HALBERD, OBJECT }, 64 { "compass", COMPASS, OBJECT }, 65 { "elf", ELF, OBJECT }, 66 { "coins", COINS, OBJECT }, 67 { "matches", MATCHES, OBJECT }, 68 { "match", MATCHES, OBJECT }, 69 { "book", MATCHES, OBJECT }, 70 { "man", MAN, NOUNS }, 71 { "papayas", PAPAYAS, OBJECT }, 72 { "pineapple", PINEAPPLE, OBJECT }, 73 { "kiwi", KIWI, OBJECT }, 74 { "coconuts", COCONUTS, OBJECT }, 75 { "mango", MANGO, OBJECT }, 76 { "ring", RING, OBJECT }, 77 { "potion", POTION, OBJECT }, 78 { "bracelet", BRACELET, OBJECT }, 79 { "timer", TIMER, NOUNS }, 80 { "bomb", BOMB, OBJECT }, 81 { "warhead", BOMB, OBJECT }, 82 { "girl", NATIVE, NOUNS }, 83 { "native", NATIVE, NOUNS }, 84 { "horse", HORSE, OBJECT }, 85 { "stallion", HORSE, OBJECT }, 86 { "car", CAR, OBJECT }, 87 { "volare", CAR, OBJECT }, 88 { "pot", POT, OBJECT }, 89 { "jewels", POT, OBJECT }, 90 { "bar", BAR, OBJECT }, 91 { "diamond", BLOCK, OBJECT }, 92 { "block", BLOCK, OBJECT }, 93 { "up", UP, VERB }, 94 { "u", UP, VERB }, 95 { "down", DOWN, VERB }, 96 { "d", DOWN, VERB }, 97 { "ahead", AHEAD, VERB }, 98 { "a", AHEAD, VERB }, 99 { "back", BACK, VERB }, 100 { "b", BACK, VERB }, 101 { "right", RIGHT, VERB }, 102 { "r", RIGHT, VERB }, 103 { "left", LEFT, VERB }, 104 { "l", LEFT, VERB }, 105 { "take", TAKE, VERB }, 106 { "get", TAKE, VERB }, 107 { "use", USE, VERB }, 108 { "look", LOOK, VERB }, 109 { "lo", LOOK, VERB }, 110 { "quit", QUIT, VERB }, 111 { "q", QUIT, VERB }, 112 { "su", SU, VERB }, 113 { "drop", DROP, VERB }, 114 { "draw", DRAW, VERB }, 115 { "pull", DRAW, VERB }, 116 { "carry", DRAW, VERB }, 117 { "wear", WEARIT, VERB }, 118 { "sheathe", WEARIT, VERB }, 119 { "put", PUT, VERB }, 120 { "buckle", PUT, VERB }, 121 { "strap", PUT, VERB }, 122 { "tie", PUT, VERB }, 123 { "inven", INVEN, VERB }, 124 { "i", INVEN, VERB }, 125 { "everything", EVERYTHING, OBJECT }, 126 { "all", EVERYTHING, OBJECT }, 127 { "and", AND, CONJ }, 128 { "kill", KILL, VERB }, 129 { "fight", KILL, VERB }, 130 { "ravage", RAVAGE, VERB }, 131 { "rape", RAVAGE, VERB }, 132 { "undress", UNDRESS, VERB }, 133 { "throw", THROW, VERB }, 134 { "launch", LAUNCH, VERB }, 135 { "land", LANDIT, VERB }, 136 { "light", LIGHT, VERB }, 137 { "strike", LIGHT, VERB }, 138 { "follow", FOLLOW, VERB }, 139 { "chase", FOLLOW, VERB }, 140 { "kiss", KISS, VERB }, 141 { "love", LOVE, VERB }, 142 { "fuck", LOVE, VERB }, 143 { "give", GIVE, VERB }, 144 { "smite", SMITE, VERB }, 145 { "attack", SMITE, VERB }, 146 { "swing", SMITE, VERB }, 147 { "stab", SMITE, VERB }, 148 { "slice", SMITE, VERB }, 149 { "cut", SMITE, VERB }, 150 { "hack", SMITE, VERB }, 151 { "shoot", SHOOT, VERB }, 152 { "blast", SHOOT, VERB }, 153 { "on", ON, PREPS }, 154 { "off", OFF, PREPS }, 155 { "time", TIME, VERB }, 156 { "sleep", SLEEP, VERB }, 157 { "dig", DIG, VERB }, 158 { "eat", EAT, VERB }, 159 { "swim", SWIM, VERB }, 160 { "drink", DRINK, VERB }, 161 { "door", DOOR, NOUNS }, 162 { "save", SAVE, VERB }, 163 { "ride", RIDE, VERB }, 164 { "mount", RIDE, VERB }, 165 { "drive", DRIVE, VERB }, 166 { "start", DRIVE, VERB }, 167 { "score", SCORE, VERB }, 168 { "points", SCORE, VERB }, 169 { "bury", BURY, VERB }, 170 { "jump", JUMP, VERB }, 171 { "kick", KICK, VERB }, 172 { "kerosene", 0, ADJS }, 173 { "plumed", 0, ADJS }, 174 { "ancient", 0, ADJS }, 175 { "golden", 0, ADJS }, 176 { "gold", 0, ADJS }, 177 { "ostrich", 0, ADJS }, 178 { "rusty", 0, ADJS }, 179 { "old", 0, ADJS }, 180 { "dented", 0, ADJS }, 181 { "blue", 0, ADJS }, 182 { "purple", 0, ADJS }, 183 { "kingly", 0, ADJS }, 184 { "the", 0, ADJS }, 185 { "climb", 0, ADJS }, 186 { "move", 0, ADJS }, 187 { "make", 0, ADJS }, 188 { "to", 0, ADJS }, 189 0 190 }; 191