diff options
author | Eronarn Palazzo <eronarn@gmail.com> | 2011-04-07 17:26:17 -0400 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-01-08 04:00:27 +0100 |
commit | 7f40cb1dbc082dc22f1515a37ea004e53874013a (patch) | |
tree | 55c9a6285949a1b8a8816ac674d7e3972a8fe282 /crawl-ref/source/species.cc | |
parent | edbafac67ba211b639597daef508761c26f6b0c6 (diff) | |
download | crawl-ref-7f40cb1dbc082dc22f1515a37ea004e53874013a.tar.gz crawl-ref-7f40cb1dbc082dc22f1515a37ea004e53874013a.zip |
Lava orcs can swim in lava unless it is flagged as dangerous to them.
Being immersed in lava maxes temperature and prevents any decline.
Diffstat (limited to 'crawl-ref/source/species.cc')
-rw-r--r-- | crawl-ref/source/species.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/species.cc b/crawl-ref/source/species.cc index 00ecc8a4be..7194795973 100644 --- a/crawl-ref/source/species.cc +++ b/crawl-ref/source/species.cc @@ -236,6 +236,11 @@ bool species_likes_water(species_type species) || species == SP_OCTOPODE); } +bool species_likes_lava(species_type species) +{ + return (species == SP_LAVA_ORC); +} + genus_type species_genus(species_type species) { switch (species) |