From d6c472ca1337152be4646a54d2f67b93d2cd2d8b Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Fri, 27 Sep 2024 18:09:30 +0200 Subject: [PATCH] Added more items and recipes. --- assets/items/bedroll.tscn | 5 + assets/items/campfire_pit.tscn | 18 ++ assets/{resources => items}/door.png | Bin assets/{resources => items}/door.png.import | 6 +- .../{resources => items}/fence_fortified.png | Bin .../fence_fortified.png.import | 6 +- assets/items/fence_fortified.tscn | 14 + assets/{resources => items}/floor.png | Bin assets/{resources => items}/floor.png.import | 6 +- assets/items/floor.tscn | 14 + assets/{resources => items}/stick.tscn | 0 assets/{resources => items}/stone.tscn | 0 assets/{resources => items}/tree_log.png | Bin .../{resources => items}/tree_log.png.import | 6 +- assets/{resources => items}/tree_log.tscn | 0 assets/{resources => items}/wood_planks.png | Bin .../wood_planks.png.import | 6 +- assets/{resources => items}/wood_planks.tscn | 0 assets/items/workbench.tscn | 17 + assets/resources/fence_fortified.tscn | 5 - assets/resources/floor.tscn | 5 - assets/scene_props/campfire_pit.tscn | 6 - data/items/campfire_pit.tres | 14 + data/items/fence_fortified.tres | 4 +- data/items/floor.tres | 4 +- data/items/stick.tres | 2 +- data/items/stone.tres | 2 +- data/items/treelog.tres | 4 +- data/items/woodplanks.tres | 4 +- data/items/workbench.tres | 14 + data/recipes/campfire.tres | 11 + data/recipes/workbench.tres | 11 + game_ui.gd | 35 ++- objects/player.gd | 22 +- objects/player.tscn | 2 +- root_ui.tscn | 294 +++++++++--------- scenes/game.gd | 5 +- scenes/startup_scene.tscn | 2 +- systems/BuildSystem.gd | 27 +- ui/item_slot.gd | 1 + 40 files changed, 348 insertions(+), 224 deletions(-) create mode 100644 assets/items/bedroll.tscn create mode 100644 assets/items/campfire_pit.tscn rename assets/{resources => items}/door.png (100%) rename assets/{resources => items}/door.png.import (73%) rename assets/{resources => items}/fence_fortified.png (100%) rename assets/{resources => items}/fence_fortified.png.import (69%) create mode 100644 assets/items/fence_fortified.tscn rename assets/{resources => items}/floor.png (100%) rename assets/{resources => items}/floor.png.import (72%) create mode 100644 assets/items/floor.tscn rename assets/{resources => items}/stick.tscn (100%) rename assets/{resources => items}/stone.tscn (100%) rename assets/{resources => items}/tree_log.png (100%) rename assets/{resources => items}/tree_log.png.import (71%) rename assets/{resources => items}/tree_log.tscn (100%) rename assets/{resources => items}/wood_planks.png (100%) rename assets/{resources => items}/wood_planks.png.import (71%) rename assets/{resources => items}/wood_planks.tscn (100%) create mode 100644 assets/items/workbench.tscn delete mode 100644 assets/resources/fence_fortified.tscn delete mode 100644 assets/resources/floor.tscn delete mode 100644 assets/scene_props/campfire_pit.tscn create mode 100644 data/items/campfire_pit.tres create mode 100644 data/items/workbench.tres create mode 100644 data/recipes/campfire.tres create mode 100644 data/recipes/workbench.tres diff --git a/assets/items/bedroll.tscn b/assets/items/bedroll.tscn new file mode 100644 index 0000000..f473537 --- /dev/null +++ b/assets/items/bedroll.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://bgbbn7mb4p8mx"] + +[ext_resource type="PackedScene" uid="uid://csr00g7q0i8uo" path="res://assets/3rdparty/kenney/survival-kit/Models/bedroll.glb" id="1_d4imc"] + +[node name="bedroll2" instance=ExtResource("1_d4imc")] diff --git a/assets/items/campfire_pit.tscn b/assets/items/campfire_pit.tscn new file mode 100644 index 0000000..f4289aa --- /dev/null +++ b/assets/items/campfire_pit.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=3 format=3 uid="uid://cofd468cwkntk"] + +[ext_resource type="PackedScene" uid="uid://b8xsr7w5i5mx" path="res://assets/3rdparty/kenney/survival-kit/Models/campfire-pit.glb" id="1_b3jfu"] + +[sub_resource type="CylinderShape3D" id="CylinderShape3D_y4r2i"] +height = 0.2402 +radius = 0.225971 + +[node name="campfire-pit2" type="Node3D"] + +[node name="campfire-pit2" parent="." instance=ExtResource("1_b3jfu")] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0) + +[node name="StaticBody3D" type="StaticBody3D" parent="."] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.113824, 0) +shape = SubResource("CylinderShape3D_y4r2i") diff --git a/assets/resources/door.png b/assets/items/door.png similarity index 100% rename from assets/resources/door.png rename to assets/items/door.png diff --git a/assets/resources/door.png.import b/assets/items/door.png.import similarity index 73% rename from assets/resources/door.png.import rename to assets/items/door.png.import index d36792b..73cde8c 100644 --- a/assets/resources/door.png.import +++ b/assets/items/door.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cnk5evriq2ayx" -path="res://.godot/imported/door.png-4773fa46d37f0eeb39c2983dbabcd688.ctex" +path="res://.godot/imported/door.png-04d3612c7b6f4fc30d3d7940ed281f5c.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/resources/door.png" -dest_files=["res://.godot/imported/door.png-4773fa46d37f0eeb39c2983dbabcd688.ctex"] +source_file="res://assets/items/door.png" +dest_files=["res://.godot/imported/door.png-04d3612c7b6f4fc30d3d7940ed281f5c.ctex"] [params] diff --git a/assets/resources/fence_fortified.png b/assets/items/fence_fortified.png similarity index 100% rename from assets/resources/fence_fortified.png rename to assets/items/fence_fortified.png diff --git a/assets/resources/fence_fortified.png.import b/assets/items/fence_fortified.png.import similarity index 69% rename from assets/resources/fence_fortified.png.import rename to assets/items/fence_fortified.png.import index e4d7a41..71f7359 100644 --- a/assets/resources/fence_fortified.png.import +++ b/assets/items/fence_fortified.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://d4cjmc3svg7ie" -path="res://.godot/imported/fence_fortified.png-1ae65c603e478020bc26d4e987d66517.ctex" +path="res://.godot/imported/fence_fortified.png-ff165ff77492b2f32beca26c2e68cea6.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/resources/fence_fortified.png" -dest_files=["res://.godot/imported/fence_fortified.png-1ae65c603e478020bc26d4e987d66517.ctex"] +source_file="res://assets/items/fence_fortified.png" +dest_files=["res://.godot/imported/fence_fortified.png-ff165ff77492b2f32beca26c2e68cea6.ctex"] [params] diff --git a/assets/items/fence_fortified.tscn b/assets/items/fence_fortified.tscn new file mode 100644 index 0000000..a9ae53e --- /dev/null +++ b/assets/items/fence_fortified.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=3 uid="uid://dv60qx8nqw3vg"] + +[ext_resource type="PackedScene" uid="uid://cg5cy35mk8nba" path="res://assets/3rdparty/kenney/survival-kit/Models/fence-fortified.glb" id="1_mg881"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_plfn4"] +size = Vector3(0.51, 0.51, 0.1) + +[node name="fence-fortified" instance=ExtResource("1_mg881")] + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, -0.226656) +shape = SubResource("BoxShape3D_plfn4") diff --git a/assets/resources/floor.png b/assets/items/floor.png similarity index 100% rename from assets/resources/floor.png rename to assets/items/floor.png diff --git a/assets/resources/floor.png.import b/assets/items/floor.png.import similarity index 72% rename from assets/resources/floor.png.import rename to assets/items/floor.png.import index 05b45df..e4c4d72 100644 --- a/assets/resources/floor.png.import +++ b/assets/items/floor.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cwplac1y0x13c" -path="res://.godot/imported/floor.png-b9879e04f7313063744ab2deb5053a27.ctex" +path="res://.godot/imported/floor.png-36a6548bf8c49178087a1e02d0b1eb1d.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/resources/floor.png" -dest_files=["res://.godot/imported/floor.png-b9879e04f7313063744ab2deb5053a27.ctex"] +source_file="res://assets/items/floor.png" +dest_files=["res://.godot/imported/floor.png-36a6548bf8c49178087a1e02d0b1eb1d.ctex"] [params] diff --git a/assets/items/floor.tscn b/assets/items/floor.tscn new file mode 100644 index 0000000..c5b3e91 --- /dev/null +++ b/assets/items/floor.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=3 uid="uid://bfn60u0e11o8u"] + +[ext_resource type="PackedScene" uid="uid://putll6r03s1i" path="res://assets/3rdparty/kenney/survival-kit/Models/floor.glb" id="1_1rqyd"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_e5qs0"] +size = Vector3(0.51, 0.05, 0.51) + +[node name="floor2" instance=ExtResource("1_1rqyd")] + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.025, 0.002) +shape = SubResource("BoxShape3D_e5qs0") diff --git a/assets/resources/stick.tscn b/assets/items/stick.tscn similarity index 100% rename from assets/resources/stick.tscn rename to assets/items/stick.tscn diff --git a/assets/resources/stone.tscn b/assets/items/stone.tscn similarity index 100% rename from assets/resources/stone.tscn rename to assets/items/stone.tscn diff --git a/assets/resources/tree_log.png b/assets/items/tree_log.png similarity index 100% rename from assets/resources/tree_log.png rename to assets/items/tree_log.png diff --git a/assets/resources/tree_log.png.import b/assets/items/tree_log.png.import similarity index 71% rename from assets/resources/tree_log.png.import rename to assets/items/tree_log.png.import index 58607ec..3bba347 100644 --- a/assets/resources/tree_log.png.import +++ b/assets/items/tree_log.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://16ro4vt2obea" -path="res://.godot/imported/tree_log.png-d87ebeb4287fdaeb09b73b4d4e061e2b.ctex" +path="res://.godot/imported/tree_log.png-a1eea6b181c70083bb22df4ccf37ceec.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/resources/tree_log.png" -dest_files=["res://.godot/imported/tree_log.png-d87ebeb4287fdaeb09b73b4d4e061e2b.ctex"] +source_file="res://assets/items/tree_log.png" +dest_files=["res://.godot/imported/tree_log.png-a1eea6b181c70083bb22df4ccf37ceec.ctex"] [params] diff --git a/assets/resources/tree_log.tscn b/assets/items/tree_log.tscn similarity index 100% rename from assets/resources/tree_log.tscn rename to assets/items/tree_log.tscn diff --git a/assets/resources/wood_planks.png b/assets/items/wood_planks.png similarity index 100% rename from assets/resources/wood_planks.png rename to assets/items/wood_planks.png diff --git a/assets/resources/wood_planks.png.import b/assets/items/wood_planks.png.import similarity index 71% rename from assets/resources/wood_planks.png.import rename to assets/items/wood_planks.png.import index 3a910f8..9dd80d6 100644 --- a/assets/resources/wood_planks.png.import +++ b/assets/items/wood_planks.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://52wdejv20ogj" -path="res://.godot/imported/wood_planks.png-33bd750bd8ac9cf6721f3e489ebb2390.ctex" +path="res://.godot/imported/wood_planks.png-180b232b4ffbc27f3a2bf7b9711a5b15.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/resources/wood_planks.png" -dest_files=["res://.godot/imported/wood_planks.png-33bd750bd8ac9cf6721f3e489ebb2390.ctex"] +source_file="res://assets/items/wood_planks.png" +dest_files=["res://.godot/imported/wood_planks.png-180b232b4ffbc27f3a2bf7b9711a5b15.ctex"] [params] diff --git a/assets/resources/wood_planks.tscn b/assets/items/wood_planks.tscn similarity index 100% rename from assets/resources/wood_planks.tscn rename to assets/items/wood_planks.tscn diff --git a/assets/items/workbench.tscn b/assets/items/workbench.tscn new file mode 100644 index 0000000..59113e5 --- /dev/null +++ b/assets/items/workbench.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=3 format=3 uid="uid://da8vh0auq4p3l"] + +[ext_resource type="PackedScene" uid="uid://b80niojlha8e" path="res://assets/3rdparty/kenney/survival-kit/Models/workbench.glb" id="1_78bfl"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_dqnub"] +size = Vector3(0.4, 0.35, 0.35) + +[node name="workbench" instance=ExtResource("1_78bfl")] + +[node name="workbench2" parent="." index="0"] +transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0, 0, 0) + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.172299, 0) +shape = SubResource("BoxShape3D_dqnub") diff --git a/assets/resources/fence_fortified.tscn b/assets/resources/fence_fortified.tscn deleted file mode 100644 index 09000f6..0000000 --- a/assets/resources/fence_fortified.tscn +++ /dev/null @@ -1,5 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://dv60qx8nqw3vg"] - -[ext_resource type="PackedScene" uid="uid://cg5cy35mk8nba" path="res://assets/3rdparty/kenney/survival-kit/Models/fence-fortified.glb" id="1_bm7wh"] - -[node name="fence-fortified" instance=ExtResource("1_bm7wh")] diff --git a/assets/resources/floor.tscn b/assets/resources/floor.tscn deleted file mode 100644 index 4c11ac0..0000000 --- a/assets/resources/floor.tscn +++ /dev/null @@ -1,5 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://bfn60u0e11o8u"] - -[ext_resource type="PackedScene" uid="uid://putll6r03s1i" path="res://assets/3rdparty/kenney/survival-kit/Models/floor.glb" id="1_i3lij"] - -[node name="floor2" instance=ExtResource("1_i3lij")] diff --git a/assets/scene_props/campfire_pit.tscn b/assets/scene_props/campfire_pit.tscn deleted file mode 100644 index 4db1a5b..0000000 --- a/assets/scene_props/campfire_pit.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://cofd468cwkntk"] - -[ext_resource type="PackedScene" uid="uid://b8xsr7w5i5mx" path="res://assets/3rdparty/kenney/survival-kit/Models/campfire-pit.glb" id="1_bss5j"] - -[node name="campfire-pit2" instance=ExtResource("1_bss5j")] -transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0) diff --git a/data/items/campfire_pit.tres b/data/items/campfire_pit.tres new file mode 100644 index 0000000..46e90ef --- /dev/null +++ b/data/items/campfire_pit.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://qelpkmqsqo5r"] + +[ext_resource type="Texture2D" uid="uid://brf5tnxgpd771" path="res://assets/3rdparty/kenney/survival-kit/Previews/campfire.png" id="1_6eclp"] +[ext_resource type="Script" path="res://model/item.gd" id="1_ib1kl"] +[ext_resource type="PackedScene" uid="uid://cofd468cwkntk" path="res://assets/items/campfire_pit.tscn" id="2_pyecx"] + +[resource] +script = ExtResource("1_ib1kl") +name = "Campfire" +scene = ExtResource("2_pyecx") +icon = ExtResource("1_6eclp") +max_stack_size = 1 +is_tool = false +is_buildable = true diff --git a/data/items/fence_fortified.tres b/data/items/fence_fortified.tres index c75e808..4f56b4c 100644 --- a/data/items/fence_fortified.tres +++ b/data/items/fence_fortified.tres @@ -1,8 +1,8 @@ [gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://c714vj3s6cnqg"] -[ext_resource type="Texture2D" uid="uid://d4cjmc3svg7ie" path="res://assets/resources/fence_fortified.png" id="1_hyv8l"] +[ext_resource type="Texture2D" uid="uid://d4cjmc3svg7ie" path="res://assets/items/fence_fortified.png" id="1_hyv8l"] [ext_resource type="Script" path="res://model/item.gd" id="1_u43c0"] -[ext_resource type="PackedScene" uid="uid://dv60qx8nqw3vg" path="res://assets/resources/fence_fortified.tscn" id="2_8ttdv"] +[ext_resource type="PackedScene" uid="uid://dv60qx8nqw3vg" path="res://assets/items/fence_fortified.tscn" id="2_8ttdv"] [resource] script = ExtResource("1_u43c0") diff --git a/data/items/floor.tres b/data/items/floor.tres index b50288e..2fd0573 100644 --- a/data/items/floor.tres +++ b/data/items/floor.tres @@ -1,8 +1,8 @@ [gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cepy03xrewibs"] -[ext_resource type="Texture2D" uid="uid://cwplac1y0x13c" path="res://assets/resources/floor.png" id="1_fe6dh"] +[ext_resource type="Texture2D" uid="uid://cwplac1y0x13c" path="res://assets/items/floor.png" id="1_fe6dh"] [ext_resource type="Script" path="res://model/item.gd" id="1_piayo"] -[ext_resource type="PackedScene" uid="uid://bfn60u0e11o8u" path="res://assets/resources/floor.tscn" id="2_1360y"] +[ext_resource type="PackedScene" uid="uid://bfn60u0e11o8u" path="res://assets/items/floor.tscn" id="2_1360y"] [resource] script = ExtResource("1_piayo") diff --git a/data/items/stick.tres b/data/items/stick.tres index 6503635..edc0516 100644 --- a/data/items/stick.tres +++ b/data/items/stick.tres @@ -1,7 +1,7 @@ [gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://bn5j38jbwlj1f"] [ext_resource type="Texture2D" uid="uid://c3jmpy6x5m4gj" path="res://assets/3rdparty/kenney/survival-kit/Previews/resourceWood.png" id="1_c3g8n"] -[ext_resource type="PackedScene" uid="uid://dtd7p4wjaumae" path="res://assets/resources/stick.tscn" id="2_mrxum"] +[ext_resource type="PackedScene" uid="uid://dtd7p4wjaumae" path="res://assets/items/stick.tscn" id="2_mrxum"] [ext_resource type="Script" path="res://model/item.gd" id="3_45lxd"] [resource] diff --git a/data/items/stone.tres b/data/items/stone.tres index f79388f..44c07cf 100644 --- a/data/items/stone.tres +++ b/data/items/stone.tres @@ -2,7 +2,7 @@ [ext_resource type="Script" path="res://model/item.gd" id="1_dao2u"] [ext_resource type="Texture2D" uid="uid://g3681g7x22eg" path="res://assets/3rdparty/kenney/survival-kit/Previews/resourceStone.png" id="1_t2qva"] -[ext_resource type="PackedScene" uid="uid://lp0bgqyd2pnr" path="res://assets/resources/stone.tscn" id="2_6nus0"] +[ext_resource type="PackedScene" uid="uid://lp0bgqyd2pnr" path="res://assets/items/stone.tscn" id="2_6nus0"] [resource] script = ExtResource("1_dao2u") diff --git a/data/items/treelog.tres b/data/items/treelog.tres index 536db4d..62c16aa 100644 --- a/data/items/treelog.tres +++ b/data/items/treelog.tres @@ -1,8 +1,8 @@ [gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://c1ll2snhgv3m1"] -[ext_resource type="Texture2D" uid="uid://16ro4vt2obea" path="res://assets/resources/tree_log.png" id="1_ak0y2"] +[ext_resource type="Texture2D" uid="uid://16ro4vt2obea" path="res://assets/items/tree_log.png" id="1_ak0y2"] [ext_resource type="Script" path="res://model/item.gd" id="1_tlj5a"] -[ext_resource type="PackedScene" uid="uid://bbmt7xom1j84b" path="res://assets/resources/tree_log.tscn" id="2_ufvdy"] +[ext_resource type="PackedScene" uid="uid://bbmt7xom1j84b" path="res://assets/items/tree_log.tscn" id="2_ufvdy"] [resource] script = ExtResource("1_tlj5a") diff --git a/data/items/woodplanks.tres b/data/items/woodplanks.tres index 2b96e16..db2c35b 100644 --- a/data/items/woodplanks.tres +++ b/data/items/woodplanks.tres @@ -1,7 +1,7 @@ [gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://dmjr6pmb17l2y"] -[ext_resource type="Texture2D" uid="uid://52wdejv20ogj" path="res://assets/resources/wood_planks.png" id="1_plody"] -[ext_resource type="PackedScene" uid="uid://ysfnsrvgemi6" path="res://assets/resources/wood_planks.tscn" id="2_4oehn"] +[ext_resource type="Texture2D" uid="uid://52wdejv20ogj" path="res://assets/items/wood_planks.png" id="1_plody"] +[ext_resource type="PackedScene" uid="uid://ysfnsrvgemi6" path="res://assets/items/wood_planks.tscn" id="2_4oehn"] [ext_resource type="Script" path="res://model/item.gd" id="3_c8yxb"] [resource] diff --git a/data/items/workbench.tres b/data/items/workbench.tres new file mode 100644 index 0000000..55cb07a --- /dev/null +++ b/data/items/workbench.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://kywjkeu5tnjp"] + +[ext_resource type="Script" path="res://model/item.gd" id="1_1ujll"] +[ext_resource type="Texture2D" uid="uid://ch086r5ba07yn" path="res://assets/3rdparty/kenney/survival-kit/Previews/workbench.png" id="1_fxuxp"] +[ext_resource type="PackedScene" uid="uid://da8vh0auq4p3l" path="res://assets/items/workbench.tscn" id="2_ucmwx"] + +[resource] +script = ExtResource("1_1ujll") +name = "Workbench" +scene = ExtResource("2_ucmwx") +icon = ExtResource("1_fxuxp") +max_stack_size = 1 +is_tool = false +is_buildable = true diff --git a/data/recipes/campfire.tres b/data/recipes/campfire.tres new file mode 100644 index 0000000..0468faa --- /dev/null +++ b/data/recipes/campfire.tres @@ -0,0 +1,11 @@ +[gd_resource type="Resource" script_class="Recipe" load_steps=4 format=3 uid="uid://cj1poskbv5n4g"] + +[ext_resource type="Resource" uid="uid://bn5j38jbwlj1f" path="res://data/items/stick.tres" id="1_c6ol1"] +[ext_resource type="Script" path="res://model/recipe.gd" id="1_q0xgv"] +[ext_resource type="Resource" uid="uid://qelpkmqsqo5r" path="res://data/items/campfire_pit.tres" id="2_xeckb"] + +[resource] +script = ExtResource("1_q0xgv") +name = "Campfire" +ingredients = Array[Resource("res://model/item.gd")]([ExtResource("1_c6ol1"), ExtResource("1_c6ol1"), ExtResource("1_c6ol1")]) +results = Array[Resource("res://model/item.gd")]([ExtResource("2_xeckb")]) diff --git a/data/recipes/workbench.tres b/data/recipes/workbench.tres new file mode 100644 index 0000000..c049259 --- /dev/null +++ b/data/recipes/workbench.tres @@ -0,0 +1,11 @@ +[gd_resource type="Resource" script_class="Recipe" load_steps=4 format=3 uid="uid://dvgxtg3oau0f3"] + +[ext_resource type="Resource" uid="uid://dmjr6pmb17l2y" path="res://data/items/woodplanks.tres" id="1_2e1bt"] +[ext_resource type="Script" path="res://model/recipe.gd" id="1_d10rq"] +[ext_resource type="Resource" uid="uid://kywjkeu5tnjp" path="res://data/items/workbench.tres" id="2_a5ecf"] + +[resource] +script = ExtResource("1_d10rq") +name = "Workbench" +ingredients = Array[Resource("res://model/item.gd")]([ExtResource("1_2e1bt"), ExtResource("1_2e1bt"), ExtResource("1_2e1bt"), ExtResource("1_2e1bt")]) +results = Array[Resource("res://model/item.gd")]([ExtResource("2_a5ecf")]) diff --git a/game_ui.gd b/game_ui.gd index 6d5892e..17696f0 100644 --- a/game_ui.gd +++ b/game_ui.gd @@ -9,7 +9,7 @@ extends Control var picked_up_level_items:Array[NodePath] = [] -var _game_scene:Node3D +var _game_scene:Game var _player:Player var _all_recipes:Array[Recipe] = [] @@ -23,7 +23,7 @@ func _ready(): func activate_game_scene(game_scene:Node3D) -> void: - _game_scene = game_scene + _game_scene = game_scene as Game if _game_scene != null: picked_up_level_items = [] @@ -61,7 +61,15 @@ func _process(_delta): item_slot.selected = true else: item_slot.selected = false + + if not _player.has_build_tool_active() and build_dialog.visible: + build_dialog.hide() + if _game_scene != null: + if _player.has_build_tool_active(): + _game_scene.build_system.is_active = true + else: + _game_scene.build_system.is_active = false func _on_message_timer_timeout(): %MessagesContainer.visible = false @@ -116,16 +124,31 @@ func _on_back_to_game_button_pressed(): func _unhandled_input(event): if event.is_action_released("toggle_inventory"): - print ("Showing inventory of player " + str(_player)) - inventory_dialog.open(_all_recipes, _player.inventory) + if inventory_dialog.visible: + inventory_dialog.hide() + else: + inventory_dialog.open(_all_recipes, _player.inventory) - if event.is_action_released("toggle_build_menu"): + if _player == null or _player.is_queued_for_deletion(): + return + + if _player.has_build_tool_active() and event.is_action_released("toggle_build_menu"): if build_dialog.visible: build_dialog.hide() else: build_dialog.open(_all_recipes, _player.inventory) + if _game_scene.build_system.is_active and _game_scene.build_system.build_item != null: + return + elif _player.handle_tool_slot_input_events(event): + get_viewport().set_input_as_handled() + return + func _on_tool_select(item_slot:ItemSlot) -> void: var tool_slot_index = tool_container.get_slot_index(item_slot) - print ("Selected tool index ", tool_slot_index) + +func _on_build_items_container_item_selected(item_slot:ItemSlot) -> void: + if _game_scene: + _game_scene.build_system.build_item = item_slot.get_item() + build_dialog.hide() diff --git a/objects/player.gd b/objects/player.gd index 7d749a0..17681b6 100644 --- a/objects/player.gd +++ b/objects/player.gd @@ -14,6 +14,7 @@ const JUMP_VELOCITY = 2.5 var gravity = ProjectSettings.get_setting("physics/3d/default_gravity") var inventory:Inventory = Inventory.new() var selected_tool_slot_index:int = 0 +var current_tool:Item = null var look_direction:Vector3 = Vector3.BACK var look_direction_damper:SpringDamper = SpringDamper.new(Vector3.ZERO) @@ -74,40 +75,41 @@ func get_actionable_global_transform() -> Vector3: func set_right_hand_item(item:Item) -> void: for child in right_hand_attachement.get_children(): child.queue_free() + + current_tool = null if item != null and item.is_tool: right_hand_attachement.add_child(item.scene.instantiate()) + current_tool = item +func has_build_tool_active() -> bool: + if current_tool and current_tool.name == "Pickaxe": + return true + + return false -func _handle_tool_slot_input_events(_event:InputEvent) -> bool: +func handle_tool_slot_input_events(_event:InputEvent) -> bool: var key_event:InputEventKey = _event as InputEventKey if key_event and key_event.is_released(): if key_event.keycode >= KEY_1 and key_event.keycode <= KEY_9: selected_tool_slot_index = key_event.keycode - KEY_1 set_right_hand_item(inventory.get_tool_item_stacks()[selected_tool_slot_index].item) - - get_viewport().set_input_as_handled() return true if _event.is_action_released("item_next"): selected_tool_slot_index = (selected_tool_slot_index + 1) % (inventory.get_tool_item_stacks().size()) set_right_hand_item(inventory.get_tool_item_stacks()[selected_tool_slot_index].item) - - get_viewport().set_input_as_handled() return true if _event.is_action_released("item_prev"): var tool_slot_size = inventory.get_tool_item_stacks().size() selected_tool_slot_index = (selected_tool_slot_index + tool_slot_size - 1) % (tool_slot_size) set_right_hand_item(inventory.get_tool_item_stacks()[selected_tool_slot_index].item) - - get_viewport().set_input_as_handled() return true return false - func _unhandled_input(_event: InputEvent) -> void: if Input.is_action_just_pressed("ui_accept"): var actionables = actionable_detector.get_overlapping_areas() @@ -123,6 +125,4 @@ func _unhandled_input(_event: InputEvent) -> void: get_viewport().set_input_as_handled() return - - if _handle_tool_slot_input_events(_event): - return + diff --git a/objects/player.tscn b/objects/player.tscn index 11e9697..306c12a 100644 --- a/objects/player.tscn +++ b/objects/player.tscn @@ -32,7 +32,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.470516, 0) shape = SubResource("CapsuleShape3D_7kfad") [node name="RightHandBone" type="BoneAttachment3D" parent="."] -transform = Transform3D(0.999999, 9.88405e-08, -4.98676e-07, -4.35653e-07, -8.58306e-07, -0.999999, 3.52662e-08, 1, -7.42514e-07, -0.883132, 1.04926, -1.61464e-05) +transform = Transform3D(-0.000803348, -0.063443, 0.394936, 0.399985, -0.00336239, 0.000273371, 0.00327666, 0.394922, 0.0634475, -0.196151, 0.251476, 0.0431326) bone_name = "Knife" bone_idx = 17 use_external_skeleton = true diff --git a/root_ui.tscn b/root_ui.tscn index 120aed5..2d05e19 100644 --- a/root_ui.tscn +++ b/root_ui.tscn @@ -406,6 +406,7 @@ wait_time = 2.0 [node name="InventoryDialog" type="MarginContainer" parent="GameUI"] unique_name_in_owner = true +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -773,166 +774,167 @@ unique_name_in_owner = true [connection signal="item_selected" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/Recipes/RecipeList" to="GameUI/InventoryDialog" method="_on_recipe_list_item_selected"] [connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/ItemSlot" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22440" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22440" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22440" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22440" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22441" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22441" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22441" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22441" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22442" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22442" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22442" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22442" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22443" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22443" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22443" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22443" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22444" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22444" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22444" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22444" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22445" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22445" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22445" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22445" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22446" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22446" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22446" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22446" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22447" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22447" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22447" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@22447" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18275" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18275" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18275" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18275" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18276" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18276" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18276" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18276" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18277" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18277" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18277" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18277" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18278" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18278" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18278" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18278" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18279" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18279" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18279" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18279" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18280" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18280" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18280" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18280" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18281" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18281" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18281" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18281" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18282" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18282" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18282" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18282" method="_on_mouse_entered"] [connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer/ResultsContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer/ResultsContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer/ResultsContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer/ResultsContainer/ItemSlot" method="_on_mouse_entered"] [connection signal="pressed" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/HBoxContainer/CraftButton" to="GameUI/InventoryDialog" method="_on_craft_button_pressed"] [connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/ItemSlot" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/ItemSlot" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21771" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21771" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21771" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21771" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21772" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21772" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21772" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21772" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21773" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21773" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21773" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21773" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21774" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21774" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21774" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21774" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21775" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21775" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21775" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21775" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21776" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21776" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21776" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21776" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21777" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21777" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21777" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21777" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21778" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21778" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21778" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21778" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21779" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21779" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21779" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21779" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21780" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21780" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21780" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21780" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21781" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21781" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21781" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21781" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21782" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21782" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21782" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21782" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21783" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21783" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21783" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21783" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21784" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21784" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21784" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21784" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21785" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21785" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21785" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21785" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21786" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21786" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21786" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21786" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21787" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21787" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21787" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21787" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21788" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21788" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21788" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21788" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21789" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21789" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21789" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21789" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21790" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21790" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21790" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21790" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21791" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21791" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21791" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21791" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21792" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21792" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21792" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21792" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21793" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21793" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21793" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21793" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21794" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21794" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21794" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21794" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21795" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21795" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21795" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21795" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21796" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21796" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21796" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21796" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21797" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21797" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21797" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21797" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21798" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21798" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21798" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21798" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21799" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21799" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21799" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21799" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21800" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21800" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21800" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21800" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21801" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21801" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21801" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21801" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21802" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21802" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21802" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21802" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21803" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21803" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21803" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21803" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21804" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21804" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21804" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21804" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21805" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21805" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21805" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@21805" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18283" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18283" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18283" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18283" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18284" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18284" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18284" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18284" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18285" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18285" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18285" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18285" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18286" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18286" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18286" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18286" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18287" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18287" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18287" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18287" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18288" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18288" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18288" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18288" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18289" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18289" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18289" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18289" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18290" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18290" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18290" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18290" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18291" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18291" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18291" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18291" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18292" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18292" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18292" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18292" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18293" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18293" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18293" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18293" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18294" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18294" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18294" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18294" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18295" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18295" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18295" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18295" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18296" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18296" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18296" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18296" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18297" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18297" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18297" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18297" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18298" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18298" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18298" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18298" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18299" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18299" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18299" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18299" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18300" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18300" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18300" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18300" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18301" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18301" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18301" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18301" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18302" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18302" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18302" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18302" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18303" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18303" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18303" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18303" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18304" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18304" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18304" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18304" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18305" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18305" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18305" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18305" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18306" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18306" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18306" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18306" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18307" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18307" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18307" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18307" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18308" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18308" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18308" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18308" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18309" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18309" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18309" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18309" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18310" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18310" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18310" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18310" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18311" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18311" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18311" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18311" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18312" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18312" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18312" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18312" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18313" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18313" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18313" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18313" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18314" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18314" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18314" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18314" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18315" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18315" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18315" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18315" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18316" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18316" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18316" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18316" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18317" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18317" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18317" to="GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer/InventoryContainer/@Panel@18317" method="_on_mouse_entered"] [connection signal="visibility_changed" from="GameUI/GameMenuUI" to="GameUI" method="_on_game_menu_ui_visibility_changed"] [connection signal="pressed" from="GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4/SaveGameButton" to="." method="save_game"] [connection signal="pressed" from="GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer6/LoadGameButton" to="." method="load_game"] [connection signal="pressed" from="GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3/BackToGameButton" to="GameUI" method="_on_back_to_game_button_pressed"] [connection signal="pressed" from="GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5/ToMainMenuButton" to="." method="_to_main_menu_button_pressed"] +[connection signal="item_selected" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer" to="GameUI" method="_on_build_items_container_item_selected"] [connection signal="item_selected" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer" to="GameUI/BuildDialog" method="_on_build_items_container_item_selected"] [connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/ItemSlot" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/ItemSlot" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/ItemSlot" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18275" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18275" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18275" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18275" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18276" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18276" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18276" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18276" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18277" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18277" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18277" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18277" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18278" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18278" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18278" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18278" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18279" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18279" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18279" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18279" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18280" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18280" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18280" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18280" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18281" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18281" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18281" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18281" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18282" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18282" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18282" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18282" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18283" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18283" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18283" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18283" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18284" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18284" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18284" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18284" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18285" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18285" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18285" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18285" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18286" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18286" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18286" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18286" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18287" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18287" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18287" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18287" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18288" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18288" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18288" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18288" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18289" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18289" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18289" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18289" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18318" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18318" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18318" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18318" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18319" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18319" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18319" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18319" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18320" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18320" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18320" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18320" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18321" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18321" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18321" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18321" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18322" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18322" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18322" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18322" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18323" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18323" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18323" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18323" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18324" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18324" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18324" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18324" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18325" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18325" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18325" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18325" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18326" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18326" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18326" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18326" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18327" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18327" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18327" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18327" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18328" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18328" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18328" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18328" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18329" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18329" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18329" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18329" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18330" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18330" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18330" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18330" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18331" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18331" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18331" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18331" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18332" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18332" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18332" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18332" method="_on_mouse_entered"] [connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/ItemSlot" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/ItemSlot" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/ItemSlot" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18290" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18290" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18290" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18290" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18291" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18291" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18291" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18291" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18292" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18292" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18292" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18292" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18293" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18293" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18293" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18293" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18294" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18294" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18294" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18294" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18295" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18295" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18295" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18295" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18296" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18296" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18296" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18296" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18333" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18333" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18333" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18333" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18334" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18334" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18334" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18334" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18335" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18335" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18335" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18335" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18336" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18336" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18336" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18336" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18337" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18337" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18337" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18337" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18338" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18338" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18338" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18338" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18339" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18339" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18339" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18339" method="_on_mouse_entered"] [connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/ItemSlot" to="GameUI/ToolSlots/PanelContainer/ToolContainer/ItemSlot" method="_on_gui_input"] [connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/ItemSlot" to="GameUI/ToolSlots/PanelContainer/ToolContainer/ItemSlot" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18297" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18297" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18297" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18297" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18298" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18298" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18298" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18298" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18299" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18299" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18299" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18299" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18300" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18300" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18300" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18300" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18301" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18301" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18301" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18301" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18302" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18302" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18302" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18302" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18303" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18303" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18303" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18303" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18304" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18304" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18304" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18304" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18340" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18340" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18340" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18340" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18341" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18341" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18341" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18341" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18342" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18342" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18342" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18342" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18343" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18343" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18343" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18343" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18344" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18344" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18344" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18344" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18345" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18345" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18345" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18345" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18346" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18346" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18346" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18346" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18347" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18347" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18347" to="GameUI/ToolSlots/PanelContainer/ToolContainer/@Panel@18347" method="_on_mouse_entered"] diff --git a/scenes/game.gd b/scenes/game.gd index 93e7e5d..32bd685 100644 --- a/scenes/game.gd +++ b/scenes/game.gd @@ -1,9 +1,10 @@ extends Node3D +class_name Game @onready var camera = %Camera @onready var player = %Player -@onready var build_system = %BuildSystem +@onready var build_system:BuildSystem = %BuildSystem var _player_camera_offset:Vector3 = Vector3.ZERO @@ -14,7 +15,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(_delta): - if build_system.is_active: + if build_system.is_active and build_system.build_item != null: player.process_mode = Node.PROCESS_MODE_DISABLED else: player.process_mode = Node.PROCESS_MODE_ALWAYS diff --git a/scenes/startup_scene.tscn b/scenes/startup_scene.tscn index 7549240..1f5da35 100644 --- a/scenes/startup_scene.tscn +++ b/scenes/startup_scene.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=15 format=3 uid="uid://bo788o53t4rbq"] [ext_resource type="MeshLibrary" uid="uid://dcpuitbu16j1a" path="res://assets/mesh_library.tres" id="1_23vus"] -[ext_resource type="PackedScene" uid="uid://cofd468cwkntk" path="res://assets/scene_props/campfire_pit.tscn" id="2_m2sxe"] +[ext_resource type="PackedScene" uid="uid://cofd468cwkntk" path="res://assets/items/campfire_pit.tscn" id="2_m2sxe"] [ext_resource type="PackedScene" uid="uid://dtlvapvk6brjn" path="res://assets/3rdparty/kenney/survival-kit/Models/tree-tall.glb" id="3_2dy0f"] [ext_resource type="PackedScene" uid="uid://838tgcaf8b2v" path="res://assets/3rdparty/kenney/survival-kit/Models/tree.glb" id="4_osvg3"] [ext_resource type="PackedScene" uid="uid://malxjajkyimm" path="res://assets/3rdparty/kenney/survival-kit/Models/treeLarge.glb" id="5_shbpk"] diff --git a/systems/BuildSystem.gd b/systems/BuildSystem.gd index 0af0226..24086f9 100644 --- a/systems/BuildSystem.gd +++ b/systems/BuildSystem.gd @@ -69,27 +69,22 @@ func _physics_process(_delta): update_build_preview() - if build_item != null and Input.is_action_just_pressed("interaction"): - var new_structure:Node3D = build_item.scene.instantiate() - new_structure.transform = build_preview.transform - built_structures.add_child(new_structure) - get_viewport().set_input_as_handled() - return - - -func _unhandled_input(_event: InputEvent) -> void: - if Input.is_action_just_pressed("toggle_build_mode"): - is_active = not is_active - get_viewport().set_input_as_handled() - return - +func _unhandled_input(event: InputEvent) -> void: if not is_active: build_preview.hide() return build_preview.show() - if Input.is_action_just_pressed("rotate_clockwise"): + if event.is_action_pressed("rotate_clockwise"): build_preview.global_basis = build_preview.basis.rotated(Vector3.UP, deg_to_rad(45)) - if Input.is_action_just_pressed("rotate_counter_clockwise"): + get_viewport().set_input_as_handled() + if event.is_action_pressed("rotate_counter_clockwise"): build_preview.global_basis = build_preview.basis.rotated(Vector3.UP, -deg_to_rad(45)) + get_viewport().set_input_as_handled() + if build_item != null and event.is_action_pressed("interaction"): + var new_structure:Node3D = build_item.scene.instantiate() + new_structure.transform = build_preview.transform + built_structures.add_child(new_structure) + get_viewport().set_input_as_handled() + return diff --git a/ui/item_slot.gd b/ui/item_slot.gd index ab5fac4..16e6691 100644 --- a/ui/item_slot.gd +++ b/ui/item_slot.gd @@ -114,4 +114,5 @@ func _on_gui_input(event): var mouse_button_event = event as InputEventMouseButton if mouse_button_event and mouse_button_event.button_index == MOUSE_BUTTON_LEFT and mouse_button_event.pressed: + get_viewport().set_input_as_handled() emit_signal("mouse_left_pressed", self)