diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-07 21:32:07 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-07 21:32:07 +0000 |
commit | 5a806811128416a0c67409e137c929873c28cd7a (patch) | |
tree | fbde21511115a46723c43fcc07f7701e89cbefa4 /crawl-ref/source/food.cc | |
parent | f5a70a7cbd7c9a7dd6c41fdfade1dc53dbb77f0f (diff) | |
download | crawl-ref-5a806811128416a0c67409e137c929873c28cd7a.tar.gz crawl-ref-5a806811128416a0c67409e137c929873c28cd7a.zip |
Nerf damage of the bat transformation. Reduced from
2 + skill(unarmed_combat)/3 to
2 + rnd(skill(unarmed_combat)/5 + 1)
Also replace the menu_colour_prefix colouring for prompts and the like
to use message_colour instead, so those "msg" abbreviations in
food_colouring.txt actually have an effect now, and players can disable
colouring of prompts etc. (respects channels) while leaving it on in the
inventory.
I'm leaving the menu_colour_prefix function in for now, in case it can
be used somewhere else.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5558 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index a9bb28244e..07759d0fcc 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -564,8 +564,8 @@ bool butchery(int which_corpse) // Also, don't bother colouring if it's only for sacrificing. if (!sacrifice && !you.is_undead) { - corpse_name = get_menu_colour_prefix_tags(mitm[o], - DESC_NOCAP_A); + corpse_name = get_message_colour_tags(mitm[o], DESC_NOCAP_A, + MSGCH_PROMPT); } // Shall we butcher this corpse? |