528 lines
21 KiB
Plaintext
528 lines
21 KiB
Plaintext
[gd_scene load_steps=14 format=3 uid="uid://ck104ww8vi7f1"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/main.gd" id="1_yidnr"]
|
|
[ext_resource type="PackedScene" uid="uid://bo788o53t4rbq" path="res://scenes/startup_scene.tscn" id="2_imuae"]
|
|
[ext_resource type="PackedScene" uid="uid://cqie4cy0uy1t0" path="res://scenes/game.tscn" id="2_o3qua"]
|
|
[ext_resource type="Script" path="res://root_ui.gd" id="13_h24kl"]
|
|
[ext_resource type="Theme" uid="uid://dmk7hc81l8gbw" path="res://ui/ui_theme.tres" id="14_bvivl"]
|
|
[ext_resource type="Script" path="res://game_ui.gd" id="15_g7bf1"]
|
|
[ext_resource type="Script" path="res://ui/inventory_dialog.gd" id="16_18k4v"]
|
|
[ext_resource type="PackedScene" uid="uid://dp3fi0g53qrt2" path="res://ui/item_slot.tscn" id="17_rucv3"]
|
|
[ext_resource type="PackedScene" uid="uid://bwui4acukq4x6" path="res://ui/item_grid.tscn" id="18_fihac"]
|
|
[ext_resource type="Script" path="res://ui/game_menu_ui.gd" id="19_krapk"]
|
|
[ext_resource type="Texture2D" uid="uid://c7fu3paj3b4e8" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_silver.png" id="20_7s1r5"]
|
|
[ext_resource type="Texture2D" uid="uid://drpl0ql1p3pfk" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_gold.png" id="21_663i3"]
|
|
[ext_resource type="Texture2D" uid="uid://cq8ypeagpedq" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_bronze.png" id="22_le7qn"]
|
|
|
|
[node name="Main" type="Node3D"]
|
|
script = ExtResource("1_yidnr")
|
|
|
|
[node name="RootUI" type="CanvasLayer" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("13_h24kl")
|
|
startup_scene = ExtResource("2_imuae")
|
|
game_scene = ExtResource("2_o3qua")
|
|
|
|
[node name="MainMenuUI" type="PanelContainer" parent="RootUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -199.0
|
|
offset_top = -134.5
|
|
offset_right = 199.0
|
|
offset_bottom = 134.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("14_bvivl")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/MainMenuUI"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 60
|
|
theme_override_constants/margin_top = 60
|
|
theme_override_constants/margin_right = 60
|
|
theme_override_constants/margin_bottom = 60
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/MainMenuUI/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="NewGameButton" type="Button" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
text = "New Game"
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="OptionsButton" type="Button" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer4"]
|
|
layout_mode = 2
|
|
text = "Load Game
|
|
"
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="OptionsButton" type="Button" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="QuitButton" type="Button" parent="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer3"]
|
|
layout_mode = 2
|
|
text = "Quit"
|
|
|
|
[node name="NewGameUI" type="PanelContainer" parent="RootUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -291.0
|
|
offset_top = -144.0
|
|
offset_right = 291.0
|
|
offset_bottom = 144.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("14_bvivl")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/NewGameUI"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 60
|
|
theme_override_constants/margin_top = 60
|
|
theme_override_constants/margin_right = 60
|
|
theme_override_constants/margin_bottom = 60
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/NewGameUI/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
text = "New Game"
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "World Name"
|
|
|
|
[node name="WorldNameEdit" type="TextEdit" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 0.0
|
|
text = "Brave New World"
|
|
scroll_fit_content_height = true
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
text = "Hardcore Mode"
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3"]
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Back"
|
|
|
|
[node name="Control" type="Control" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="StartGameButton" type="Button" parent="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Start
|
|
"
|
|
|
|
[node name="GameUI" type="Control" parent="RootUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("14_bvivl")
|
|
script = ExtResource("15_g7bf1")
|
|
|
|
[node name="MessagesContainer" type="MarginContainer" parent="RootUI/GameUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -244.5
|
|
offset_right = 244.5
|
|
offset_bottom = 67.0
|
|
grow_horizontal = 2
|
|
theme_override_constants/margin_top = 32
|
|
|
|
[node name="MessageTextEdit" type="TextEdit" parent="RootUI/GameUI/MessagesContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Picked Up Some Stuff !"
|
|
scroll_fit_content_height = true
|
|
|
|
[node name="MessageTimer" type="Timer" parent="RootUI/GameUI/MessagesContainer"]
|
|
unique_name_in_owner = true
|
|
wait_time = 2.0
|
|
|
|
[node name="InventoryDialog" type="MarginContainer" parent="RootUI/GameUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 40
|
|
theme_override_constants/margin_top = 82
|
|
theme_override_constants/margin_right = 40
|
|
theme_override_constants/margin_bottom = 128
|
|
script = ExtResource("16_18k4v")
|
|
slot_scene = ExtResource("17_rucv3")
|
|
|
|
[node name="Panel" type="Panel" parent="RootUI/GameUI/InventoryDialog"]
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer" type="VBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Title" type="HBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/Title"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Inventory"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="CloseButton" type="Button" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/Title"]
|
|
layout_mode = 2
|
|
text = " X "
|
|
|
|
[node name="CraftingUI" type="MarginContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 17
|
|
|
|
[node name="Recipes" type="VBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/Recipes"]
|
|
layout_mode = 2
|
|
text = "Recipes"
|
|
|
|
[node name="RecipeList" type="ItemList" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/Recipes"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("14_bvivl")
|
|
item_count = 2
|
|
item_0/text = "Blab"
|
|
item_1/text = "Bloobalb"
|
|
|
|
[node name="CraftIngredients" type="VBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients"]
|
|
layout_mode = 2
|
|
text = "Ingredients"
|
|
|
|
[node name="Panel" type="Panel" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -254.5
|
|
offset_top = -32.0
|
|
offset_right = 254.5
|
|
offset_bottom = 32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="IngredientsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer" instance=ExtResource("18_fihac")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Control" type="Control" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 0.2
|
|
text = "->"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="CraftResult" type="VBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult"]
|
|
layout_mode = 2
|
|
text = "Result"
|
|
|
|
[node name="Panel" type="Panel" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ResultsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer" instance=ExtResource("18_fihac")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="CraftButton" type="Button" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Craft"
|
|
|
|
[node name="BackpackUI" type="MarginContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Backpack"
|
|
|
|
[node name="InventoryContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer" instance=ExtResource("18_fihac")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="GameMenuUI" type="PanelContainer" parent="RootUI/GameUI"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -199.0
|
|
offset_top = -215.0
|
|
offset_right = 199.0
|
|
offset_bottom = 215.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("14_bvivl")
|
|
script = ExtResource("19_krapk")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 60
|
|
theme_override_constants/margin_top = 60
|
|
theme_override_constants/margin_right = 60
|
|
theme_override_constants/margin_bottom = 60
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="SaveGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4"]
|
|
layout_mode = 2
|
|
text = "Save Game
|
|
"
|
|
|
|
[node name="MarginContainer6" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="LoadGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer6"]
|
|
layout_mode = 2
|
|
text = "Load Game
|
|
"
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="OptionsButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="BackToGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3"]
|
|
layout_mode = 2
|
|
text = "Return to Game"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer5" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="ToMainMenuButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5"]
|
|
layout_mode = 2
|
|
text = "Back to Main Menu"
|
|
|
|
[node name="ToolSlots" type="MarginContainer" parent="RootUI/GameUI"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -87.0
|
|
offset_top = -101.0
|
|
offset_right = 87.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_constants/margin_bottom = 32
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="RootUI/GameUI/ToolSlots"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/ToolSlots/PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Button2" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
icon = ExtResource("20_7s1r5")
|
|
|
|
[node name="Button3" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
icon = ExtResource("21_663i3")
|
|
|
|
[node name="Button" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
icon = ExtResource("22_le7qn")
|
|
|
|
[node name="Scene" type="Node3D" parent="."]
|
|
unique_name_in_owner = true
|
|
|
|
[connection signal="pressed" from="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer/NewGameButton" to="RootUI" method="_on_new_game_button_pressed"]
|
|
[connection signal="pressed" from="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer3/QuitButton" to="RootUI" method="_on_quit_button_pressed"]
|
|
[connection signal="pressed" from="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer/BackButton" to="RootUI" method="_to_main_menu_button_pressed"]
|
|
[connection signal="pressed" from="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer/StartGameButton" to="RootUI" method="_on_start_game_button_pressed"]
|
|
[connection signal="timeout" from="RootUI/GameUI/MessagesContainer/MessageTimer" to="RootUI/GameUI" method="_on_message_timer_timeout"]
|
|
[connection signal="pressed" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/Title/CloseButton" to="RootUI/GameUI/InventoryDialog" method="_on_close_button_pressed"]
|
|
[connection signal="item_selected" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/Recipes/RecipeList" to="RootUI/GameUI/InventoryDialog" method="_on_recipe_list_item_selected"]
|
|
[connection signal="pressed" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/HBoxContainer/CraftButton" to="RootUI/GameUI/InventoryDialog" method="_on_craft_button_pressed"]
|
|
[connection signal="visibility_changed" from="RootUI/GameUI/GameMenuUI" to="RootUI/GameUI" method="_on_game_menu_ui_visibility_changed"]
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4/SaveGameButton" to="." method="save_game"]
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer6/LoadGameButton" to="." method="load_game"]
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3/BackToGameButton" to="RootUI/GameUI" method="_on_back_to_game_button_pressed"]
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5/ToMainMenuButton" to="RootUI" method="_to_main_menu_button_pressed"]
|