summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 749b74d29e..0d2bc1e714 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -302,8 +302,7 @@ bool butchery(void)
mpr("You start hacking away.");
if (you.duration[DUR_PRAYER] &&
- (you.religion == GOD_OKAWARU || you.religion == GOD_MAKHLEB ||
- you.religion == GOD_TROG))
+ god_likes_butchery(you.religion))
{
offer_corpse(objl);
destroy_item(objl);
@@ -315,6 +314,12 @@ bool butchery(void)
work_req = 0;
start_delay(DELAY_BUTCHER, work_req, objl, mitm[objl].special);
+
+ if (you.duration[DUR_PRAYER]
+ && god_hates_butchery(you.religion))
+ {
+ did_god_conduct(DID_DEDICATED_BUTCHERY, 10);
+ }
}
}