From 1dee1ada624931648ac37a7a7f175f6c9a4a63a3 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 21 Sep 2008 20:03:28 +0000 Subject: Fix 2121686: buggy net handling when returning to a level FR 2029644: Some small tutorial improvements. Switch off autopickup if you see a monster turn invisible. (BR 2085502) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6970 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 536d07fc53..8c9a99f57a 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1961,8 +1961,9 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) #endif "is a closed door. You can open it by walking into it. " "Sometimes it is useful to close a door. Do so by pressing " - "C, followed by the direction, or simply " - "Ctrl-Direction."; + "C while standing next to it. If there are several " + "doors you will then be prompted for a direction. " + "Alternatively, you can also use Ctrl-Direction."; #ifdef USE_TILE text << "\nIn Tiles, the same can be achieved by clicking on an " "adjacent door square."; @@ -2695,21 +2696,34 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) break; case TUT_SPELL_MISCAST: - text << "You just miscast a spell. If the spell casting success " - "chance is high (which can be checked by entering z\?) " - "then a miscast merely means the spell is not working, along " - "with a harmless side effect. However, for spells with a " - "low success rate there's a chance of contaminating yourself " - "with magical energy, plus a chance of an additional harmful " - "side effect. Normally this isn't a problem, since magical " - "contamination bleeds off over time, but if you're repeatedly " - "contaminated in a short amount of time you'll mutate or " - "suffer from other ill side effects.\n\n" - - "Note that a miscast spell will still consume the full amount " + { + text << "You just miscast a spell. "; + + item_def *armour = you.slot_item(EQ_BODY_ARMOUR); + item_def *shield = you.slot_item(EQ_SHIELD); + if (armour && !is_light_armour(*armour) || shield) + { + text << "Wearing heavy body armour or using a shield, especially a " + "large one, can severely hamper your spellcasting " + "abilities. You can check the effect of this by comparing " + "the success rates on the z\? screen with and " + "without the item being worn.\n\n"; + } + + text << "If the spellcasting success chance is high (which can be " + "checked by entering z\?) then a miscast merely means " + "the spell is not working, along with a harmless side effect. " + "However, for spells with a low success rate there's a chance " + "of contaminating yourself with magical energy, plus a chance " + "of an additional harmful side effect. Normally this isn't a " + "problem, since magical contamination bleeds off over time, " + "but if you're repeatedly contaminated in a short amount of " + "time you'll mutate or suffer from other ill side effects.\n\n"; + + text << "Note that a miscast spell will still consume the full amount " "of MP and nutrition that a successfully cast spell would."; break; - + } case TUT_SPELL_HUNGER: text << "The spell you just cast made you hungrier; you can see how " "hungry spells make you by entering z\?!. The amount of " -- cgit v1.2.3-54-g00ecf