diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 02:35:14 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 02:35:14 +0000 |
commit | 3da16ef55175ccae0b1645e9b0e22709a14c1203 (patch) | |
tree | 7c5a1030455c8b0a173b4af3b8b2aca247c3eeb2 /crawl-ref/source/view.cc | |
parent | 395829b30fde460c96a7429fb87428dd576ab5b8 (diff) | |
download | crawl-ref-3da16ef55175ccae0b1645e9b0e22709a14c1203.tar.gz crawl-ref-3da16ef55175ccae0b1645e9b0e22709a14c1203.zip |
Twelve new tutorial events, plus examining a square with a cloud or
a monster submerged in shallow water will give extra info during turorial
mode. Might be giving too many spoilers, especially the tips on surviving
in the Abyss and saying exactly what each god likes and dislikes when
covnerting.
There's a bug in non-tiles build where the tutorial note on branch
entrances shows the '>' symbol as light-grey instead of yellow; don't know
what's causing that.
Also, made player::backlit() used _get_contamination_level() to stay in
sync with the rest of the code.
Breaks savefile compatibilty.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5320 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index cfb056437c..6afaa25843 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -4687,14 +4687,26 @@ void viewwindow(bool draw_it, bool do_updates) learned_something_new(TUT_SEEN_ESCAPE_HATCH, gc.x, gc.y); } + else if (grid_is_branch_stairs(grd(gc))) + learned_something_new(TUT_SEEN_BRANCH, gc.x, gc.y); else if (is_feature('>', gc.x, gc.y)) + { learned_something_new(TUT_SEEN_STAIRS, gc.x, gc.y); + } else if (is_feature('_', gc.x, gc.y)) learned_something_new(TUT_SEEN_ALTAR, gc.x, gc.y); else if (grd(gc) == DNGN_CLOSED_DOOR) learned_something_new(TUT_SEEN_DOOR, gc.x, gc.y); else if (grd(gc) == DNGN_ENTER_SHOP) learned_something_new(TUT_SEEN_SHOP, gc.x, gc.y); + + if (igrd[gc.x][gc.y] != NON_ITEM + && Options.feature_item_brand != CHATTR_NORMAL + && (is_feature('>', gc.x, gc.y) + || is_feature('<', gc.x, gc.y))) + { + learned_something_new(TUT_STAIR_BRAND, gc.x, gc.y); + } } } |