Added new release, updated nodes to contain tooltip text.

This commit is contained in:
2026-05-14 13:02:25 +02:00
parent 588879951d
commit a2acfcefd6
20 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ public partial class CodingWindow : PanelContainer
};
nodeListButton.MouseEntered += () =>
{
nodeTooltip.ShowTooltip(nodeTemplate.DisplayText, nodeTemplate.DisplayText, nodeListButton);
nodeTooltip.ShowTooltip(nodeTemplate.DisplayText, nodeTemplate.TooltipText, nodeListButton);
};
nodeListButton.MouseExited += () =>
{
+1 -1
View File
@@ -10,10 +10,10 @@ public partial class NodeTooltip : PanelContainer
public void ShowTooltip(string titleText, string descriptionText, Button button)
{
Show();
title.Text = titleText;
image.Texture = ResourceLoader.LoadDSLTooltip(titleText);
description.Text = descriptionText;
Show();
Position = button.GlobalPosition - spacing - new Vector2(Size.X, Size.Y/2);
}
+1 -1
View File
@@ -39,7 +39,7 @@ public partial class TutorialBubble : PanelContainer
"You do not walk through the ruin yourself. Your robots explore, harvest, craft and carry progress for you.",
"The top bar shows survival pressure: energy, water and food. If those run out, the expedition ends.",
"The necessary resources will be auto-consumed during your time here.",
"For energy: steam, battery v1 and battery v2. For thirst: water. For food: mushrooms.",
"For energy: coal, steam, battery v1 and battery v2. For thirst: water. For food: mushrooms.",
"Try to keep a stock of those items to avoid dying in this ruin.",
"Open the robot panel (Default: [R]) to inspect your robots. A robot can overheat, lose maintenance and slow down if ignored.",
"An overheated robot has to cool down for a while and cannot execute scripts.",