summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-12 16:42:14 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-12 17:18:39 -0400
commit17fcb76da48e9df5e215d49b98f9bfbbb70c028c (patch)
treedff7ec595bec885f5f965bcfc438e7e56809c07d /crawl-ref/source/tags.cc
parent11800bfe59ca3f514c6cfdb14438a31775d381a0 (diff)
downloadcrawl-ref-17fcb76da48e9df5e215d49b98f9bfbbb70c028c.tar.gz
crawl-ref-17fcb76da48e9df5e215d49b98f9bfbbb70c028c.zip
Remove Saprovorous from Ko, LO, HO, and Og
It didn't really do anything interesting, outside of Gh and Tr conducts. Also removes Fast metabolism from Ogres as compensation.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 950f3ae66f..af0e2a5445 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -2584,6 +2584,20 @@ static void tag_read_you(reader &th)
you.mutation[MUT_HERBIVOROUS] = you.innate_mutations[MUT_HERBIVOROUS];
}
+ if (th.getMinorVersion() < TAG_MINOR_SAPROVOROUS)
+ {
+ if (you.species != SP_TROLL && you.species != SP_GHOUL)
+ {
+ you.mutation[MUT_SAPROVOROUS] =
+ you.innate_mutations[MUT_SAPROVOROUS] = 0;
+ }
+ if (you.species == SP_OGRE)
+ {
+ // Remove the innate level of fast metabolism
+ you.mutation[MUT_FAST_METABOLISM] -= 1;
+ you.innate_mutations[MUT_FAST_METABOLISM] -= 1;
+ }
+ }
#endif
count = unmarshallUByte(th);