summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-05-27 12:53:23 -0400
committerNeil Moore <neil@s-z.org>2013-05-27 13:09:49 -0400
commit78887ccb401792416bc48dc0dc94984e25df1f80 (patch)
tree910cdcbe15aa6ac7bfd6f5f6a1bd9cc0e4a0194a /crawl-ref/source/itemprop.h
parent77135a63571f1468c7632436ef476f4d0c1edf14 (diff)
downloadcrawl-ref-78887ccb401792416bc48dc0dc94984e25df1f80.tar.gz
crawl-ref-78887ccb401792416bc48dc0dc94984e25df1f80.zip
Simplify with food_is_meaty, food_is_veggie functions.
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index dd9034684b..d4cbe67020 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -147,6 +147,10 @@ bool ring_has_stackable_effect(const item_def &item) PURE;
// food functions:
bool is_blood_potion(const item_def &item) PURE;
bool is_fizzing_potion(const item_def &item) PURE;
+bool food_is_meaty(int food_type) PURE;
+bool food_is_meaty(const item_def &item) PURE;
+bool food_is_veggie(int food_type) PURE;
+bool food_is_veggie(const item_def &item) PURE;
int food_value(const item_def &item) PURE;
int food_turns(const item_def &item) PURE;
bool can_cut_meat(const item_def &item) PURE;