summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 12:36:35 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 12:36:35 +0000
commite3e729a0259c4c89296ac368556563ca096cd3e9 (patch)
treef039ef6171cc4d0d6b8c744db35a69c939fd7667 /crawl-ref/source/tutorial.cc
parenteddd2e4d44b41d3bdd3283c6887104603a33bf3f (diff)
downloadcrawl-ref-e3e729a0259c4c89296ac368556563ca096cd3e9.tar.gz
crawl-ref-e3e729a0259c4c89296ac368556563ca096cd3e9.zip
A few changes to shafts:
* shafts cannot be created above level 3 in the main dungeon * intelligent fleeing monsters will jump into shafts -> this will reveal the shaft to the player * rename "shaft trap" to "shaft" * ask for confirmation before stepping into a shaft Also finally fix colour from post-death inventory bleeding into the highscore and prompt. (This has always bugged me.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2884 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index c83906e634..60cbe65b79 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -1953,6 +1953,7 @@ bool tutorial_feat_interesting(dungeon_feature_type feat)
case DNGN_GRANITE_STATUE:
case DNGN_TRAP_MAGICAL:
case DNGN_TRAP_MECHANICAL:
+ case DNGN_TRAP_NATURAL:
case DNGN_STONE_STAIRS_DOWN_I:
case DNGN_STONE_STAIRS_DOWN_II:
case DNGN_STONE_STAIRS_DOWN_III:
@@ -1997,6 +1998,12 @@ void tutorial_describe_feature(dungeon_feature_type feat)
Options.tutorial_events[TUT_SEEN_TRAP] = 0;
break;
+ case DNGN_TRAP_NATURAL: // only shafts for now
+ ostr << "The dungeon contains a number of natural obstacles such "
+ "as shafts, which lead one or two levels down.";
+ Options.tutorial_events[TUT_SEEN_TRAP] = 0;
+ break;
+
case DNGN_STONE_STAIRS_DOWN_I:
case DNGN_STONE_STAIRS_DOWN_II:
case DNGN_STONE_STAIRS_DOWN_III: