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/direct.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/direct.cc')
-rw-r--r-- | crawl-ref/source/direct.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index 11acd1c91f..36ab799592 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -47,6 +47,7 @@ #include "spells4.h" #include "stash.h" #include "travel.h" +#include "tutorial.h" #include "view.h" #include "macro.h" @@ -1763,7 +1764,13 @@ static void describe_cell(int mx, int my) marker.c_str(), traveldest.c_str()); #else - mpr(feature_desc.c_str()); + if (Options.tutorial_left && tutorial_feat_interesting(grd[mx][my])) + { + feature_desc += " (Press <w>v<lightgray> for more information.)"; + print_formatted_paragraph(feature_desc, 80); + } + else + mpr(feature_desc.c_str()); #endif } |