summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-15 09:39:09 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-15 09:39:09 +0000
commit6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8 (patch)
tree1291287ce0c9443d6911c4ecd0ec2d3b8ebd77ae /crawl-ref/source/delay.cc
parent66740a30c6be993c636285d8351ad0f50c1a8ec7 (diff)
downloadcrawl-ref-6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8.tar.gz
crawl-ref-6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8.zip
Add a tutorial hint for encountering an invisible monster and offer a
different healing message if you recently met an invisible monster, as suggested in FR 1964267. Killing an invisible monster does not yet reset the counter, though I guess it should. Also, disallow randart weapons to be named after Sif Muna. (Vehumet, too, maybe?) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5052 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 8e9b19e5c4..8aa6fcfcec 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -1524,11 +1524,19 @@ static void paranoid_option_disable( activity_interrupt_type ai,
}
if (!deactivatees.empty())
+ {
mprf(MSGCH_WARN, "Deactivating %s; reactivate with %s.",
comma_separated_line(deactivatees.begin(),
deactivatees.end()).c_str(),
comma_separated_line(restart.begin(),
restart.end()).c_str());
+ }
+
+ if (Options.tutorial_left)
+ {
+ learned_something_new(TUT_INVISIBLE_DANGER);
+ Options.tut_seen_invisible = you.num_turns;
+ }
}
}
}