diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-21 12:15:40 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-21 12:15:40 +0000 |
commit | 19cd3f60eb72fef46210d73fffeec8dd10769400 (patch) | |
tree | be5020659e46412ed645680e18ac2f2885f2b8fe /crawl-ref/source/output.cc | |
parent | aa3d47d0610ee14663c7920b166933c27bc453b3 (diff) | |
download | crawl-ref-19cd3f60eb72fef46210d73fffeec8dd10769400.tar.gz crawl-ref-19cd3f60eb72fef46210d73fffeec8dd10769400.zip |
Change mummy curses to only turn part of a stack of potions into decay.
Instead, the amount is 2 + random2(quantity - 1), so ranging anywhere
from 2 to the entire stack.
Yes, I know this is probably highly controversial, but I've thought
about it some, and I think that this will actually change little for
most characters: You still won't take large stacks of valuable potions
into the Tomb since even if only part of the stack is destroyed it's a
huge loss. On the other hand, this is easier on newbies who had no idea
this could happen, and makes it a bit more harder for Transmuters to
turn their twenty-something potions of water into decay.
I also added a message ("Your potions of xyz decay.") if you know the
decay type. Otherwise the message is suppressed, so as to replicate the
current situation of "Hey, what's this? When did I pick up those?
(q)uaff..."
For consistency, I also added a message when stuff is cursed, or rather
I merged all those "Your foo glows black" messages into do_curse_stuff()
that now takes a parameter "quiet" to control whether it's printed ot not.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4438 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index e49001f017..ac901039c8 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -791,7 +791,8 @@ static void _print_status_lights(int y) clear_to_end_of_line(); ++ line_cur; // Careful not to trip the )#(*$ cgotoxy ASSERT - if (line_cur == line_end) break; + if (line_cur == line_end) + break; cgotoxy(1, line_cur, GOTO_STAT); } } @@ -865,15 +866,16 @@ void print_stats(void) if (you.redraw_quiver || you.wield_change) { _print_stats_qv(10+yhack); + you.redraw_quiver = false; } - you.wield_change = false; - you.redraw_quiver = false; + you.wield_change = false; if (you.redraw_status_flags) { you.redraw_status_flags = 0; _print_status_lights(11+yhack); } + textcolor(LIGHTGREY); update_screen(); } |