This commit is contained in:
2026-09-10 10:59:31 +03:00
commit 6c5c717e32
28 changed files with 1059 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
var modPanel = FindNode<Control>("ModLastPanel");
if (modPanel == null)
return;
if (modPanel.GetNodeOrNull("CookingWorkbenchPanel") != null)
return;
var panel = Cthangover.Core.Scenes.TscnScenes.LoadAndBuild("scenes/cooking_panel.tscn");
if (panel is Control control)
{
control.Name = "CookingWorkbenchPanel";
control.Visible = false;
control.SetAnchorsAndOffsetsPreset(Control.LayoutPreset.FullRect);
modPanel.AddChild(control);
}