mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
213
battlestar/words.c
Normal file
213
battlestar/words.c
Normal file
@@ -0,0 +1,213 @@
|
||||
/* $NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)words.c 8.2 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: words.c,v 1.6 1997/10/11 02:07:39 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include "extern.h"
|
||||
|
||||
struct wlist wlist[] = {
|
||||
{"knife", KNIFE, OBJECT},
|
||||
{"sword", SWORD, NOUNS},
|
||||
{"scabbard", SWORD, OBJECT},
|
||||
{"fine", SWORD, OBJECT},
|
||||
{"two-handed", TWO_HANDED, OBJECT},
|
||||
{"cleaver", CLEAVER, OBJECT},
|
||||
{"broadsword", BROAD, OBJECT},
|
||||
{"mail", MAIL, OBJECT},
|
||||
{"coat", MAIL, OBJECT},
|
||||
{"helmet", HELM, OBJECT},
|
||||
{"shield", SHIELD, OBJECT},
|
||||
{"maid", MAID, OBJECT},
|
||||
{"maid's", MAID, OBJECT},
|
||||
{"body", BODY, NOUNS},
|
||||
{"viper", VIPER, OBJECT},
|
||||
{"lamp", LAMPON, OBJECT},
|
||||
{"lantern", LAMPON, OBJECT},
|
||||
{"shoes", SHOES, OBJECT},
|
||||
{"pajamas", PAJAMAS, OBJECT},
|
||||
{"robe", ROBE, OBJECT},
|
||||
{"amulet", AMULET, NOUNS},
|
||||
{"medallion", MEDALION, NOUNS},
|
||||
{"talisman", TALISMAN, NOUNS},
|
||||
{"woodsman", DEADWOOD, OBJECT},
|
||||
{"woodsman's", DEADWOOD, OBJECT},
|
||||
{"mallet", MALLET, OBJECT},
|
||||
{"laser", LASER, OBJECT},
|
||||
{"pistol", LASER, OBJECT},
|
||||
{"blaster", LASER, OBJECT},
|
||||
{"gun", LASER, OBJECT},
|
||||
{"goddess", NORMGOD, NOUNS},
|
||||
{"grenade", GRENADE, OBJECT},
|
||||
{"chain", CHAIN, OBJECT},
|
||||
{"rope", ROPE, OBJECT},
|
||||
{"levis", LEVIS, OBJECT},
|
||||
{"pants", LEVIS, OBJECT},
|
||||
{"mace", MACE, OBJECT},
|
||||
{"shovel", SHOVEL, OBJECT},
|
||||
{"halberd", HALBERD, OBJECT},
|
||||
{"compass", COMPASS, OBJECT},
|
||||
{"elf", ELF, OBJECT},
|
||||
{"coins", COINS, OBJECT},
|
||||
{"matches", MATCHES, OBJECT},
|
||||
{"match", MATCHES, OBJECT},
|
||||
{"book", MATCHES, OBJECT},
|
||||
{"man", MAN, NOUNS},
|
||||
{"papayas", PAPAYAS, OBJECT},
|
||||
{"pineapple", PINEAPPLE, OBJECT},
|
||||
{"kiwi", KIWI, OBJECT},
|
||||
{"coconuts", COCONUTS, OBJECT},
|
||||
{"mango", MANGO, OBJECT},
|
||||
{"ring", RING, OBJECT},
|
||||
{"potion", POTION, OBJECT},
|
||||
{"bracelet", BRACELET, OBJECT},
|
||||
{"timer", TIMER, NOUNS},
|
||||
{"bomb", BOMB, OBJECT},
|
||||
{"warhead", BOMB, OBJECT},
|
||||
{"girl", NATIVE, NOUNS},
|
||||
{"native", NATIVE, NOUNS},
|
||||
{"horse", HORSE, OBJECT},
|
||||
{"stallion", HORSE, OBJECT},
|
||||
{"car", CAR, OBJECT},
|
||||
{"volare", CAR, OBJECT},
|
||||
{"pot", POT, OBJECT},
|
||||
{"jewels", POT, OBJECT},
|
||||
{"bar", BAR, OBJECT},
|
||||
{"diamond", BLOCK, OBJECT},
|
||||
{"block", BLOCK, OBJECT},
|
||||
{"up", UP, VERB},
|
||||
{"u", UP, VERB},
|
||||
{"down", DOWN, VERB},
|
||||
{"d", DOWN, VERB},
|
||||
{"ahead", AHEAD, VERB},
|
||||
{"a", AHEAD, VERB},
|
||||
{"back", BACK, VERB},
|
||||
{"b", BACK, VERB},
|
||||
{"right", RIGHT, VERB},
|
||||
{"r", RIGHT, VERB},
|
||||
{"left", LEFT, VERB},
|
||||
{"l", LEFT, VERB},
|
||||
{"take", TAKE, VERB},
|
||||
{"get", TAKE, VERB},
|
||||
{"use", USE, VERB},
|
||||
{"look", LOOK, VERB},
|
||||
{"lo", LOOK, VERB},
|
||||
{"quit", QUIT, VERB},
|
||||
{"q", QUIT, VERB},
|
||||
{"su", SU, VERB},
|
||||
{"drop", DROP, VERB},
|
||||
{"draw", DRAW, VERB},
|
||||
{"pull", DRAW, VERB},
|
||||
{"carry", DRAW, VERB},
|
||||
{"wear", WEARIT, VERB},
|
||||
{"sheathe", WEARIT, VERB},
|
||||
{"put", PUT, VERB},
|
||||
{"buckle", PUT, VERB},
|
||||
{"strap", PUT, VERB},
|
||||
{"tie", PUT, VERB},
|
||||
{"inven", INVEN, VERB},
|
||||
{"i", INVEN, VERB},
|
||||
{"everything", EVERYTHING, OBJECT},
|
||||
{"all", EVERYTHING, OBJECT},
|
||||
{"and", AND, CONJ},
|
||||
{"kill", KILL, VERB},
|
||||
{"fight", KILL, VERB},
|
||||
{"ravage", RAVAGE, VERB},
|
||||
{"rape", RAVAGE, VERB},
|
||||
{"undress", UNDRESS, VERB},
|
||||
{"throw", THROW, VERB},
|
||||
{"launch", LAUNCH, VERB},
|
||||
{"land", LANDIT, VERB},
|
||||
{"light", LIGHT, VERB},
|
||||
{"strike", LIGHT, VERB},
|
||||
{"follow", FOLLOW, VERB},
|
||||
{"chase", FOLLOW, VERB},
|
||||
{"kiss", KISS, VERB},
|
||||
{"love", LOVE, VERB},
|
||||
{"fuck", LOVE, VERB},
|
||||
{"give", GIVE, VERB},
|
||||
{"smite", SMITE, VERB},
|
||||
{"attack", SMITE, VERB},
|
||||
{"swing", SMITE, VERB},
|
||||
{"stab", SMITE, VERB},
|
||||
{"slice", SMITE, VERB},
|
||||
{"cut", SMITE, VERB},
|
||||
{"hack", SMITE, VERB},
|
||||
{"shoot", SHOOT, VERB},
|
||||
{"blast", SHOOT, VERB},
|
||||
{"on", ON, PREPS},
|
||||
{"off", OFF, PREPS},
|
||||
{"time", TIME, VERB},
|
||||
{"sleep", SLEEP, VERB},
|
||||
{"dig", DIG, VERB},
|
||||
{"eat", EAT, VERB},
|
||||
{"swim", SWIM, VERB},
|
||||
{"drink", DRINK, VERB},
|
||||
{"door", DOOR, NOUNS},
|
||||
{"save", SAVE, VERB},
|
||||
{"ride", RIDE, VERB},
|
||||
{"mount", RIDE, VERB},
|
||||
{"drive", DRIVE, VERB},
|
||||
{"start", DRIVE, VERB},
|
||||
{"score", SCORE, VERB},
|
||||
{"points", SCORE, VERB},
|
||||
{"bury", BURY, VERB},
|
||||
{"jump", JUMP, VERB},
|
||||
{"kick", KICK, VERB},
|
||||
{"kerosene", 0, ADJS},
|
||||
{"plumed", 0, ADJS},
|
||||
{"ancient", 0, ADJS},
|
||||
{"golden", 0, ADJS},
|
||||
{"gold", 0, ADJS},
|
||||
{"ostrich", 0, ADJS},
|
||||
{"rusty", 0, ADJS},
|
||||
{"old", 0, ADJS},
|
||||
{"dented", 0, ADJS},
|
||||
{"blue", 0, ADJS},
|
||||
{"purple", 0, ADJS},
|
||||
{"kingly", 0, ADJS},
|
||||
{"the", 0, ADJS},
|
||||
{"climb", 0, ADJS},
|
||||
{"move", 0, ADJS},
|
||||
{"make", 0, ADJS},
|
||||
{"to", 0, ADJS},
|
||||
{0}
|
||||
};
|
||||
Reference in New Issue
Block a user