summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 16:47:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 16:47:52 +0000
commit44e4e9ae79cc17e07bf281c93c17506d85752398 (patch)
tree72bc84b3dcb1af63f26c6d4141c2e557ff5a70e8 /crawl-ref/source/describe.cc
parente16b370db18281fc7f3d188e7b769367183dd912 (diff)
downloadcrawl-ref-44e4e9ae79cc17e07bf281c93c17506d85752398.tar.gz
crawl-ref-44e4e9ae79cc17e07bf281c93c17506d85752398.zip
Generalize the dedicated butchery description.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4134 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc19
1 files changed, 7 insertions, 12 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index ab6e6bf663..953bc24f37 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2378,16 +2378,6 @@ static std::string religion_help( god_type god )
result += "You can pray at an altar to ask " + god_name(god)
+ " to bless your weapon." EOL;
}
- if (god == GOD_SHINING_ONE)
- break;
- // fall through
-
- case GOD_OKAWARU:
- case GOD_MAKHLEB:
- case GOD_BEOGH:
- case GOD_TROG:
- result = "You can sacrifice corpses by dissecting "
- "them during prayer.";
break;
case GOD_NEMELEX_XOBEH:
@@ -2405,6 +2395,11 @@ static std::string religion_help( god_type god )
default:
break;
}
+
+ if (god_likes_butchery(god))
+ result += "You can sacrifice corpses by dissecting"
+ " them during prayer.";
+
return result;
}
@@ -2418,7 +2413,7 @@ static bool _god_hates_your_god( god_type which_god )
if (which_god == GOD_ZIN && is_chaotic_god(you.religion))
return (true);
- return (is_evil_god(you.religion));
+ return (is_evil_god(you.religion));
}
void describe_god( god_type which_god, bool give_title )
@@ -2556,7 +2551,7 @@ void describe_god( god_type which_god, bool give_title )
{
textcolor (colour);
int which_god_penance = you.penance[which_god];
-
+
// give more appropriate for the good gods
if (which_god_penance > 0 && is_good_god(which_god))
{