From e828812cad1edfdd4b4f01f93330a6421cd816ab Mon Sep 17 00:00:00 2001 From: jsm Date: Sun, 17 Sep 2000 23:03:43 +0000 Subject: 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". --- battlestar/words.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'battlestar/words.c') 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 }, -- cgit v1.2.3-56-ge451