diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-21 20:03:28 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-21 20:03:28 +0000 |
commit | 1dee1ada624931648ac37a7a7f175f6c9a4a63a3 (patch) | |
tree | 1c9d7fa02f4d92e68086c0c8304f4fcca1621901 /crawl-ref/source/tutorial.cc | |
parent | ea2e13d9dc897bbe45a55d7a58e544f2ef44c970 (diff) | |
download | crawl-ref-1dee1ada624931648ac37a7a7f175f6c9a4a63a3.tar.gz crawl-ref-1dee1ada624931648ac37a7a7f175f6c9a4a63a3.zip |
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
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 44 |
1 files changed, 29 insertions, 15 deletions
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 " - "<w>C</w>, followed by the direction, or simply " - "<w>Ctrl-Direction</w>."; + "<w>C</w> while standing next to it. If there are several " + "doors you will then be prompted for a direction. " + "Alternatively, you can also use <w>Ctrl-Direction</w>."; #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 <w>z\?</w>) " - "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 <w>z\?</w> screen with and " + "without the item being worn.\n\n"; + } + + text << "If the spellcasting success chance is high (which can be " + "checked by entering <w>z\?</w>) 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 <w>z\?!</w>. The amount of " |