diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-14 21:46:31 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-14 21:46:31 +0000 |
commit | 99b051c4e4650638e0f902304a649c2ab55c3040 (patch) | |
tree | 195ccc2a6505c951024c9a615a46642b60c9b488 /crawl-ref/source/delay.cc | |
parent | e458eb5067931bf6d03772f5b110540c6f42443f (diff) | |
download | crawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.tar.gz crawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.zip |
Improved tutorial with extensive information on items
as well as a few features. A bit of a clean-up and a
few additions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2001 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r-- | crawl-ref/source/delay.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index ea9be8acf5..abbeadd299 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -996,6 +996,14 @@ inline static void monster_warning(activity_interrupt_type ai, if (at.context != "uncharm") mprf(MSGCH_WARN, "%s comes into view.", mon->name(DESC_CAP_A).c_str()); + + if (Options.tutorial_left) + { + // enforce that this message comes first + tutorial_first_monster(*mon); + if (get_mons_colour(mon) != mon->colour) + learned_something_new(TUT_MONSTER_BRAND); + } #else formatted_string fs( channel_to_colour(MSGCH_WARN) ); fs.cprintf("%s (", mon->name(DESC_PLAIN, true).c_str()); |