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