rename Min/MaxTemperatureGrowth to TemperatureMinimum/Optimal
This commit is contained in:
@@ -96,7 +96,7 @@ public static class BeehiveInfoStringBuilder
|
||||
}
|
||||
|
||||
var cfg = Config.Instance;
|
||||
var isIncreasing = stats.Components.Temperature >= cfg.MaxTemperatureGrowth;
|
||||
var isIncreasing = stats.Components.Temperature >= cfg.TemperatureOptimal;
|
||||
|
||||
string detail;
|
||||
if (isIncreasing)
|
||||
@@ -337,9 +337,9 @@ public static class BeehiveInfoStringBuilder
|
||||
|
||||
if (verbosity is >= 1 and < 3)
|
||||
{
|
||||
if (temperature <= cfg.MinTemperatureGrowth)
|
||||
if (temperature <= cfg.TemperatureMinimum)
|
||||
builder.AppendLine(Lang.Get("orekiwoofsbeehives:beehive-info-temperature-overwintering"));
|
||||
else if (temperature < cfg.MaxTemperatureGrowth)
|
||||
else if (temperature < cfg.TemperatureOptimal)
|
||||
builder.AppendLine(Lang.Get("orekiwoofsbeehives:beehive-info-temperature-cold"));
|
||||
}
|
||||
else
|
||||
@@ -356,7 +356,7 @@ public static class BeehiveInfoStringBuilder
|
||||
|
||||
if (cfg.WinterHardMode
|
||||
&& stats.Components.FilledFramesCount <= 0
|
||||
&& temperature <= cfg.MinTemperatureGrowth)
|
||||
&& temperature <= cfg.TemperatureMinimum)
|
||||
builder.AppendLine($"<font color=\"#ff0000\">{Lang.Get("orekiwoofsbeehives:beehive-info-winter-starving")}</font>");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user