summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-28 19:52:12 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-28 19:52:12 +0000
commit1d5b5da76795d490b6cd64b35d0c61d19f25b5e9 (patch)
treeb98e4fd138474963147a917535989e5676d5c420 /crawl-ref/source/misc.h
parent21361a5df873316c55c3e4e494249377149b2334 (diff)
downloadcrawl-ref-1d5b5da76795d490b6cd64b35d0c61d19f25b5e9.tar.gz
crawl-ref-1d5b5da76795d490b6cd64b35d0c61d19f25b5e9.zip
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
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r--crawl-ref/source/misc.h1
1 files changed, 1 insertions, 0 deletions
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 );