summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-30 09:48:24 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-30 09:48:24 +0000
commita55c0a4160710417bb79deedf0bb63f824e79067 (patch)
tree745be2cfad0407594a61e577af8570e5175b42cd /crawl-ref/source/notes.cc
parent99f499f8f85cfb10967b644c94c9182d575677a2 (diff)
downloadcrawl-ref-a55c0a4160710417bb79deedf0bb63f824e79067.tar.gz
crawl-ref-a55c0a4160710417bb79deedf0bb63f824e79067.zip
Noted and hooked god mollification.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@530 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index 75880e47f3..a3a9d40c10 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -138,9 +138,10 @@ static bool is_noteworthy( const Note& note ) {
note.type == NOTE_POLY_MONSTER ||
note.type == NOTE_USER_NOTE ||
note.type == NOTE_MESSAGE ||
- note.type == NOTE_LOSE_GOD )
+ note.type == NOTE_LOSE_GOD ||
+ note.type == NOTE_MOLLIFY_GOD )
return true;
-
+
/* never noteworthy, hooked up for fun or future use */
if ( note.type == NOTE_GET_ITEM ||
note.type == NOTE_MP_CHANGE ||
@@ -284,6 +285,10 @@ std::string Note::describe( bool when, bool where, bool what ) const {
snprintf(buf, sizeof buf, "Fell from the grace of %s",
god_name(first));
break;
+ case NOTE_MOLLIFY_GOD:
+ snprintf(buf, sizeof buf, "Was forgiven by %s",
+ god_name(first));
+ break;
case NOTE_GOD_GIFT:
snprintf(buf, sizeof buf, "Received a gift from %s",
god_name(first));