summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 16:26:22 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 16:26:22 +0000
commit140d86fc448a11f2ff9b514c0fda5c37e0c89395 (patch)
treea2206f657a10216dc93ba3656d9d4c6b8bd788b6 /crawl-ref/source/describe.cc
parent93fc5eba881f64a3e4f0d7ebbd901b2ede688cd3 (diff)
downloadcrawl-ref-140d86fc448a11f2ff9b514c0fda5c37e0c89395.tar.gz
crawl-ref-140d86fc448a11f2ff9b514c0fda5c37e0c89395.zip
Allow TSO to bless weapons other than long swords.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4132 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 af1598b224..ab6e6bf663 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2362,31 +2362,26 @@ std::string describe_favour(god_type which_god)
static std::string religion_help( god_type god )
{
std::string result = "";
-
+
switch(god)
{
case GOD_ZIN:
result += "Pray at one of " + god_name(god)
+ "'s altars to part with your money.";
break;
-
- case GOD_SHINING_ONE:
- if (!player_under_penance() && you.piety > 160
- && !you.num_gifts[god])
- {
- result += "You can pray at an altar to ask " + god_name(god)
- + " to bless a long sword.";
- }
- break;
+ case GOD_SHINING_ONE:
case GOD_LUGONU:
if (!player_under_penance() && you.piety > 160
&& !you.num_gifts[god])
{
result += "You can pray at an altar to ask " + god_name(god)
+ " to bless your weapon." EOL;
- } // fall through
-
+ }
+ if (god == GOD_SHINING_ONE)
+ break;
+ // fall through
+
case GOD_OKAWARU:
case GOD_MAKHLEB:
case GOD_BEOGH: