]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - battlestar/words.c
44356ac9e00406555873b90002ede260b68c817e
1 /* $NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $ */
4 * Copyright (c) 1983, 1993
5 * The Regents of the University of California. All rights reserved.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. All advertising materials mentioning features or use of this software
16 * must display the following acknowledgement:
17 * This product includes software developed by the University of
18 * California, Berkeley and its contributors.
19 * 4. Neither the name of the University nor the names of its contributors
20 * may be used to endorse or promote products derived from this software
21 * without specific prior written permission.
23 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 #include <sys/cdefs.h>
39 static char sccsid
[] = "@(#)words.c 8.2 (Berkeley) 4/28/95";
41 __RCSID("$NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $");
47 struct wlist wlist
[] = {
48 {"knife", KNIFE
, OBJECT
},
49 {"sword", SWORD
, NOUNS
},
50 {"scabbard", SWORD
, OBJECT
},
51 {"fine", SWORD
, OBJECT
},
52 {"two-handed", TWO_HANDED
, OBJECT
},
53 {"cleaver", CLEAVER
, OBJECT
},
54 {"broadsword", BROAD
, OBJECT
},
55 {"mail", MAIL
, OBJECT
},
56 {"coat", MAIL
, OBJECT
},
57 {"helmet", HELM
, OBJECT
},
58 {"shield", SHIELD
, OBJECT
},
59 {"maid", MAID
, OBJECT
},
60 {"maid's", MAID
, OBJECT
},
61 {"body", BODY
, NOUNS
},
62 {"viper", VIPER
, OBJECT
},
63 {"lamp", LAMPON
, OBJECT
},
64 {"lantern", LAMPON
, OBJECT
},
65 {"shoes", SHOES
, OBJECT
},
66 {"pajamas", PAJAMAS
, OBJECT
},
67 {"robe", ROBE
, OBJECT
},
68 {"amulet", AMULET
, NOUNS
},
69 {"medallion", MEDALION
, NOUNS
},
70 {"talisman", TALISMAN
, NOUNS
},
71 {"woodsman", DEADWOOD
, OBJECT
},
72 {"woodsman's", DEADWOOD
, OBJECT
},
73 {"mallet", MALLET
, OBJECT
},
74 {"laser", LASER
, OBJECT
},
75 {"pistol", LASER
, OBJECT
},
76 {"blaster", LASER
, OBJECT
},
77 {"gun", LASER
, OBJECT
},
78 {"goddess", NORMGOD
, NOUNS
},
79 {"grenade", GRENADE
, OBJECT
},
80 {"chain", CHAIN
, OBJECT
},
81 {"rope", ROPE
, OBJECT
},
82 {"levis", LEVIS
, OBJECT
},
83 {"pants", LEVIS
, OBJECT
},
84 {"mace", MACE
, OBJECT
},
85 {"shovel", SHOVEL
, OBJECT
},
86 {"halberd", HALBERD
, OBJECT
},
87 {"compass", COMPASS
, OBJECT
},
89 {"coins", COINS
, OBJECT
},
90 {"matches", MATCHES
, OBJECT
},
91 {"match", MATCHES
, OBJECT
},
92 {"book", MATCHES
, OBJECT
},
94 {"papayas", PAPAYAS
, OBJECT
},
95 {"pineapple", PINEAPPLE
, OBJECT
},
96 {"kiwi", KIWI
, OBJECT
},
97 {"coconuts", COCONUTS
, OBJECT
},
98 {"mango", MANGO
, OBJECT
},
99 {"ring", RING
, OBJECT
},
100 {"potion", POTION
, OBJECT
},
101 {"bracelet", BRACELET
, OBJECT
},
102 {"timer", TIMER
, NOUNS
},
103 {"bomb", BOMB
, OBJECT
},
104 {"warhead", BOMB
, OBJECT
},
105 {"girl", NATIVE
, NOUNS
},
106 {"native", NATIVE
, NOUNS
},
107 {"horse", HORSE
, OBJECT
},
108 {"stallion", HORSE
, OBJECT
},
109 {"car", CAR
, OBJECT
},
110 {"volare", CAR
, OBJECT
},
111 {"pot", POT
, OBJECT
},
112 {"jewels", POT
, OBJECT
},
113 {"bar", BAR
, OBJECT
},
114 {"diamond", BLOCK
, OBJECT
},
115 {"block", BLOCK
, OBJECT
},
118 {"down", DOWN
, VERB
},
120 {"ahead", AHEAD
, VERB
},
122 {"back", BACK
, VERB
},
124 {"right", RIGHT
, VERB
},
126 {"left", LEFT
, VERB
},
128 {"take", TAKE
, VERB
},
131 {"look", LOOK
, VERB
},
133 {"quit", QUIT
, VERB
},
136 {"drop", DROP
, VERB
},
137 {"draw", DRAW
, VERB
},
138 {"pull", DRAW
, VERB
},
139 {"carry", DRAW
, VERB
},
140 {"wear", WEARIT
, VERB
},
141 {"sheathe", WEARIT
, VERB
},
143 {"buckle", PUT
, VERB
},
144 {"strap", PUT
, VERB
},
146 {"inven", INVEN
, VERB
},
148 {"everything", EVERYTHING
, OBJECT
},
149 {"all", EVERYTHING
, OBJECT
},
151 {"kill", KILL
, VERB
},
152 {"fight", KILL
, VERB
},
153 {"ravage", RAVAGE
, VERB
},
154 {"rape", RAVAGE
, VERB
},
155 {"undress", UNDRESS
, VERB
},
156 {"throw", THROW
, VERB
},
157 {"launch", LAUNCH
, VERB
},
158 {"land", LANDIT
, VERB
},
159 {"light", LIGHT
, VERB
},
160 {"strike", LIGHT
, VERB
},
161 {"follow", FOLLOW
, VERB
},
162 {"chase", FOLLOW
, VERB
},
163 {"kiss", KISS
, VERB
},
164 {"love", LOVE
, VERB
},
165 {"fuck", LOVE
, VERB
},
166 {"give", GIVE
, VERB
},
167 {"smite", SMITE
, VERB
},
168 {"attack", SMITE
, VERB
},
169 {"swing", SMITE
, VERB
},
170 {"stab", SMITE
, VERB
},
171 {"slice", SMITE
, VERB
},
172 {"cut", SMITE
, VERB
},
173 {"hack", SMITE
, VERB
},
174 {"shoot", SHOOT
, VERB
},
175 {"blast", SHOOT
, VERB
},
178 {"time", TIME
, VERB
},
179 {"sleep", SLEEP
, VERB
},
182 {"swim", SWIM
, VERB
},
183 {"drink", DRINK
, VERB
},
184 {"door", DOOR
, NOUNS
},
185 {"save", SAVE
, VERB
},
186 {"ride", RIDE
, VERB
},
187 {"mount", RIDE
, VERB
},
188 {"drive", DRIVE
, VERB
},
189 {"start", DRIVE
, VERB
},
190 {"score", SCORE
, VERB
},
191 {"points", SCORE
, VERB
},
192 {"bury", BURY
, VERB
},
193 {"jump", JUMP
, VERB
},
194 {"kick", KICK
, VERB
},
195 {"kerosene", 0, ADJS
},
197 {"ancient", 0, ADJS
},
200 {"ostrich", 0, ADJS
},