diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 40641a77e..a72ea7e07 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -123,6 +123,7 @@ fatal wish granted by monster left that monster in bones data clear prompt from screen after ESC is used to abort "In what direction?" minor interface changes for interactively manipulating autopickup exceptions chatting with quest leader who was brought back from the dead gave warnings +becoming green slime or mimicking gold violates "never changed form" conduct Platform- and/or Interface-Specific Fixes diff --git a/src/eat.c b/src/eat.c index 3d06f201b..28cad7fa5 100644 --- a/src/eat.c +++ b/src/eat.c @@ -845,10 +845,12 @@ register int pm; tmp += 20; if (youmonst.data->mlet != S_MIMIC && !Unchanging) { char buf[BUFSZ]; + + u.uconduct.polyselfs++; /* you're changing form */ You_cant("resist the temptation to mimic %s.", Hallucination ? "an orange" : "a pile of gold"); #ifdef STEED - /* A pile of gold can't ride. */ + /* A pile of gold can't ride. */ if (u.usteed) dismount_steed(DISMOUNT_FELL); #endif nomul(-tmp); diff --git a/src/timeout.c b/src/timeout.c index 373daa5b3..822a3bc94 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)timeout.c 3.5 2005/01/31 */ +/* SCCS Id: @(#)timeout.c 3.5 2005/06/11 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -238,6 +238,7 @@ nh_timeout() Strcpy(killer.name, "killed by petrification"); } dealloc_killer(kptr); + /* (unlike sliming, you aren't changing form here) */ done(STONING); break; case SLIMED: @@ -249,6 +250,8 @@ nh_timeout() Strcpy(killer.name, "turned into green slime"); } dealloc_killer(kptr); + /* involuntarily break "never changed form" conduct */ + u.uconduct.polyselfs++; done(TURNED_SLIME); break; case VOMITING: