From 581632aadc5ff2a60ffb15ce93685b43b4dfb26e Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 2 Jan 2007 11:15:23 +0000 Subject: Allow Zin to feed you reliably. Fix TSO power message from divine anger to cleansing flame. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@765 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 12 ++++++++---- crawl-ref/source/religion.cc | 8 ++++---- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index ad871b5264..dc5cf908c8 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -6462,10 +6462,10 @@ void describe_god( int which_god, bool give_title ) case GOD_ZIN: description = "Zin is an ancient and revered God, dedicated to the establishment of order" EOL "and the destruction of the forces of chaos and night. Valued worshippers " EOL - "can gain blessings on their weapons and a variety of powers useful in the" EOL - "fight against the evil, but must abstain from the use of necromancy and other" EOL - "forms of unholy magic. Zin appreciates long-standing faith as well as " EOL - "sacrifices of valued objects."; + "can gain sustenance in times of need, blessings on their weapons, and a " EOL + "variety of powers useful in the fight against the evil, but must abstain " EOL + "from the use of necromancy and other forms of unholy magic. Zin appreciates " EOL + "long-standing faith as well as sacrifices of valued objects."; break; case GOD_SHINING_ONE: @@ -6708,6 +6708,10 @@ void describe_god( int which_god, bool give_title ) (you.piety >= 150) ? "carefully": // > 4/5 (you.piety >= 90) ? "often" : // > 2/3 "sometimes"); // less than 2:3 + + if (which_god == GOD_ZIN) + cprintf("Praying to %s will provide sustenance if starving." + EOL, god_name(which_god)); } // mv: No abilities (except divine protection) under penance diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index ea5e77b076..1acf08158d 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -106,7 +106,7 @@ const char* god_gain_power_messages[MAX_NUM_GODS][MAX_GOD_ABILITIES] = { "repel the undead", "smite your foes", "dispel the undead", - "hurl bolts of divine anger", + "hurl blasts of cleansing flame", "summon a divine warrior" }, // Kikubaaqudgha { "recall your undead slaves", @@ -181,7 +181,7 @@ const char* god_lose_power_messages[MAX_NUM_GODS][MAX_GOD_ABILITIES] = { "repel the undead", "smite your foes", "dispel the undead", - "hurl bolts of divine anger", + "hurl blasts of cleansing flame", "summon a divine warrior" }, // Kikubaaqudgha { "recall your undead slaves", @@ -434,9 +434,9 @@ void pray(void) break; case GOD_ZIN: - //jmf: "good" god will sometimes feed you (a la Nethack) + //jmf: "good" god will feed you (a la Nethack) if (you.hunger_state == HS_STARVING - && random2(250) <= you.piety) + && you.piety >= 30) { god_speaks(you.religion, "Your stomach feels content."); set_hunger(6000, true); -- cgit v1.2.3-54-g00ecf