summaryrefslogtreecommitdiffstats
path: root/battlestar/words.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2000-09-17 23:03:43 +0000
committerjsm <jsm@NetBSD.org>2000-09-17 23:03:43 +0000
commite828812cad1edfdd4b4f01f93330a6421cd816ab (patch)
tree068273b7573052a26c55c3b1e4cdc0ae75dc4392 /battlestar/words.c
parentac0e105a1cb81cab2f045dedc161f0b856985e6b (diff)
downloadbsdgames-darwin-e828812cad1edfdd4b4f01f93330a6421cd816ab.tar.gz
bsdgames-darwin-e828812cad1edfdd4b4f01f93330a6421cd816ab.tar.zst
bsdgames-darwin-e828812cad1edfdd4b4f01f93330a6421cd816ab.zip
Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op),
and "verbose"/"brief" (in verbose mode, always show long room descriptions), and synonyms "papaya" for "papayas" and "coconut" for "coconuts".
Diffstat (limited to 'battlestar/words.c')
-rw-r--r--battlestar/words.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/battlestar/words.c b/battlestar/words.c
index 429a0024..b1386938 100644
--- a/battlestar/words.c
+++ b/battlestar/words.c
@@ -1,4 +1,4 @@
-/* $NetBSD: words.c,v 1.7 2000/09/09 18:03:58 jsm Exp $ */
+/* $NetBSD: words.c,v 1.8 2000/09/17 23:03:43 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)words.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: words.c,v 1.7 2000/09/09 18:03:58 jsm Exp $");
+__RCSID("$NetBSD: words.c,v 1.8 2000/09/17 23:03:43 jsm Exp $");
#endif
#endif /* not lint */
@@ -91,9 +91,11 @@ struct wlist wlist[] = {
{ "match", MATCHES, OBJECT, NULL },
{ "book", MATCHES, OBJECT, NULL },
{ "man", MAN, NOUNS, NULL },
+ { "papaya", PAPAYAS, OBJECT, NULL },
{ "papayas", PAPAYAS, OBJECT, NULL },
{ "pineapple", PINEAPPLE, OBJECT, NULL },
{ "kiwi", KIWI, OBJECT, NULL },
+ { "coconut", COCONUTS, OBJECT, NULL },
{ "coconuts", COCONUTS, OBJECT, NULL },
{ "mango", MANGO, OBJECT, NULL },
{ "ring", RING, OBJECT, NULL },
@@ -173,6 +175,8 @@ struct wlist wlist[] = {
{ "hack", SMITE, VERB, NULL },
{ "shoot", SHOOT, VERB, NULL },
{ "blast", SHOOT, VERB, NULL },
+ { "open", OPEN, VERB, NULL },
+ { "unlock", OPEN, VERB, NULL },
{ "on", ON, PREPS, NULL },
{ "off", OFF, PREPS, NULL },
{ "time", TIME, VERB, NULL },
@@ -182,6 +186,8 @@ struct wlist wlist[] = {
{ "swim", SWIM, VERB, NULL },
{ "drink", DRINK, VERB, NULL },
{ "door", DOOR, NOUNS, NULL },
+ { "verbose", VERBOSE, VERB, NULL },
+ { "brief", BRIEF, VERB, NULL },
{ "save", SAVE, VERB, NULL },
{ "ride", RIDE, VERB, NULL },
{ "mount", RIDE, VERB, NULL },