(part of FR 1793669). Added description for reaching ego (bug 1792851). Added sorting statement before showing item knowledge, so items of the same class now are sorted alphabetically.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2081 c06c8d41-db1a-0410-9941-cceddc491573
X7X6JKZXOCG6NVLZLGNCQDFFXW4H3S77BVAJ5LS7ZHZ4GQVLMOMAC 6BO27PEAAOYJEOL5F5RWDMSLU7WUYSKC4LCANVIDMRZRMZWCEYUAC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC 2KTJHQUX2LTU2BCLS5YXVRRKMOYKKIZAPF2LBKORFGSHEN5IO3IAC KFZYPFHHOWRUZEK2PW26EI73Z6I6DLHW2YEJV2CB5XBWFRRNBFXQC 3KAINFIXO7WNWGUGZB43EUNFRS2ZPBLQZDTY456QACMRHYIJ7WDAC XBSRV4LDUNTV7IYWAUCE7SW3ILWWJUB5ZQCHACLLWBZK5M2WUPDAC return (false);
return (false);}} // unknown trapelse if (new_grid == DNGN_TRAP_MAGICAL){std::string prompt = "Really step onto that "; // preposition?prompt += feature_description(new_grid, trap_type_at_xy(x,y),DESC_PLAIN, false);prompt += '?';// Zot traps require capital confirmationbool harmless = (trap_type_at_xy(x,y) != TRAP_ZOT);if (!yesno(prompt.c_str(), harmless, 'n')){you.turn_is_over = false;return (false);}