diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 13:43:22 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 13:43:22 +0000 |
commit | b76663efc3848fa64e0133a55b339f691472e217 (patch) | |
tree | cafed5a231120970545f60d3a41d2413859be3b3 /crawl-ref/source/command.cc | |
parent | d764d49f10bab7f7c52cd2bf162dce86d02d822e (diff) | |
download | crawl-ref-b76663efc3848fa64e0133a55b339f691472e217.tar.gz crawl-ref-b76663efc3848fa64e0133a55b339f691472e217.zip |
Since there's currently only one type of portal vault (labyrinths are
treated differently) change the gate description to "gateway to a
bazaar", so the bazaar description can actually be searched for.
Eventually we might like to include Labyrinths, portal vaults, the
Abyss and Pandemonium in the branch descriptions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6334 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r-- | crawl-ref/source/command.cc | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 30651524f8..b9c51b7449 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -41,6 +41,7 @@ #include "mon-pick.h" #include "mon-util.h" #include "ouch.h" +#include "place.h" #include "player.h" #include "quiver.h" #include "religion.h" @@ -1020,8 +1021,16 @@ static std::vector<std::string> _get_branch_keys() names.push_back(branch.shortname); } - - return names; +/* + // Maybe include other level areas, as well. + for (int i = LEVEL_LABYRINTH; i < NUM_LEVEL_AREA_TYPES; i++) + { + names.push_back(place_name( + get_packed_place(BRANCH_MAIN_DUNGEON, 1, + static_cast<level_area_type>(i)), true)); + } +*/ + return (names); } static bool _monster_filter(std::string key, std::string body) @@ -1750,8 +1759,8 @@ static void _add_formatted_keyhelp(column_composer &cols) "<lightcyan>"; get_item_symbol(DNGN_ITEM_BOOK, &ch, &colour); - item_types += static_cast<char>(ch); - item_types += + item_types += static_cast<char>(ch); + item_types += "</lightcyan> : books (<w>r</w>ead, <w>M</w>emorise and <w>z</w>ap)\n" "<brown>\\</brown> : staves and rods (<w>w</w>ield and e<w>v</w>oke)\n" "<lightgreen>}</lightgreen> : miscellaneous items (e<w>v</w>oke)\n" |