summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-21 00:48:40 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-21 20:53:48 -0400
commite45c69eaa1975f51bfec6da3a0c4e618c53bc3af (patch)
tree3e7fd46b9eba2a4d5759e48cac5a61078c6cf267 /crawl-ref/source/tags.cc
parent8cfef17bd41f1dd479a113daefb78197f96f8623 (diff)
downloadcrawl-ref-e45c69eaa1975f51bfec6da3a0c4e618c53bc3af.tar.gz
crawl-ref-e45c69eaa1975f51bfec6da3a0c4e618c53bc3af.zip
Remove Ce and Ha special diets
Both of these diets would need to be specially handled by the upcoming chunk eating removal/food simplification. Ce diet was far more effective at annoying players than balancing the species, but if necessary than Ce could easily take a nerf. A simple solution would be to change their Bows apt to +2 Ha diet was mostly a convenience for all it affected the game. (See: fdf79a466cf6 removing it from Gr) Hopefully all species will be more convenient than current Halflings by 0.15's release.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 677d6cff77..4cead7570f 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -2582,12 +2582,14 @@ static void tag_read_you(reader &th)
you.innate_mutation[MUT_NO_DEVICE_HEAL] = 2;
}
}
+
if (th.getMinorVersion() < TAG_MINOR_DIET_MUT)
{
you.mutation[MUT_CARNIVOROUS] = you.innate_mutation[MUT_CARNIVOROUS];
you.mutation[MUT_HERBIVOROUS] = you.innate_mutation[MUT_HERBIVOROUS];
}
+
if (th.getMinorVersion() < TAG_MINOR_SAPROVOROUS)
{
if (you.species == SP_LAVA_ORC || you.species == SP_HILL_ORC
@@ -2603,6 +2605,24 @@ static void tag_read_you(reader &th)
you.innate_mutation[MUT_FAST_METABOLISM] -= 1;
}
}
+
+ if (th.getMinorVersion() < TAG_MINOR_CE_HA_DIET)
+ {
+ if (you.species == SP_CENTAUR)
+ {
+ you.mutation[MUT_FAST_METABOLISM] -= 1;
+ you.innate_mutation[MUT_FAST_METABOLISM] -= 1;
+
+ you.mutation[MUT_HERBIVOROUS] -= 1;
+ you.innate_mutation[MUT_HERBIVOROUS] -= 1;
+ }
+ else if (you.species == SP_HALFLING)
+ {
+ you.mutation[MUT_SLOW_METABOLISM] -= 1;
+ you.innate_mutation[MUT_SLOW_METABOLISM] -= 1;
+ }
+ }
+
#endif
count = unmarshallUByte(th);