diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-08 12:27:59 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-08 12:27:59 +0000 |
commit | f9b9c28845db9d3eb50ed242a14327305a617850 (patch) | |
tree | a072582ecd9caba662e58d88da354f692ca17511 /crawl-ref/source/tutorial.cc | |
parent | d8a3aef168a6f025525282d57a4649c01439404d (diff) | |
download | crawl-ref-f9b9c28845db9d3eb50ed242a14327305a617850.tar.gz crawl-ref-f9b9c28845db9d3eb50ed242a14327305a617850.zip |
Don't equip Spriggans with knives since they don't need a butchering
tool, and make pure casters not wield said knife (they're unarmed
instead). Hunters now start wielding their sling/bow/crossbow. Hunters
starting without a launcher will still be wielding their dagger.
Update the tutorial accordingly, i.e. you might not have to switch
weapons now to fire your bow.
Also, unrestrict Centaur Paladins.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6455 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()); |