summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 13:33:58 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 13:33:58 +0000
commitcbb4198487aa2b7a3e59d5ad42d29bed2058ebbd (patch)
tree0b07c8eaca284090c82c8794549e7e0c474ec793 /crawl-ref/source/delay.cc
parentd21e4e79c268f7ed72f3c60b2e566c07047f4bc8 (diff)
downloadcrawl-ref-cbb4198487aa2b7a3e59d5ad42d29bed2058ebbd.tar.gz
crawl-ref-cbb4198487aa2b7a3e59d5ad42d29bed2058ebbd.zip
Change butchering prompt to hopefully be less confusing (BR 2009022).
Also add a key to some kind of butchering help (may need tweaking) and 'b' is yet another synonym for 'c' but will allow Vampires to butcher a corpse they'd otherwise bottle. This only works while the prompt is given, i.e. if always_confirm_butcher is false Vampires will automatically attempt to bottle the blood in a single corpse (unless that is impossible, in which case they'll butcher it instead). Also fix corpses sometimes not being destroyed when drained by a Vampire. (Big oops!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6366 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 8e2ffa7230..65a4dd7b60 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -1026,14 +1026,14 @@ static void _finish_delay(const delay_queue_item &delay)
: mitm[delay.parm2]);
vampire_nutrition_per_turn(corpse, 1);
- if (!mons_skeleton( corpse.plus ))
+ if (!mons_skeleton( corpse.plus ) || one_chance_in(4))
{
if (delay.parm1)
dec_inv_item_quantity( delay.parm2, 1 );
else
dec_mitm_item_quantity( delay.parm2, 1 );
}
- else if (!one_chance_in(4))
+ else
turn_corpse_into_skeleton(corpse, 90);
break;
}