summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-25 20:38:08 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-25 20:38:08 +0000
commita99482600e234c892e8d0c257c44ebbbef7053b8 (patch)
tree26d3ff8c3a571997b7c88929f16b9039aec0ea84 /crawl-ref/source/stash.cc
parent94d9e1a1dbf297d9882754d07021ddb2793657b2 (diff)
downloadcrawl-ref-a99482600e234c892e8d0c257c44ebbbef7053b8.tar.gz
crawl-ref-a99482600e234c892e8d0c257c44ebbbef7053b8.zip
* Use menu colours (rather than message colours) for item announcements
and the like. * Fix 'V' if there are more than 52 monsters/items in the list. * Make Xom act more often, with the probability depending strongly on tension. Also tweak a few action probabilities according to tension, so that e.g. summons are more likely for high tension. * Fix monsters being created with large quantities of curare needles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9546 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index a2f47ffc7a..cecf818d5c 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -515,8 +515,10 @@ void StashMenu::draw_title()
textcolor(title->colour);
cprintf( "%s", title->text.c_str());
if (title->quantity)
+ {
cprintf(", %d item%s", title->quantity,
title->quantity == 1? "" : "s");
+ }
cprintf(")");
if (can_travel)
cprintf(" [ENTER: travel]");