summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 23:21:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 23:21:52 +0000
commitc408f8b544f47a4d2e7aebc75c8ac5535d4767b6 (patch)
treec9f66c8020ed349f213e9e1835459b1feb473b88 /crawl-ref/source/mon-util.cc
parent419f00a75943e625e36cb6fb2eafe6e4e11f6024 (diff)
downloadcrawl-ref-c408f8b544f47a4d2e7aebc75c8ac5535d4767b6.tar.gz
crawl-ref-c408f8b544f47a4d2e7aebc75c8ac5535d4767b6.zip
Harpies now also eat food on the ground.
Add a description (as suggested by David) and two quotes. Since harpies will eat anything they are now resistant to poison. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7737 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 3e6cf8ceec..93da5b7121 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -537,7 +537,8 @@ bool mons_is_native_in_branch(const monsters *monster,
case BRANCH_SHOALS:
return (mons_species(monster->type) == MONS_CYCLOPS
|| mons_species(monster->type) == MONS_MERFOLK
- || mons_genus(monster->type) == MONS_MERMAID);
+ || mons_genus(monster->type) == MONS_MERMAID
+ || monster->type == MONS_HARPY);
case BRANCH_SLIME_PITS:
return (mons_species(monster->type) == MONS_JELLY);
@@ -2955,7 +2956,7 @@ const char *mons_pronoun(monster_type mon_type, pronoun_type variant,
{
gender_type gender = GENDER_NEUTER;
- if (mons_genus(mon_type) == MONS_MERMAID)
+ if (mons_genus(mon_type) == MONS_MERMAID || mon_type == MONS_HARPY)
gender = GENDER_FEMALE;
else if (mons_is_unique(mon_type) && mon_type != MONS_PLAYER_GHOST)
{