Display minimum temperature required for reaction to occur in guidebook (#20424)
This commit is contained in:
@@ -25,8 +25,10 @@
|
||||
VerticalAlignment="Center"/>
|
||||
</BoxContainer>
|
||||
<BoxContainer Orientation="Vertical" VerticalAlignment="Center">
|
||||
<TextureRect TexturePath="/Textures/Interface/Misc/beakerlarge.png"/>
|
||||
<Label Text="{Loc 'guidebook-reagent-recipes-mix'}"
|
||||
<TextureRect TexturePath="/Textures/Interface/Misc/beakerlarge.png"
|
||||
HorizontalAlignment="Center"/>
|
||||
<Label Name="MixLabel"
|
||||
Text="{Loc 'guidebook-reagent-recipes-mix'}"
|
||||
HorizontalAlignment="Center"/>
|
||||
</BoxContainer>
|
||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" VerticalAlignment="Center">
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -11,6 +11,7 @@ guidebook-reagent-name = [bold][color={$color}]{CAPITALIZE($name)}[/color][/bold
|
||||
guidebook-reagent-recipes-header = Recipe
|
||||
guidebook-reagent-recipes-reagent-display = [bold]{$reagent}[/bold] \[{$ratio}\]
|
||||
guidebook-reagent-recipes-mix = Mix
|
||||
guidebook-reagent-recipes-mix-and-heat = Mix at above {$temperature}K
|
||||
guidebook-reagent-effects-header = Effects
|
||||
guidebook-reagent-effects-metabolism-group-rate = [bold]{$group}[/bold] [color=gray]({$rate} units per second)[/color]
|
||||
guidebook-reagent-physical-description = Seems to be {$description}.
|
||||
|
||||
Reference in New Issue
Block a user