Files
mod_cooking/scenes/cooking_panel.tscn
2026-09-10 10:59:31 +03:00

70 lines
1.8 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="src/ui/workbench/WorkbenchPanel.cs" id="1_panel"]
[ext_resource type="Texture2D" path="res://backgrounds/cook_table.png" id="2_bg"]
[node name="CookingWorkbenchPanel" type="Control" script=ExtResource("1_panel")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="BgImage" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
offset_right = 0.0
mouse_filter = 2
expand_mode = 1
stretch_mode = 4
texture = ExtResource("2_bg")
[node name="HBox" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/separation = 10
[node name="LeftPanel" type="VBoxContainer" parent="HBox"]
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(400, 0)
[node name="LeftTitle" type="Label" parent="HBox/LeftPanel"]
layout_mode = 2
[node name="Scroll" type="ScrollContainer" parent="HBox/LeftPanel"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3
[node name="Content" type="VBoxContainer" parent="HBox/LeftPanel/Scroll"]
layout_mode = 2
[node name="RightPanel" type="VBoxContainer" parent="HBox"]
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(300, 0)
[node name="TxtDescription" type="RichTextLabel" parent="HBox/RightPanel"]
layout_mode = 2
mouse_filter = 2
bbcode_enabled = true
scroll_active = true
custom_minimum_size = Vector2(0, 100)
size_flags_vertical = 3
[node name="BtnCook" type="Button" parent="HBox/RightPanel"]
layout_mode = 2
[node name="BtnClose" type="Button" parent="HBox/RightPanel"]
layout_mode = 2