From 1d5b5da76795d490b6cd64b35d0c61d19f25b5e9 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 28 Sep 2008 19:52:12 +0000 Subject: Vampire feeding changes: * remove randomness and unify formulas for nutrition value of blood potions and corpses, so bottling potions can no longer be used to enforce greater nutrition: this means that draining corpses give more nutrition now * draining duration now matches nutrition more closely (the formulas used to be completely distinct, and quite complicated) * decrease blood potions' nutrition again (I'd increased it in my previous related commit), coagulated blood gives only 80% nutrition * blood potions last a bit longer (counter 2000 -> 2500) * healing from blood potions is impossible * healing from corpses is only possible while they're still fresh (i.e. won't start rotting soon, counter > 150) * remove unrotting etc. effects, decrease healing from human corpses git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7055 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/misc.h') diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h index 35b5df6daa..21fc63889c 100644 --- a/crawl-ref/source/misc.h +++ b/crawl-ref/source/misc.h @@ -36,6 +36,7 @@ void drop_blood_potions_stack( item_def &stack, int quant, void pick_up_blood_potions_stack( item_def &stack, int quant ); bool can_bottle_blood_from_corpse( int mons_type ); +int num_blood_potions_from_corpse( int mons_class, int chunk_type = -1 ); void turn_corpse_into_blood_potions ( item_def &item ); void split_potions_into_decay( int obj, int amount, bool need_msg = true ); -- cgit v1.2.3-54-g00ecf