From c96ad74301106bbc2163c96ae96590c23feb4a59 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 26 Mar 2008 16:31:22 +0000 Subject: 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 --- crawl-ref/source/itemprop.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index a518f8970e..b1420070d0 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -408,6 +408,12 @@ static food_def Food_prop[NUM_FOODS] = // be accessed correctly. void init_properties() { + // compare with enum comments, to catch changes + COMPILE_CHECK(NUM_ARMOURS == 37, c1); + COMPILE_CHECK(NUM_WEAPONS == 48, c2); + COMPILE_CHECK(NUM_MISSILES == 9, c3); + COMPILE_CHECK(NUM_FOODS == 22, c4); + int i; for (i = 0; i < NUM_ARMOURS; i++) -- cgit v1.2.3-54-g00ecf