From 20ed1f17fb8b62120c4a6bdd9236e16488f71d60 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 8 Apr 2008 17:27:22 +0000 Subject: Generalize god_hates_your_god() further. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4136 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/religion.h') diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 062a0a3288..62fb239a85 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -54,7 +54,10 @@ int god_colour(god_type god); void god_pitch(god_type which_god); int piety_rank(int piety = -1); void offer_items(); -bool god_hates_your_god(god_type god); +bool god_hates_your_god(god_type god, + god_type your_god = you.religion); +std::string god_hates_your_god_reaction(god_type god, + god_type your_god = you.religion); bool god_likes_butchery(god_type god); bool god_hates_butchery(god_type god); harm_protection_type god_protects_from_harm(god_type god, bool actual = true); -- cgit v1.2.3-54-g00ecf