From 4b57f3f1a523d33412704f3a5180f921002809b1 Mon Sep 17 00:00:00 2001 From: jsm Date: Mon, 25 Sep 2000 19:37:58 +0000 Subject: 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 . --- battlestar/words.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'battlestar/words.c') 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 } }; -- cgit v1.2.3-56-ge451