From 6945b9d587b894371ba4d6d99f9ee1b8ee3beb86 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 4 May 2009 11:19:30 +0000 Subject: Update tutorial information, inscription warnings and tooltips for wands and misc. items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9732 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 4d6e541721..e66d659c63 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -21,6 +21,7 @@ REVISION("$Rev$"); #include "abl-show.h" #include "cloud.h" #include "command.h" +#include "decks.h" #include "describe.h" #include "food.h" #include "format.h" @@ -176,12 +177,14 @@ bool pick_tutorial() // Did the player recently see a monster turn invisible? Options.tut_seen_invisible = 0; - Options.random_pick = true; // random choice of starting spellbook + Options.random_pick = false; + if (!Options.book || Options.book == SBT_SUMM) + Options.book = SBT_RANDOM; Options.weapon = WPN_HAND_AXE; // easiest choice for fighters return (true); } - if (keyn == CK_BKSP || keyn == ' ') + if (keyn == CK_BKSP || keyn == ' ' || keyn == ESCAPE) { // In this case, undo previous choices. you.species = SP_UNKNOWN; @@ -1489,7 +1492,7 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) ". Simply click on it with your left mouse button, or " "type " #endif - "Z to zap it."; + "V to evoke it."; break; case TUT_SEEN_SPBOOK: @@ -1716,13 +1719,13 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) text << "This is a curious object indeed. You can play around with " "it to find out what it does by " #ifdef USE_TILE - "clicking on it once to wield it, and a second time " - "to evoke " + "clicking on it to eVoke " #else - "wielding and evoking " + "evoking " #endif - "it. As usually, selecting it from your inventory " - "might give you more information."; + "it. Some items need to be wielded first before you can " + "evoke them. As usually, selecting it from your " + "inventory might give you more information."; break; case TUT_SEEN_STAFF: @@ -3436,12 +3439,21 @@ void tutorial_describe_item(const item_def &item) break; case OBJ_MISCELLANY: - ostr << "Miscellaneous items sometimes harbour magical powers. Try " - "wielding and evoking it" + if (is_deck(item)) + { + ostr << "Decks of cards are powerful magical items. Try " + "wielding and evoking it" #ifdef USE_TILE - ", either of which can be done by clicking on it" + ", either of which can be done by clicking on it" #endif - "."; + ". You can read about the effect of a card by " + "searching the game's database with ?/c."; + } + else + { + ostr << "Miscellaneous items sometimes harbour magical powers " + "that can be harnessed by eVoking the item."; + } Options.tutorial_events[TUT_SEEN_MISC] = false; break; -- cgit v1.2.3-54-g00ecf