diff options
author | jsm <jsm@NetBSD.org> | 2000-09-17 23:03:43 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2000-09-17 23:03:43 +0000 |
commit | e828812cad1edfdd4b4f01f93330a6421cd816ab (patch) | |
tree | 068273b7573052a26c55c3b1e4cdc0ae75dc4392 /battlestar/room.c | |
parent | ac0e105a1cb81cab2f045dedc161f0b856985e6b (diff) | |
download | bsdgames-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/room.c')
-rw-r--r-- | battlestar/room.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/room.c b/battlestar/room.c index 8dd8bec3..3cdc0e15 100644 --- a/battlestar/room.c +++ b/battlestar/room.c @@ -1,4 +1,4 @@ -/* $NetBSD: room.c,v 1.9 2000/09/10 10:52:56 jsm Exp $ */ +/* $NetBSD: room.c,v 1.10 2000/09/17 23:03:43 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)room.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: room.c,v 1.9 2000/09/10 10:52:56 jsm Exp $"); +__RCSID("$NetBSD: room.c,v 1.10 2000/09/17 23:03:43 jsm Exp $"); #endif #endif /* not lint */ @@ -52,7 +52,7 @@ writedes() int c; printf("\n\t%s\n", location[position].name); - if (beenthere[position] < ROOMDESC) { + if (beenthere[position] < ROOMDESC || verbose) { compass = NORTH; for (p = location[position].desc; (c = *p++) != 0;) if (c != '-' && c != '*' && c != '+') { |