Files
wwdpublic/Content.Client/Guidebook/Controls/GuideFoodSource.xaml
Mnemotechnican 7974d2affe Food Recipe Guidebook (#783)
# Description
Adds an auto-generated list of recipes to the guidebook. This was mostly
made using the chemical list as a reference, so it's a bit shitcode-ey.

# TODO
- [X] Make less ugly (add paddings to table cells and fix colors)
- [X] Fix sprites not working
- [X] Unshitcode (if possible)

<details><summary><h1>Media</h1></summary>
<p>


https://github.com/user-attachments/assets/597cbec1-7114-480b-ab8d-5ed9f8b2e0c3

</p>
</details>

# Changelog
🆑
- add: The "food recipes" page in guidebook now contains an
automatically generated list of food recipes.
2024-10-19 12:41:54 +07:00

38 lines
1.6 KiB
XML

<BoxContainer xmlns="https://spacestation14.io"
Orientation="Horizontal"
HorizontalAlignment="Stretch"
HorizontalExpand="True"
Margin="0 0 0 5">
<BoxContainer Name="ReactantsContainer" Orientation="Vertical" VerticalAlignment="Center">
<TextureRect HorizontalAlignment="Center"
Name="SourceTexture"
Access="Public"/>
<!-- Using rich label here because apparently normal labels do not support soft wrap -->
<RichTextLabel Name="SourceLabel"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Access="Public"
Margin="2 0 0 0"/>
</BoxContainer>
<BoxContainer Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalExpand="True">
<TextureRect HorizontalAlignment="Center"
Name="ProcessingTexture"
Access="Public"/>
<Label Name="ProcessingLabel"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Access="Public"
Margin="2 0 0 0"/>
</BoxContainer>
<BoxContainer Orientation="Vertical" VerticalAlignment="Center">
<TextureRect HorizontalAlignment="Center"
Name="OutputsTexture"
Access="Public"/>
<Label Name="OutputsLabel"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Access="Public"
Margin="2 0 0 0"/>
</BoxContainer>
</BoxContainer>