diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2013-03-04 11:59:39 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2013-03-04 12:43:42 -0600 |
commit | b34b6208d5a8bdaa0a465c759b7983376a790a55 (patch) | |
tree | bbcf7f6d45f19f6e33f4f55991faebc3ab1490c6 /crawl-ref/source/godconduct.cc | |
parent | a4ab263bffb3ac38a0b149fb1022fbc0450baa9b (diff) | |
download | crawl-ref-b34b6208d5a8bdaa0a465c759b7983376a790a55.tar.gz crawl-ref-b34b6208d5a8bdaa0a465c759b7983376a790a55.zip |
Make Yred appreciate desecrating holy remains (for a small piety gain).
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r-- | crawl-ref/source/godconduct.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc index 4b99230c21..1fe75885cd 100644 --- a/crawl-ref/source/godconduct.cc +++ b/crawl-ref/source/godconduct.cc @@ -120,10 +120,20 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known, } break; + case DID_DESECRATE_HOLY_REMAINS: + if (you.religion == GOD_YREDELEMNUL) + { + simple_god_message(" appreciates your desecration of holy " + "remains."); + retval = true; + piety_change = 1; + break; + } + // deliberate fall through + case DID_NECROMANCY: case DID_UNHOLY: case DID_ATTACK_HOLY: - case DID_DESECRATE_HOLY_REMAINS: switch (you.religion) { case GOD_ZIN: |