summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 20:28:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 20:28:33 +0000
commit1f3c5a4d49e8059489b4b66dab75ddc2ac200626 (patch)
tree8c393babc2ab14cf20786da8839a3d35613e0b04 /crawl-ref/source/religion.cc
parent48334a9c4f77825eb2971183c36fbcee5a343364 (diff)
downloadcrawl-ref-1f3c5a4d49e8059489b4b66dab75ddc2ac200626.tar.gz
crawl-ref-1f3c5a4d49e8059489b4b66dab75ddc2ac200626.zip
More varied messages upon DNGN_ORCISH_IDOL destruction,
suggestions courtesy of dpeg. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1967 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc39
1 files changed, 33 insertions, 6 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index d382cd7b9d..3ac6d2d957 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2432,7 +2432,8 @@ bool followers_abandon_you()
void beogh_idol_revenge()
{
// Beogh watches his charges closely, but for others doesn't always notice
- if (you.religion == GOD_BEOGH || one_chance_in(3))
+ if (you.religion == GOD_BEOGH || you.species == SP_HILL_ORC && coinflip()
+ || one_chance_in(3))
{
if (you.religion != GOD_BEOGH &&
!player_under_penance() && you.piety > random2(400))
@@ -2443,17 +2444,43 @@ void beogh_idol_revenge()
}
else
{
- snprintf(info, INFO_SIZE, "%s screams, \"Feel the wrath of %s!\"",
- god_name(GOD_BEOGH), god_name(GOD_BEOGH));
- god_speaks(GOD_BEOGH, info);
+ if (you.religion == GOD_BEOGH)
+ {
+ switch(random2(3))
+ {
+ case 0:
+ snprintf(info, INFO_SIZE, " fumes, \"This is no small sin, orc. Repent!\"");
+ break;
+ case 1:
+ snprintf(info, INFO_SIZE, " whispers, \"You will pay for this transgression.\"");
+ break;
+ default:
+ snprintf(info, INFO_SIZE, " rages, \"Eye for an eye...\"");
+ }
+ simple_god_message(info, GOD_BEOGH);
+ }
+ else if (you.species == SP_HILL_ORC)
+ {
+ if (coinflip())
+ simple_god_message("'s voice booms out: \"Heretic, die!\"", GOD_BEOGH);
+ else
+ god_speaks(GOD_BEOGH, "You hear Beogh's thundering voice: \"Suffer, infidel!\"");
+ }
+ else
+ {
+ if (coinflip())
+ simple_god_message(" is not amused about the destruction of his idols.", GOD_BEOGH);
+ else
+ simple_god_message(" seems highly displeased.", GOD_BEOGH);
+ }
int divine_hurt = 10 + random2(10);
for (int i = 0; i < 5; i++)
divine_hurt += random2( you.experience_level );
- simple_god_message( " smites you!", GOD_BEOGH );
- ouch( divine_hurt, 0, KILLED_BY_BEOGH_SMITING );
+ simple_god_message( " smites you!", GOD_BEOGH );
+ ouch( divine_hurt, 0, KILLED_BY_BEOGH_SMITING );
}
if (you.religion == GOD_BEOGH)
{