summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-26 16:31:22 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-26 16:31:22 +0000
commitc96ad74301106bbc2163c96ae96590c23feb4a59 (patch)
treef75dc7bee9ed7ebe65990b1a01ce2a61e243f9f9 /crawl-ref/source/shopping.cc
parent2f6db23aaa3fcd1984982e0962151ef2003a9b4a (diff)
downloadcrawl-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/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index f80d11d5fd..6629a2a089 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -1137,6 +1137,7 @@ unsigned int item_value( item_def item, bool ident )
case POT_RESTORE_ABILITIES:
valued += 50;
break;
+ case POT_BLOOD:
case POT_BERSERK_RAGE:
case POT_HEAL_WOUNDS:
valued += 30;
@@ -1145,11 +1146,11 @@ unsigned int item_value( item_def item, bool ident )
case POT_SPEED:
valued += 25;
break;
- case POT_BLOOD:
case POT_HEALING:
case POT_LEVITATION:
valued += 20;
break;
+ case POT_BLOOD_COAGULATED:
case POT_PORRIDGE:
valued += 10;
break;