diff options
author | Neil Moore <neil@s-z.org> | 2014-07-21 22:57:23 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-21 23:01:16 -0400 |
commit | 98569aa5af126433695ce5eead41ccb956b60ffb (patch) | |
tree | cddb3fa19ee80123060a626b945ec5f6eced2edd /crawl-ref/source/mutation.cc | |
parent | 309c75daecf619ab7f139bd2c98659f7d8d68040 (diff) | |
download | crawl-ref-98569aa5af126433695ce5eead41ccb956b60ffb.tar.gz crawl-ref-98569aa5af126433695ce5eead41ccb956b60ffb.zip |
Don't indicate suppressable mutations unless suppressed (#8814)
It's confusing to players, some of whom think the * means the mutation
is currently suppressed. Worse, it didn't even pay attention to
whether the form spells you know actually would suppress the mutation.
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r-- | crawl-ref/source/mutation.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index db1027639d..8eca564f37 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -230,7 +230,6 @@ mutation_activity_type mutation_activity_level(mutation_type mut) // recent call to describe_mutations. TODO: eliminate static int _num_full_suppressed = 0; static int _num_part_suppressed = 0; -static int _num_form_based = 0; static int _num_transient = 0; // Can the player transform? Returns true if the player is ever capable @@ -276,12 +275,6 @@ static string _annotate_form_based(string desc, bool suppressed) ++_num_full_suppressed; } - if (_player_can_transform()) - { - ++_num_form_based; - desc += "<yellow>*</yellow>"; - } - return desc + "\n"; } @@ -299,7 +292,6 @@ string describe_mutations(bool center_title) string scale_type = "plain brown"; _num_full_suppressed = _num_part_suppressed = 0; - _num_form_based = 0; _num_transient = 0; if (center_title) @@ -897,8 +889,6 @@ void display_mutations() extra += "<brown>()</brown> : Partially suppressed.\n"; if (_num_full_suppressed) extra += "<darkgrey>(())</darkgrey>: Completely suppressed.\n"; - if (_num_form_based) // TODO: check for form spells? - extra += "<yellow>*</yellow> : Suppressed by some changes of form.\n"; if (_num_transient) extra += "<magenta>[]</magenta> : Transient mutations."; if (you.species == SP_VAMPIRE) @@ -2016,12 +2006,6 @@ string mutation_desc(mutation_type mut, int level, bool colour) result = "(" + result + ")"; ++_num_part_suppressed; } - - if (mdef.form_based && _player_can_transform()) - { - ++_num_form_based; - result += colour ? "<yellow>*</yellow>" : "*"; - } } if (temporary) |