summaryrefslogtreecommitdiffstats
path: root/battlestar/words.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2000-09-25 19:37:58 +0000
committerjsm <jsm@NetBSD.org>2000-09-25 19:37:58 +0000
commit4b57f3f1a523d33412704f3a5180f921002809b1 (patch)
tree3c2201e5d0147af39bdbf29e214b320ea2bfef2e /battlestar/words.c
parent671eb498250e6a38918c75f1c5dfb75e3212c305 (diff)
downloadbsdgames-darwin-4b57f3f1a523d33412704f3a5180f921002809b1.tar.gz
bsdgames-darwin-4b57f3f1a523d33412704f3a5180f921002809b1.tar.zst
bsdgames-darwin-4b57f3f1a523d33412704f3a5180f921002809b1.zip
In cypher(), don't attempt to make sense of words other than VERBs or
KNIFE when a verb is required. Add AUXVERB for "make", "move", "climb" (as in "make love", "climb up") and ignore AUXVERB as a verb, going on to the next word, instead of treating these words as adjectives. When creating new verbs from "put on", "put down", "take off", mark them as type VERB. Mostly from Paul Janzen <pjanzen@foatdi.harvard.edu>.
Diffstat (limited to 'battlestar/words.c')
-rw-r--r--battlestar/words.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/battlestar/words.c b/battlestar/words.c
index 86365a87..6bcc5414 100644
--- a/battlestar/words.c
+++ b/battlestar/words.c
@@ -1,4 +1,4 @@
-/* $NetBSD: words.c,v 1.9 2000/09/21 17:44:34 jsm Exp $ */
+/* $NetBSD: words.c,v 1.10 2000/09/25 19:37:59 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.9 2000/09/21 17:44:34 jsm Exp $");
+__RCSID("$NetBSD: words.c,v 1.10 2000/09/25 19:37:59 jsm Exp $");
#endif
#endif /* not lint */
@@ -212,9 +212,9 @@ struct wlist wlist[] = {
{ "purple", 0, ADJS, NULL },
{ "kingly", 0, ADJS, NULL },
{ "the", 0, ADJS, NULL },
- { "climb", 0, ADJS, NULL },
- { "move", 0, ADJS, NULL },
- { "make", 0, ADJS, NULL },
+ { "climb", AUXVERB, VERB, NULL },
+ { "move", AUXVERB, VERB, NULL },
+ { "make", AUXVERB, VERB, NULL },
{ "to", 0, ADJS, NULL },
{ NULL, 0, 0, NULL }
};