summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-02 09:47:03 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-02 09:47:03 +0100
commitff10c868e31d5543f8d7abd10924e4d09b432d41 (patch)
tree95873dafb44d2594001b2519df51046cc89e5d4e /crawl-ref/source/religion.cc
parenta3673d5b42142d7f495a37f1e4f9569c6b176919 (diff)
downloadcrawl-ref-ff10c868e31d5543f8d7abd10924e4d09b432d41.tar.gz
crawl-ref-ff10c868e31d5543f8d7abd10924e4d09b432d41.zip
Make it obvious the word "biology" will be replaced.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 011d363848..b74b4e15c3 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -298,7 +298,7 @@ const char* god_gain_power_messages[NUM_GODS][MAX_GOD_ABILITIES] =
"induce evolution"
},
// Cheibriados
- { "Cheibriados is slowing your biology.",
+ { "Cheibriados is slowing your {biology}.",
"bend time to slow others",
"",
"inflict damage to those overly hasty",
@@ -405,7 +405,7 @@ const char* god_lose_power_messages[NUM_GODS][MAX_GOD_ABILITIES] =
"induce evolution"
},
// Cheibriados
- { "Cheibriados will no longer slow your biology.",
+ { "Cheibriados will no longer slow your {biology}.",
"bend time to slow others",
"",
"inflict damage to those overly hasty",
@@ -3636,16 +3636,17 @@ static bool _abil_chg_message(const char *pmsg, const char *youcanmsg)
return false;
std::string pm = pmsg;
- if ((pos = pm.find("biology")) != -1)
+ if ((pos = pm.find("{biology}")) != -1)
switch(you.is_undead)
{
case US_UNDEAD: // mummies -- time has no meaning!
return false;
case US_HUNGRY_DEAD: // ghouls
- pm.replace(pos, 7, "decay");
+ pm.replace(pos, 9, "decay");
break;
case US_SEMI_UNDEAD: // vampires
case US_ALIVE:
+ pm.replace(pos, 9, "biology");
break;
}