summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_mons.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-02-23 17:32:58 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-02-23 17:55:53 -0600
commit7a09d0168e4c62c859219637e904fa2ab7682de3 (patch)
treec20ba2d7fad8c4dd73f992f9f6e36ae16cd06751 /crawl-ref/source/l_mons.cc
parent9378ffeb53c46362fc46467d0788ca22ae49daf7 (diff)
downloadcrawl-ref-7a09d0168e4c62c859219637e904fa2ab7682de3.tar.gz
crawl-ref-7a09d0168e4c62c859219637e904fa2ab7682de3.zip
Split monsters' eating honeycombs/royal jellies into its own food type.
It's only used for killer bee larvae, but the same can be said for eating items and jelly-types, and making it a separate food type is cleaner.
Diffstat (limited to 'crawl-ref/source/l_mons.cc')
-rw-r--r--crawl-ref/source/l_mons.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/l_mons.cc b/crawl-ref/source/l_mons.cc
index 651500cd75..593ed5bb0a 100644
--- a/crawl-ref/source/l_mons.cc
+++ b/crawl-ref/source/l_mons.cc
@@ -208,7 +208,12 @@ MDEF(muse)
static const char *_moneat_names[] =
{
- "nothing", "items", "corpses", "food"
+ "nothing", "items", "corpses",
+#if TAG_MAJOR_VERSION == 32
+ "food", "honey"
+#else
+ "honey", "food"
+#endif
};
static const char *_moneat_to_str(mon_itemeat_type etyp)