summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-19 22:28:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-19 22:28:38 +0000
commita56eea02ae7ce566af2baff5be396ddc15134735 (patch)
treea10aefecf614ec03b4c08c7544814e15d4076102 /crawl-ref/source/delay.cc
parentdbea6550fa584e710e7788b95f1037a9ec344ba5 (diff)
downloadcrawl-ref-a56eea02ae7ce566af2baff5be396ddc15134735.tar.gz
crawl-ref-a56eea02ae7ce566af2baff5be396ddc15134735.zip
* For flavour, let Xom laugh himself silly whenever a follower dies.
* Fix Xom being amused about rotten corpses being butchered. (As opposed to clean corpses becoming rotten while butchered, which is how it was originally intended.) * Xom no longer is amused if you deliberately hit yourself with a missile/wand/spell in safe surroundings. (Identifying wands that way or zapping /random effects is still considered amusing.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9519 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 11ce010c47..d1f9f04bc1 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -861,7 +861,14 @@ void handle_delay( void )
// Only give the rotting message if the corpse wasn't
// previously rotten. (special < 100 is the rottenness check).
if (delay.parm2 >= 100)
+ {
mpr("The corpse rots.", MSGCH_ROTTEN_MEAT);
+ if (you.is_undead != US_UNDEAD
+ && player_mutation_level(MUT_SAPROVOROUS) < 3)
+ {
+ _xom_check_corpse_waste();
+ }
+ }
if (delay.type == DELAY_OFFER_CORPSE)
{
@@ -875,11 +882,6 @@ void handle_delay( void )
delay.parm2 = 99; // Don't give the message twice.
- if (you.is_undead != US_UNDEAD
- && player_mutation_level(MUT_SAPROVOROUS) < 3)
- {
- _xom_check_corpse_waste();
- }
// Vampires won't continue bottling rotting corpses.
if (delay.type == DELAY_BOTTLE_BLOOD)
{