summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a3b4294c12..2d35d8938e 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -568,6 +568,10 @@ std::string get_god_likes(god_type which_god, bool verbose)
likes.push_back("kill living evil beings");
break;
+ case GOD_YREDELEMNUL:
+ likes.push_back("kill holy beings");
+ break;
+
case GOD_BEOGH:
likes.push_back("kill the priests of other religions");
break;
@@ -2471,6 +2475,15 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
ret = true;
if (random2(level + 18) > 2)
piety_change = 1;
+
+ if (you.religion == GOD_YREDELEMNUL && thing_done == DID_KILL_HOLY)
+ {
+ simple_god_message(" appreciates your killing of a "
+ "holy being.");
+ ret = true;
+ if (random2(level + 10) > 5)
+ piety_change = 1;
+ }
break;
default: