diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-20 21:50:54 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-20 21:50:54 +0000 |
commit | f86f721a09fef1f93958a2abc37da555d87f8971 (patch) | |
tree | 1851c4f80e2848734dc5c2202b3478f890818253 /crawl-ref/source/invent.cc | |
parent | 3219115e22de903dd8795fc40e101d6c05ab3291 (diff) | |
download | crawl-ref-f86f721a09fef1f93958a2abc37da555d87f8971.tar.gz crawl-ref-f86f721a09fef1f93958a2abc37da555d87f8971.zip |
* Add ability descriptions to the database search.
* Xom no longer gifts stuff that unquestionably makes for a more boring
adventure (scrolls of Detect/Remove Curse, Magic Mapping, Identify;
potion of cure mutation, amulet of resist mutation, ring of control
teleport).
* Xom's "niceness" is no longer automatically defined by his mood, but
it's now randomly picked according to piety > random2(200), which
translates to nice, else the opposite. A "beloved toy" is extremely
likely to get nice effects, and vice versa for the "beloved plaything".
* In xom_acts, instead of 50% chance for piety flip, there's now a 20%
chance of piety being randomly rerolled.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9523 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index df108101d2..7ee1b3b064 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -739,8 +739,8 @@ void InvMenu::load_items(const std::vector<const item_def*> &mitems, _get_class_hotkeys(i, glyphs); if (!glyphs.empty()) { - const std::string misc = "Miscellaneous"; - subtitle += std::string(misc.length() + const std::string str = "Magical Devices"; // longest string + subtitle += std::string(str.length() - subtitle.length() + 1, ' '); subtitle += "(select all with <w>"; for (unsigned int k = 0; k < glyphs.size(); ++k) |