From 012b7f6e29c56a671e68fcb1515d68d5bab59cbc Mon Sep 17 00:00:00 2001 From: jsm Date: Sat, 23 Sep 2000 19:45:07 +0000 Subject: Allow for the bathing goddess in ravage(). From OpenBSD. --- battlestar/com2.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'battlestar') diff --git a/battlestar/com2.c b/battlestar/com2.c index 07634da4..c1bfd8cc 100644 --- a/battlestar/com2.c +++ b/battlestar/com2.c @@ -1,4 +1,4 @@ -/* $NetBSD: com2.c,v 1.15 2000/09/23 19:23:57 jsm Exp $ */ +/* $NetBSD: com2.c,v 1.16 2000/09/23 19:45:07 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com2.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com2.c,v 1.15 2000/09/23 19:23:57 jsm Exp $"); +__RCSID("$NetBSD: com2.c,v 1.16 2000/09/23 19:45:07 jsm Exp $"); #endif #endif /* not lint */ @@ -274,12 +274,16 @@ void ravage() { while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount); - if (wordtype[wordnumber] == NOUNS && testbit(location[position].objects, wordvalue[wordnumber])) { + if (wordtype[wordnumber] == NOUNS && (testbit(location[position].objects, wordvalue[wordnumber]) + || (wordvalue[wordnumber] == NORMGOD && testbit(location[position].objects, BATHGOD)))) { ourtime++; switch (wordvalue[wordnumber]) { case NORMGOD: puts("You attack the goddess, and she screams as you beat her. She falls down"); - puts("crying and tries to hold her torn and bloodied dress around her."); + if (testbit(location[position].objects, BATHGOD)) + puts("crying and tries to cover her nakedness."); + else + puts("crying and tries to hold her torn and bloodied dress around her."); power += 5; pleasure += 8; ego -= 10; -- cgit v1.2.3-56-ge451