Display minimum temperature required for reaction to occur in guidebook (#20424)

This commit is contained in:
TomaszKawalec
2023-09-24 23:33:25 +02:00
committed by GitHub
parent be1eca3b9f
commit cd9f0b8728
3 changed files with 11 additions and 2 deletions

View File

@@ -116,6 +116,12 @@ public sealed partial class GuideReagentEmbed : BoxContainer, IDocumentTag, ISea
reactantMsg.Pop();
ReactantsLabel.SetMessage(reactantMsg);
if (reactionPrototype.MinimumTemperature > 0.0f)
{
MixLabel.Text = Loc.GetString("guidebook-reagent-recipes-mix-and-heat",
("temperature", reactionPrototype.MinimumTemperature));
}
var productMsg = new FormattedMessage();
var productCount = reactionPrototype.Products.Count;
var u = 0;