diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-08 00:54:06 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-08 00:54:06 +0000 |
commit | 0e33755da27b53c81548aa7df4894ae859887b4c (patch) | |
tree | f4a654475d6d58d61f56a81fea7618ca9f017e6d /crawl-ref/source/mon-data.h | |
parent | 37750174d01d5f928b84f5fcbd1ab668af5f8079 (diff) | |
download | crawl-ref-0e33755da27b53c81548aa7df4894ae859887b4c.tar.gz crawl-ref-0e33755da27b53c81548aa7df4894ae859887b4c.zip |
Add a monster ability to eat food (including corpses), and let harpies
have it.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10638 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-data.h')
-rw-r--r-- | crawl-ref/source/mon-data.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h index 3a609ff8b3..03870e5fe3 100644 --- a/crawl-ref/source/mon-data.h +++ b/crawl-ref/source/mon-data.h @@ -130,10 +130,13 @@ gmon_eat explanation: MONEAT_ITEMS, - MONEAT_CORPSES + MONEAT_CORPSES, + MONEAT_FOOD - Monsters with MONEAT_ITEMS are capable of eating most items, while - monsters with MONEAT_CORPSES are capable of eating corpses. + Monsters with MONEAT_ITEMS are capable of eating most items, + monsters with MONEAT_CORPSES are capable of eating corpses, and + monsters with MONEAT_FOOD are capable of eating food (note that + corpses also count as food). size: SIZE_TINY, // rats/bats @@ -2183,7 +2186,7 @@ static monsterentry mondata[] = { AT_NO_ATK, AT_NO_ATK }, { 7, 3, 5, 0 }, 2, 10, MST_NO_SPELLS, CE_CONTAMINATED, Z_BIG, S_SCREECH, I_NORMAL, - HT_LAND, 25, DEFAULT_ENERGY, MONUSE_NOTHING, MONEAT_NOTHING, SIZE_MEDIUM + HT_LAND, 25, DEFAULT_ENERGY, MONUSE_NOTHING, MONEAT_FOOD, SIZE_MEDIUM }, // ice beast ('I') |