diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-26 16:31:22 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-26 16:31:22 +0000 |
commit | c96ad74301106bbc2163c96ae96590c23feb4a59 (patch) | |
tree | f75dc7bee9ed7ebe65990b1a01ce2a61e243f9f9 /crawl-ref/source/it_use2.h | |
parent | 2f6db23aaa3fcd1984982e0962151ef2003a9b4a (diff) | |
download | crawl-ref-c96ad74301106bbc2163c96ae96590c23feb4a59.tar.gz crawl-ref-c96ad74301106bbc2163c96ae96590c23feb4a59.zip |
Split potions of blood and potions of coagulated blood into two
distinct potion types to make stacking easier. Coagulated blood
is not created randomly, and aging potions of blood turn into
potions of coagulated blood, so none of that changed. Well,
except the name: congealed -> coagulated. This also means that
they now have distinct descriptions, though seeing potions in
your inventory coagulate will identify both of them.
And I checked: potions in shops will coagulate as well and
disappear. Coagulated blood is cheaper, but if you need it you
won't want to wait around, right?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3884 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.h')
-rw-r--r-- | crawl-ref/source/it_use2.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/it_use2.h b/crawl-ref/source/it_use2.h index e8f8b1c541..110a5eeaa7 100644 --- a/crawl-ref/source/it_use2.h +++ b/crawl-ref/source/it_use2.h @@ -42,17 +42,18 @@ enum potion_type POT_BERSERK_RAGE, POT_CURE_MUTATION, POT_MUTATION, - POT_BLOOD, POT_RESISTANCE, - NUM_POTIONS + POT_BLOOD, // 25 + POT_BLOOD_COAGULATED, + NUM_POTIONS // 27 }; + /* *********************************************************************** * called from: ability - beam - decks - item_use - misc - religion - * spell - spells - spells1 * *********************************************************************** */ -bool potion_effect(potion_type pot_eff, int pow); - +bool potion_effect(potion_type pot_eff, int pow, bool was_known = true); /* *********************************************************************** * called from: item_use |