diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-08 12:33:36 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-08 12:33:36 +0000 |
commit | 6e44de32ed92d31968e1490c7d10ba27e98ee392 (patch) | |
tree | 41970a37d7fc853521bb09642048d8b0404694ed /crawl-ref/source/tutorial.cc | |
parent | cebfd4f93efdfe6cc517f1bda0a59699a8149d3e (diff) | |
download | crawl-ref-6e44de32ed92d31968e1490c7d10ba27e98ee392.tar.gz crawl-ref-6e44de32ed92d31968e1490c7d10ba27e98ee392.zip |
Apply Abyss unlinked item fix and the changes to the starting equipment
to 0.4.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6456 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index d817947e01..66beec0fa4 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1239,13 +1239,28 @@ void tutorial_first_monster(const monsters &mon) text = "However, as a hunter you will want to deal with it using your " "bow. If you have a look at your bow from your " "<w>i</w>nventory, you'll find an explanation of how to do " - "this. First <w>w</w>ield it, then follow the instructions."; + "this. "; + + if (you.equip[EQ_WEAPON] == -1 + || you.inv[you.equip[EQ_WEAPON]].base_type != OBJ_WEAPONS + || you.inv[you.equip[EQ_WEAPON]].sub_type != WPN_BOW) + { + text += "First <w>w</w>ield it, then follow the instructions."; #ifdef USE_TILE text += EOL "As a short-cut you can also <w>right-click</w> on your " "bow to read its description, and <w>left-click</w> to wield " "it."; #endif + } +#ifdef USE_TILE + else + { + text += "Clicking with your <w>right mouse button</w> on your bow " + "will also let you read its description."; + } +#endif + formatted_message_history(text, MSGCH_TUTORIAL, 0, _get_tutorial_cols()); |