diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2012-12-12 23:29:10 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2012-12-12 23:29:34 +0000 |
commit | d868356357eb2ddaa4cef786aa2f3a48df17efdd (patch) | |
tree | b33f887c5d2c4287aac7298762bd259f572dcf57 /crawl-ref/source/notes.cc | |
parent | 1add64846c45f813d68cf682f851f11eb85c2d3f (diff) | |
download | crawl-ref-d868356357eb2ddaa4cef786aa2f3a48df17efdd.tar.gz crawl-ref-d868356357eb2ddaa4cef786aa2f3a48df17efdd.zip |
Add notes for Vehumet spell offers
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 511949a6b3..4c3654992c 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -123,7 +123,8 @@ static bool _is_noteworthy(const Note& note) || note.type == NOTE_PARALYSIS || note.type == NOTE_NAMED_ALLY || note.type == NOTE_ALLY_DEATH - || note.type == NOTE_FEAT_MIMIC) + || note.type == NOTE_FEAT_MIMIC + || note.type == NOTE_OFFERED_SPELL) { return true; } @@ -375,6 +376,11 @@ string Note::describe(bool when, bool where, bool what) const case NOTE_ALLY_DEATH: result << "Your ally " << name << " died"; break; + case NOTE_OFFERED_SPELL: + result << "Offered knowledge of " + << spell_title(static_cast<spell_type>(first)) + << " by Vehumet."; + break; default: result << "Buggy note description: unknown note type"; break; |