summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-14 10:42:56 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-14 11:05:04 -0600
commitf79658290cfba25e9b1108889a64994f933d6e1f (patch)
tree08847e99d719e89487540106eea654850868ddf6 /crawl-ref/source/mutation.cc
parentedb40d360931499a73b11273a2af2a7e1d5fe4f4 (diff)
downloadcrawl-ref-f79658290cfba25e9b1108889a64994f933d6e1f.tar.gz
crawl-ref-f79658290cfba25e9b1108889a64994f933d6e1f.zip
Melt away lava orcs.
When you strip away the fundamentally broken tension mechanic, you're left with a species that is essentially "Hill Orcs WITH FIRE". No effort has come forward with code to fix either aspect of them despite the length of time they've been around in trunk, and the code is littered with a very large number of special cases in their presence. Current lava orcs should be able to finish their games fine, but new starts are disallowed. There are a couple of bits I've left present but which will have no function for the moment, mostly related to interactions with lava (as there are a couple of species proposals floating around that benefit from having those interactions).
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r--crawl-ref/source/mutation.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index d6091d9214..9cc22bd312 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -530,6 +530,7 @@ string describe_mutations(bool center_title)
break;
#endif
+#if TAG_MAJOR_VERSION == 34
case SP_LAVA_ORC:
{
have_any = true;
@@ -579,6 +580,7 @@ string describe_mutations(bool center_title)
break;
}
+#endif
case SP_FORMICID:
result += "Your are under a permanent stasis effect.\n";
@@ -729,6 +731,7 @@ static const string _vampire_Ascreen_footer = (
" to toggle between mutations and properties depending on your\n"
"hunger status.\n");
+#if TAG_MAJOR_VERSION == 34
static const string _lava_orc_Ascreen_footer = (
#ifndef USE_TILE_LOCAL
"Press '<w>!</w>'"
@@ -737,6 +740,7 @@ static const string _lava_orc_Ascreen_footer = (
#endif
" to toggle between mutations and properties depending on your\n"
"temperature.\n");
+#endif
static void _display_vampire_attributes()
{
@@ -835,6 +839,7 @@ static void _display_vampire_attributes()
}
}
+#if TAG_MAJOR_VERSION == 34
static void _display_temperature()
{
ASSERT(you.species == SP_LAVA_ORC);
@@ -914,6 +919,7 @@ static void _display_temperature()
display_mutations();
}
}
+#endif
void display_mutations()
{
@@ -938,6 +944,7 @@ void display_mutations()
extra += _vampire_Ascreen_footer;
}
+#if TAG_MAJOR_VERSION == 34
if (you.species == SP_LAVA_ORC)
{
if (!extra.empty())
@@ -945,6 +952,7 @@ void display_mutations()
extra += _lava_orc_Ascreen_footer;
}
+#endif
if (!extra.empty())
{
@@ -965,12 +973,14 @@ void display_mutations()
{
_display_vampire_attributes();
}
+#if TAG_MAJOR_VERSION == 34
if (you.species == SP_LAVA_ORC
&& (mutation_menu.getkey() == '!'
|| mutation_menu.getkey() == CK_MOUSE_CMD))
{
_display_temperature();
}
+#endif
}
static int _calc_mutation_amusement_value(mutation_type which_mutation)