is triggered. Give info on avoid mechanical and natural traps by leviating or flying, and that natural and magical traps can't be disarmed. Give hint resting on up-stairs to make quick escape from monsters, and note that monsters can't follow up up unless they're right next to you.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5322 c06c8d41-db1a-0410-9941-cceddc491573
HNX5L5QUZWBQTOBEVKJTAMRX5NOCK7CVBIKMCLYEJLVJNCCUCXUAC
HQTS3VQ6PNUZKHNVEWMML7JNAAAKL4DSW3KFSRCCSLGYTDHZFCCAC
QXD3HX6QQ37PW6HVKIIKGFLO2ACROLUGKK66KFX7ED6SO4FDXB2AC
77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC
7HA2754QW3SBCAJ5K6KUXNXXXIZB5BIBCFPLXADCXHH6EREKXHSAC
LS5XCCGKQHSJQGWLWLGTP2F5OYWK4ND5AQQAGRN6H2HVBSXNCCZAC
ESWIM76FGJL4QFLSHU6AC4D74PT7OPLQ7ZCJYWLZS5UCBAJDXYHAC
S2LIBA2CLTZ6ZU66AUZ2CCNLCDOBSGWQGTZ6HFAFP2XSWAALGLSQC
GL6SGPBZQPJBVGPOASYVCTAFXS7RNARR6Y5WZMIO5YCTB7ZJY4KAC
A3MLQ7PZMDW5YGEKMX6YOKMJQE7CZPULZ4SWAFKAQIKWI5XXYG7AC
KEANRIMF5CGFVZ2XJYNFPOAKLXOSOJUOVA73IWBWOG576265ERHAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
text << "Oops... you just triggered a trap. An unwary adventurer "
"will occasionally stumble into one of these nasty "
"constructions";
if (x == you.x_pos && y == you.y_pos)
text << "Oops... you just triggered a trap. ";
else
text << "You just discovered a trap. ";
text << "An unwary adventurer will occasionally stumble into one "
"of these nasty constructions";
".";
".\n\n"
"When resting up on the next (deeper) level it's wise "
"to retreat to an up staircase or hatch so you can "
"retreat to the previous level if a monster wanders "
"across you. Monsters can only follow you up if they're "
"standing right next to you, so if they're still at least "
"two squares away you can flee and safely rest on the "
"the previous level. They'll still be there when you "
"go back down, though, so you'd want to go back down a "
"different set of stairs so they can't get the jump on "
"you when you return.";
"dangerous task.";
"dangerous task.\n\n"
"You can safely pass over a mechanical trap if "
"you're flying or leviating.";
}
else
{
ostr << "Magical traps can't be disarmed, and unlike "
"mechanical traps you can't avoid tripping them "
"by levitating or flying over them.";
ostr << "You can enter the previous (shallower) level by following "
"these up (<w><<</w>). To get back to this level "
"again, press <w>></w> while standing on the "
ostr << "You can enter the previous (shallower) level by "
"following these up (<w><<</w>). This is ideal for "
"retreating or fidning a safe resting spot, since the "
"previous level will have less monsters and monsters "
"on this level can't follow you up unless they're "
"standing right next to you. To get back to this "
"level again, press <w>></w> while standing on the "