summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-01 15:10:36 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-01 15:10:36 +0000
commit8083cf858ffe734bfe8940421b746d332175eba3 (patch)
tree61919d035deec9acaeb4442a092c657f8a2cb511 /crawl-ref/source/religion.cc
parent0f4b2b185f31ebaf18f9d1bb0de8d8fd364cdaa8 (diff)
downloadcrawl-ref-8083cf858ffe734bfe8940421b746d332175eba3.tar.gz
crawl-ref-8083cf858ffe734bfe8940421b746d332175eba3.zip
Lugonu will not accept a worshipper who has unpaid penance. This prevents the
go to Abyss -> pick Lugonu -> ditch Lugonu -> pick Lugonu again stunt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index f0f2d59fd8..14909991a0 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2595,6 +2595,13 @@ void god_pitch(unsigned char which_god)
return;
}
+ if (which_god == GOD_LUGONU && you.penance[GOD_LUGONU])
+ {
+ simple_god_message(" is most displeased with you!", which_god);
+ lugonu_retribution(which_god);
+ return;
+ }
+
describe_god( which_god, false );
snprintf( info, INFO_SIZE, "Do you wish to %sjoin this religion?",