Private
Public Access
1
0

rename Min/MaxTemperatureGrowth to TemperatureMinimum/Optimal

This commit is contained in:
2026-05-25 09:21:35 +02:00
parent d7ca3f8e99
commit c5d34ec1b5
10 changed files with 76 additions and 31 deletions

View File

@@ -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>");
}