diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-02 17:57:40 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-08-02 17:57:40 +0000 |
commit | 73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf (patch) | |
tree | 84cbacf4db1eb4ff91bbb30f3e069169bd2f2a48 /crawl-ref/source/describe.cc | |
parent | e160fb287cda3717eebdee04c7a0a45b484549d6 (diff) | |
download | crawl-ref-73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf.tar.gz crawl-ref-73945a5e77bcfacb8aa8aa935f074cabb0a0f3cf.zip |
Apply Yelve Yakut's patch (2020369) to list monsters and items in view.
The command to do so is xx, and you can select an entry for more
details, which will be the database description ('v') for items and the
more detailed 'x' description for monsters, which I think is more useful.
What's still needed is some kind of sorting by, I guess, difficulty for
monsters and respecting sort_menus for the items. Also, the item listing
is not terribly useful at the moment but surely soon someone will think
of a way to change that. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6755 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 7776dc183b..592ff73fac 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2360,8 +2360,10 @@ void describe_monsters(const monsters& mons) if (mons_is_mimic(mons.type) && mons.type != MONS_GOLD_MIMIC) body << getLongDescription("mimic"); else + { body << getLongDescription(mons.base_name(DESC_DBNAME, false), mons.type == MONS_DANCING_WEAPON); + } std::string symbol = ""; symbol += get_monster_data(mons.type)->showchar; @@ -2454,9 +2456,9 @@ void describe_monsters(const monsters& mons) case MONS_PROGRAM_BUG: body << "If this monster is a \"program bug\", then it's " - "recommended that you save your game and reload. Please report " - "monsters who masquerade as program bugs or run around the " - "dungeon without a proper description to the authorities."; + "recommended that you save your game and reload. Please report " + "monsters who masquerade as program bugs or run around the " + "dungeon without a proper description to the authorities."; break; default: break; |