diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-02-09 20:18:03 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-02-09 20:18:03 +0100 |
commit | 48c1097123223d5412bc1c32e76923c7248f5384 (patch) | |
tree | ff34f697482d8d37d34faf36b129131f60e751ce /crawl-ref/source/dactions.cc | |
parent | b52311622932b4bf12d338c22b703e106ba0f51a (diff) | |
download | crawl-ref-48c1097123223d5412bc1c32e76923c7248f5384.tar.gz crawl-ref-48c1097123223d5412bc1c32e76923c7248f5384.zip |
Rot all corpses globally on abandoning Kikubaaqudgha.
You could burn all piety on Receive Cadavers right before abandoning her,
switch to a god who accepts corpses and instantly get ~140 piety.
The corpses don't disappear but become thoroughly rotten, unfit for any
abuse.
Diffstat (limited to 'crawl-ref/source/dactions.cc')
-rw-r--r-- | crawl-ref/source/dactions.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/dactions.cc b/crawl-ref/source/dactions.cc index b91d907743..6689d415c2 100644 --- a/crawl-ref/source/dactions.cc +++ b/crawl-ref/source/dactions.cc @@ -41,6 +41,7 @@ static const char *daction_names[] = "reapply passive mapping", "remove Jiyva altars", "Pikel's slaves go good-neutral", + "corpses rot", }; static bool _mons_matches_counter(const monster* mon, daction_type act) @@ -200,6 +201,11 @@ static void _apply_daction(daction_type act) grd(*ri) = DNGN_FLOOR; } break; + case DACT_ROT_CORPSES: + for (int i = 0; i < MAX_ITEMS; i++) + if (mitm[i].base_type == OBJ_CORPSES && mitm[i].sub_type == CORPSE_BODY) + mitm[i].special = 1; // thoroughly rotten + break; case NUM_DA_COUNTERS: case NUM_DACTIONS: ; |