diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb new file mode 100644 index 0000000..6d170f8 Binary files /dev/null and b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb differ diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb.import b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb.import new file mode 100644 index 0000000..4119351 --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb.import @@ -0,0 +1,36 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://bpaw0o7c50ufp" +path="res://.godot/imported/Chest.glb-a990fefcd4450cf02dd67ffc3b1290a7.scn" + +[deps] + +source_file="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb" +dest_files=["res://.godot/imported/Chest.glb-a990fefcd4450cf02dd67ffc3b1290a7.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png new file mode 100644 index 0000000..1bd3e9d Binary files /dev/null and b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png differ diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png.import b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png.import new file mode 100644 index 0000000..69ccafb --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png.import @@ -0,0 +1,38 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgd7bbn2rgnfx" +path.s3tc="res://.godot/imported/Chest_dungeon_texture.png-ebc58450da4f20cd93a764c92c828ae2.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "33c924802a36c4f3415e10bb6940e832" +} + +[deps] + +source_file="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest_dungeon_texture.png" +dest_files=["res://.godot/imported/Chest_dungeon_texture.png-ebc58450da4f20cd93a764c92c828ae2.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Discord Server.url b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Discord Server.url new file mode 100644 index 0000000..fbf9714 --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Discord Server.url @@ -0,0 +1,5 @@ +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,11 +[InternetShortcut] +IDList= +URL=https://discord.gg/JC7HGnnUqH diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/License.txt b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/License.txt new file mode 100644 index 0000000..7bf5a4c --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/License.txt @@ -0,0 +1,45 @@ + + + KayKit : Dungeon Remastered Pack (1.1) + + Created/distributed by Kay Lousberg (www.kaylousberg.com) + Creation date: 09/05/2024 09:00 + + ------------------------------ + + License: (Creative Commons Zero, CC0) + http://creativecommons.org/publicdomain/zero/1.0/ + + This content is free to use in personal, educational and commercial projects. + + Support me by crediting Kay Lousberg, www.kaylousberg.com (this is not mandatory) + + ------------------------------ + + This asset pack is here thanks to all the wonderful people who support KayKit on Patreon and those who buy EXTRA or SOURCE packs on itch.io. + + And a big, special thank you to my Super Supporters on Patreon: + + - Brian McBarron + - Silva + - Eric Allamby + - Joseph Preston + - Alexander Würfl + - Danielle Smith + - 7dg2s + - Leon Burkhardt + - PSYLESS + - NickyBHobbying + - Emilia + - Rudolf Bouzek + + + + ------------------------------ + + + Patreon: http://patreon.com/kaylousberg + + Follow here for updates: + http://twitter.com/KayLousberg + https://mastodon.gamedev.place/@Kay \ No newline at end of file diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/More KayKit Assets.url b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/More KayKit Assets.url new file mode 100644 index 0000000..480e65b --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/More KayKit Assets.url @@ -0,0 +1,6 @@ +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,11 +[InternetShortcut] +IDList= +URL=https://kaylousberg.itch.io/ +HotKey=0 diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Patreon.url b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Patreon.url new file mode 100644 index 0000000..43f9abf --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Patreon.url @@ -0,0 +1,5 @@ +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,11 +[InternetShortcut] +IDList= +URL=https://www.patreon.com/kaylousberg diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend new file mode 100644 index 0000000..4c54ad1 Binary files /dev/null and b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend differ diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend.import b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend.import new file mode 100644 index 0000000..fd92ce2 --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend.import @@ -0,0 +1,50 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://vbgy73lr73a3" +valid=false + +[deps] + +source_file="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Source/Chest.blend" + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/colors=false +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png new file mode 100644 index 0000000..4ab37c8 Binary files /dev/null and b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png differ diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png.import b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png.import new file mode 100644 index 0000000..1c53c77 --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://w4bah603e5v6" +path="res://.godot/imported/contents.png-3d5d779cae0db35536398028fe99db0d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/contents.png" +dest_files=["res://.godot/imported/contents.png-3d5d779cae0db35536398028fe99db0d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg new file mode 100644 index 0000000..c0539d7 Binary files /dev/null and b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg differ diff --git a/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg.import b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg.import new file mode 100644 index 0000000..3653d61 --- /dev/null +++ b/assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://co3wupi156vu8" +path="res://.godot/imported/update_contents.jpg-ee8c8ab9e2c6ee62ee9f204f30c173ee.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/update_contents.jpg" +dest_files=["res://.godot/imported/update_contents.jpg-ee8c8ab9e2c6ee62ee9f204f30c173ee.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/items/ChestAnimations.res b/assets/items/ChestAnimations.res new file mode 100644 index 0000000..c2400cf Binary files /dev/null and b/assets/items/ChestAnimations.res differ diff --git a/objects/chest.gd b/objects/chest.gd new file mode 100644 index 0000000..d6cbdd7 --- /dev/null +++ b/objects/chest.gd @@ -0,0 +1,51 @@ +@tool +class_name Chest +extends StaticBody3D + +signal chest_opened + +@export var item:ItemResource = null + +@export var is_open:bool = false: + get: + return is_open + set(value): + if value != is_open: + is_open = value + + _update_geometry() + +@onready var item_spawner: ItemSpawner = %ItemSpawner +@onready var animation_player: AnimationPlayer = %AnimationPlayer + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + item_spawner.item = item + _update_geometry() + +func _update_geometry() -> void: + if animation_player == null: + return + + if is_open: + animation_player.current_animation = "ChestAnimations/Open" + animation_player.active = true + animation_player.seek(animation_player.current_animation_length) + else: + animation_player.current_animation = "ChestAnimations/Open" + animation_player.active = true + animation_player.seek(0) + animation_player.active = false + +func _on_opened(_ignore) -> void: + item_spawner.spawn() + chest_opened.emit(self) + +func open() -> void: + if is_open: + return + + is_open = true + animation_player.active = true + animation_player.seek(0) + animation_player.animation_finished.connect(_on_opened) diff --git a/objects/chest.tscn b/objects/chest.tscn new file mode 100644 index 0000000..f3c5d31 --- /dev/null +++ b/objects/chest.tscn @@ -0,0 +1,61 @@ +[gd_scene load_steps=10 format=3 uid="uid://bipsmw4v7oegd"] + +[ext_resource type="Script" path="res://objects/chest.gd" id="1_1ny2o"] +[ext_resource type="PackedScene" uid="uid://bpaw0o7c50ufp" path="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb" id="3_alm75"] +[ext_resource type="PackedScene" uid="uid://br6po50kfianv" path="res://objects/item_spawner.tscn" id="3_uswke"] +[ext_resource type="AnimationLibrary" uid="uid://bubtqojiosc7e" path="res://assets/items/ChestAnimations.res" id="4_qlsk6"] +[ext_resource type="PackedScene" uid="uid://dhpc2xvlfln7o" path="res://objects/actionable.tscn" id="5_a38x3"] +[ext_resource type="Script" path="res://objects/open_actionable.gd" id="6_3yjfm"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_tlg3p"] +size = Vector3(0.431885, 0.357361, 0.377075) + +[sub_resource type="BoxShape3D" id="BoxShape3D_4etwi"] +size = Vector3(0.5625, 0.483398, 0.5) + +[sub_resource type="SphereShape3D" id="SphereShape3D_w1i07"] + +[node name="Chest" type="StaticBody3D"] +script = ExtResource("1_1ny2o") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0179443, 0.147614, -0.0165405) +shape = SubResource("BoxShape3D_tlg3p") + +[node name="Hitbox" type="Area3D" parent="."] +collision_layer = 0 +collision_mask = 8 +monitorable = false + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00961299, 0.244228, 0) +shape = SubResource("BoxShape3D_4etwi") + +[node name="GrowTimer" type="Timer" parent="."] +unique_name_in_owner = true +wait_time = 2.08359 + +[node name="ItemSpawner" parent="." instance=ExtResource("3_uswke")] +unique_name_in_owner = true +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.337356) +item = null +spawn_chance = 1.0 + +[node name="Geometry" parent="." instance=ExtResource("3_alm75")] +transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +unique_name_in_owner = true +active = false +root_node = NodePath("../Geometry") +libraries = { +"ChestAnimations": ExtResource("4_qlsk6") +} + +[node name="OpenActionable" parent="." instance=ExtResource("5_a38x3")] +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0) +monitoring = false +script = ExtResource("6_3yjfm") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="OpenActionable"] +shape = SubResource("SphereShape3D_w1i07") diff --git a/objects/grass.tscn b/objects/grass.tscn index ffaf5d2..b1f5e4f 100644 --- a/objects/grass.tscn +++ b/objects/grass.tscn @@ -26,7 +26,7 @@ shape = SubResource("BoxShape3D_4etwi") [node name="GrowTimer" type="Timer" parent="."] unique_name_in_owner = true -wait_time = 2.17 +wait_time = 2.20674 [node name="ItemSpawner" parent="." instance=ExtResource("3_cuts0")] unique_name_in_owner = true diff --git a/objects/item_spawner.gd b/objects/item_spawner.gd index d1d79c1..bb07a95 100644 --- a/objects/item_spawner.gd +++ b/objects/item_spawner.gd @@ -7,9 +7,9 @@ extends Node3D @onready var pickup_item_scene:PackedScene = preload("res://objects/pickup_item.tscn") func spawn() -> void: - if randf() < spawn_chance: + if spawn_chance >= 1.0 or randf() < spawn_chance: var pickup_item:PickupItem = pickup_item_scene.instantiate() - pickup_item.item = load("res://data/items/seeds.tres") + pickup_item.item = item pickup_item.world_item_initial_y_position = 0.5 pickup_item.world_item_initial_y_velocity = 3.0 get_parent().add_child(pickup_item) diff --git a/objects/open_actionable.gd b/objects/open_actionable.gd new file mode 100644 index 0000000..bc6f5f3 --- /dev/null +++ b/objects/open_actionable.gd @@ -0,0 +1,14 @@ +class_name OpenActionable +extends Area3D + +func action() -> void: + var parent_chest = get_parent() as Chest + if parent_chest == null: + push_error ("Cannot open chest. Parent is not a Chest!") + return + + if parent_chest.is_open: + return + + parent_chest.open() + InteractionSystem.start_chest_open_sequence(get_parent() as Chest) diff --git a/objects/player.tscn b/objects/player.tscn index 3c8b11d..152448e 100644 --- a/objects/player.tscn +++ b/objects/player.tscn @@ -86,6 +86,7 @@ states/rogue_1H_Melee_Attack_Slice_Diagonal/position = Vector2(480, 162) states/rogue_Unarmed_Melee_Attack_Kick/node = SubResource("AnimationNodeAnimation_go27t") states/rogue_Unarmed_Melee_Attack_Kick/position = Vector2(485, 257) transitions = ["Start", "rogue_1H_Melee_Attack_Chop", SubResource("AnimationNodeStateMachineTransition_glihl"), "Start", "rogue_Unarmed_Melee_Attack_Kick", SubResource("AnimationNodeStateMachineTransition_qm71c"), "Start", "rogue_1H_Melee_Attack_Slice_Diagonal", SubResource("AnimationNodeStateMachineTransition_t6she"), "rogue_1H_Melee_Attack_Chop", "End", SubResource("AnimationNodeStateMachineTransition_oq6xv"), "rogue_Unarmed_Melee_Attack_Kick", "End", SubResource("AnimationNodeStateMachineTransition_5ovo5"), "rogue_1H_Melee_Attack_Slice_Diagonal", "End", SubResource("AnimationNodeStateMachineTransition_kjkqd")] +graph_offset = Vector2(0, 79) [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_dqt6d"] animation = &"rogue/Idle" @@ -169,7 +170,7 @@ unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.98728) [node name="RightHandBone" type="BoneAttachment3D" parent="."] -transform = Transform3D(-0.001175, -0.0650121, 0.394679, 0.39997, -0.00487941, 0.000386901, 0.00475177, 0.394651, 0.0650216, -0.19617, 0.248974, 0.0428286) +transform = Transform3D(-0.000808071, -0.0634631, 0.394932, 0.399985, -0.00338096, 0.000274934, 0.00329465, 0.394919, 0.0634677, -0.196422, 0.250954, 0.0421328) bone_name = "Knife" bone_idx = 17 use_external_skeleton = true @@ -187,6 +188,81 @@ transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0) [node name="Rogue" parent="Geometry" instance=ExtResource("4_6j8ok")] +[node name="Skeleton3D" parent="Geometry/Rogue/Rig" index="0"] +bones/0/rotation = Quaternion(0, 1.19209e-07, 0, 1) +bones/1/position = Vector3(0, 0.386198, 0) +bones/1/rotation = Quaternion(-1.11123e-10, 0.0431578, 2.57241e-09, 0.999068) +bones/2/rotation = Quaternion(0, 7.10543e-15, 0, 1) +bones/4/position = Vector3(0.212007, 0.134132, 8.40246e-08) +bones/4/rotation = Quaternion(-0.555519, -0.0631045, -0.654455, 0.509024) +bones/5/rotation = Quaternion(1.81368e-08, -6.33466e-08, -0.477413, 0.878679) +bones/7/rotation = Quaternion(-0.317798, -0.326169, 0.136363, 0.879786) +bones/8/position = Vector3(8.34815e-10, 0.0961251, -0.0575001) +bones/8/rotation = Quaternion(0.00139643, 0.00139642, -0.701961, 0.712212) +bones/10/position = Vector3(-0.212007, 0.134132, 8.40246e-08) +bones/10/rotation = Quaternion(-0.614663, 0.0830297, 0.627351, 0.470877) +bones/11/rotation = Quaternion(8.33e-09, 4.82012e-08, 0.50143, 0.865198) +bones/13/rotation = Quaternion(-0.316164, 0.30041, -0.217973, 0.873088) +bones/14/position = Vector3(-8.34815e-10, 0.0961251, -0.0575001) +bones/14/rotation = Quaternion(0.00288213, 0.00339473, 0.704106, 0.710081) +bones/19/rotation = Quaternion(-5.8061e-11, -0.0313416, -1.88013e-09, 0.999509) +bones/21/position = Vector3(0.170945, 0.113587, 1.39233e-08) +bones/21/rotation = Quaternion(0.992999, 0.0832003, 0.0753553, 0.0367805) +bones/22/rotation = Quaternion(0.262887, 6.48726e-08, -1.83382e-07, 0.964827) +bones/23/rotation = Quaternion(-0.552533, -0.20729, 0.054077, 0.80549) +bones/24/rotation = Quaternion(-3.04797e-08, 0.920355, -0.391084, 6.94849e-08) +bones/25/position = Vector3(-0.170945, 0.113587, 1.39233e-08) +bones/25/rotation = Quaternion(0.995919, -0.0305595, 0.0310078, 0.0790601) +bones/26/rotation = Quaternion(0.325495, -6.26467e-08, 2.26499e-07, 0.945544) +bones/27/rotation = Quaternion(-0.586435, 0.114109, -0.0129731, 0.801813) +bones/28/rotation = Quaternion(3.04797e-08, 0.920355, -0.391084, -6.94849e-08) +bones/29/position = Vector3(0.170945, 0.29231, 0.575812) +bones/29/rotation = Quaternion(0.707107, -2.29302e-07, -4.60551e-08, 0.707107) +bones/30/position = Vector3(0.202182, 0.0259903, 0.205181) +bones/30/rotation = Quaternion(-0.707107, -7.05285e-08, -7.05285e-08, 0.707107) +bones/31/position = Vector3(1.94581e-08, 0.362833, -2.42861e-15) +bones/31/rotation = Quaternion(9.65792e-09, 1.77955e-09, 0.985719, -0.168398) +bones/32/position = Vector3(-1.11482e-08, 0.213436, -2.50942e-15) +bones/32/rotation = Quaternion(-1.04035e-07, 0.391084, 0.920355, -2.9526e-08) +bones/33/position = Vector3(8.58988e-09, 0.16565, -5.09137e-09) +bones/34/rotation = Quaternion(1, -3.10863e-15, 1.94707e-07, -6.91739e-22) +bones/36/position = Vector3(-0.170945, 0.29231, 0.575812) +bones/36/rotation = Quaternion(0.707107, -3.82385e-08, 1.45009e-07, 0.707107) +bones/37/position = Vector3(-0.170945, 0.0259903, 0.245789) +bones/37/rotation = Quaternion(-0.707107, -7.05285e-08, -7.05285e-08, 0.707107) +bones/38/position = Vector3(1.94581e-08, 0.362833, 2.42861e-15) +bones/38/rotation = Quaternion(-5.83589e-09, 6.43837e-10, 0.994809, 0.101756) +bones/39/position = Vector3(3.75294e-09, 0.213436, 0) +bones/39/rotation = Quaternion(-1.04035e-07, 0.391084, 0.920355, -2.95261e-08) +bones/40/position = Vector3(-6.31128e-09, 0.16565, 1.36608e-09) +bones/41/rotation = Quaternion(1, 4.44086e-16, 1.94707e-07, 6.91739e-22) +bones/43/position = Vector3(0.453507, 1.10676, -0.588859) +bones/43/rotation = Quaternion(-0.707107, -7.27951e-08, -7.27951e-08, 0.707107) +bones/44/position = Vector3(0.520841, 0.775574, -0.0576374) +bones/44/rotation = Quaternion(0.794627, -1.2666e-07, 0.607098, -5.96046e-08) +bones/45/position = Vector3(-0.453507, 1.10676, -0.58886) +bones/45/rotation = Quaternion(-0.707107, -7.27951e-08, -7.27951e-08, 0.707107) +bones/46/position = Vector3(-0.510844, 0.775574, 0.0597369) +bones/46/rotation = Quaternion(-0.758253, -1.82539e-07, 0.651961, -1.11759e-08) + +[node name="Knife_Offhand" parent="Geometry/Rogue/Rig/Skeleton3D" index="0"] +transform = Transform3D(1.88613e-06, 0.262865, 0.964832, 0.999886, -0.014497, 0.00394805, 0.0150252, 0.964723, -0.262835, 0.50754, 0.623272, -0.0198059) + +[node name="1H_Crossbow" parent="Geometry/Rogue/Rig/Skeleton3D" index="1"] +transform = Transform3D(0.987331, -0.158658, 0.00202018, 0.000687315, -0.00845254, -0.999963, 0.15867, 0.987297, -0.00823678, -0.489622, 0.732096, 0.095967) + +[node name="2H_Crossbow" parent="Geometry/Rogue/Rig/Skeleton3D" index="2"] +transform = Transform3D(0.987331, -0.158658, 0.00202018, 0.000687315, -0.00845254, -0.999963, 0.15867, 0.987297, -0.00823678, -0.489622, 0.732096, 0.095967) + +[node name="Knife" parent="Geometry/Rogue/Rig/Skeleton3D" index="3"] +transform = Transform3D(-0.00202018, -0.158658, 0.987331, 0.999963, -0.00845239, 0.000687336, 0.00823663, 0.987297, 0.158669, -0.491055, 0.627384, 0.105332) + +[node name="Throwable" parent="Geometry/Rogue/Rig/Skeleton3D" index="4"] +transform = Transform3D(-0.00202016, -0.158658, 0.987331, 0.999963, -0.00845237, 0.000687321, 0.00823661, 0.987297, 0.158669, -0.519652, 0.62586, 0.283288) + +[node name="Rogue_Cape" parent="Geometry/Rogue/Rig/Skeleton3D" index="5"] +transform = Transform3D(0.996275, -5.14962e-09, 0.0862354, 5.13044e-09, 1, 4.44078e-10, -0.0862354, 1.47756e-15, 0.996275, -4.17227e-09, 1.19641, 1.19714e-15) + [node name="AnimationPlayer" type="AnimationPlayer" parent="Geometry"] root_node = NodePath("../Rogue") libraries = { @@ -204,3 +280,5 @@ parameters/conditions/running = false parameters/Interact/conditions/tool_action_chop = false parameters/Interact/conditions/tool_action_slice = false parameters/running/TimeScale/scale = 1.5 + +[editable path="Geometry/Rogue"] diff --git a/root_ui.tscn b/root_ui.tscn index ab89a03..4acf8a2 100644 --- a/root_ui.tscn +++ b/root_ui.tscn @@ -280,6 +280,7 @@ text = "Quit" [node name="StartGameMenuUI" type="Panel" parent="."] unique_name_in_owner = true +visible = false anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 @@ -516,7 +517,6 @@ text = "Back" [node name="GameUI" type="Control" parent="."] unique_name_in_owner = true -visible = false layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 @@ -728,6 +728,7 @@ rows = 4 [node name="GameMenuUI" type="Panel" parent="GameUI"] unique_name_in_owner = true +visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 @@ -984,22 +985,22 @@ 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@261869" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261869" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261869" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261869" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261870" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261870" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261870" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261870" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261871" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261871" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261871" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261871" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261872" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261872" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261872" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261872" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261873" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261873" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261873" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261873" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261874" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261874" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261874" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261874" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261875" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261875" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261875" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261875" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261876" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261876" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261876" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@261876" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18026" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18026" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18026" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18026" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18027" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18027" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18027" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18027" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18028" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18028" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18028" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18028" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18029" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18029" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18029" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18029" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18030" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18030" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18030" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18030" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18031" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18031" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18031" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18031" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18032" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18032" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18032" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18032" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18033" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18033" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18033" to="GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer/IngredientsContainer/@Panel@18033" 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"] @@ -1012,49 +1013,49 @@ unique_name_in_owner = true [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@261877" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261877" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261877" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261877" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261878" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261878" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261878" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261878" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261879" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261879" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261879" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261879" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261880" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261880" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261880" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261880" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261881" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261881" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261881" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261881" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261882" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261882" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261882" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261882" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261883" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261883" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261883" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261883" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261884" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261884" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261884" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261884" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261885" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261885" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261885" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261885" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261886" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261886" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261886" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261886" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261887" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261887" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261887" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261887" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261888" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261888" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261888" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261888" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261889" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261889" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261889" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261889" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261890" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261890" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261890" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261890" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261891" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261891" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261891" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@261891" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18034" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18034" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18034" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18034" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18035" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18035" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18035" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18035" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18036" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18036" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18036" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18036" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18037" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18037" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18037" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18037" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18038" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18038" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18038" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18038" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18039" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18039" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18039" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18039" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18040" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18040" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18040" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18040" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18041" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18041" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18041" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18041" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18042" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18042" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18042" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18042" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18043" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18043" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18043" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18043" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18044" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18044" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18044" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18044" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18045" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18045" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18045" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18045" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18046" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18046" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18046" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18046" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18047" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18047" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18047" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18047" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18048" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18048" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18048" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemsContainer/@Panel@18048" 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@261892" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261892" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261892" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261892" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261893" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261893" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261893" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261893" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261894" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261894" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261894" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261894" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261895" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261895" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261895" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261895" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261896" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261896" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261896" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261896" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261897" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261897" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261897" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261897" method="_on_mouse_entered"] -[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261898" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261898" method="_on_gui_input"] -[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261898" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@261898" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18049" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18049" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18049" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18049" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18050" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18050" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18050" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18050" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18051" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18051" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18051" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18051" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18052" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18052" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18052" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18052" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18053" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18053" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18053" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18053" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18054" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18054" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18054" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18054" method="_on_mouse_entered"] +[connection signal="gui_input" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18055" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18055" method="_on_gui_input"] +[connection signal="mouse_entered" from="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18055" to="GameUI/BuildDialog/Panel/MarginContainer/VBoxContainer/BuildItemResourcesContainer/@Panel@18055" method="_on_mouse_entered"] diff --git a/systems/InteractionSystem.gd b/systems/InteractionSystem.gd index c77b2b7..8587734 100644 --- a/systems/InteractionSystem.gd +++ b/systems/InteractionSystem.gd @@ -18,3 +18,16 @@ func stop_conversation(_resource: DialogueResource) -> void: if player: player.is_input_blocked = false + +func start_chest_open_sequence(chest: Chest) -> void: + if chest == null: + push_error("Error starting chest open sequence: no chest specified!") + + if player: + player.is_input_blocked = true + + chest.chest_opened.connect(on_chest_opened) + +func on_chest_opened(_chest: Chest) -> void: + if player: + player.is_input_blocked = false diff --git a/world/level.tscn b/world/level.tscn index b7841bf..cef5082 100644 --- a/world/level.tscn +++ b/world/level.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=33 format=3 uid="uid://dmagdl5pi6jdj"] +[gd_scene load_steps=34 format=3 uid="uid://dmagdl5pi6jdj"] [ext_resource type="MeshLibrary" uid="uid://dcpuitbu16j1a" path="res://assets/mesh_library.tres" id="1_q0eym"] [ext_resource type="PackedScene" uid="uid://da5r82nvypfk4" path="res://objects/pickup_item.tscn" id="2_ccr0r"] @@ -28,6 +28,7 @@ [ext_resource type="Script" path="res://quests/mage_missing_seeds.gd" id="24_5bs33"] [ext_resource type="PackedScene" uid="uid://bnstbaflxlhuj" path="res://assets/characters/mage.tscn" id="24_jxnq6"] [ext_resource type="Resource" uid="uid://mn4emvkkv3v4" path="res://dialogue/mage_missing_seeds.dialogue" id="25_5oc06"] +[ext_resource type="PackedScene" uid="uid://bipsmw4v7oegd" path="res://objects/chest.tscn" id="25_fhfiw"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_0soe6"] height = 0.6 @@ -282,6 +283,10 @@ default_dialogue_resource = ExtResource("18_4qvld") [node name="CollisionShape3D" type="CollisionShape3D" parent="Quests/NeedSomeSeeds/NonPlayerCharacter/Conversation"] shape = SubResource("SphereShape3D_ugkqa") +[node name="Chest" parent="." instance=ExtResource("25_fhfiw")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0, -1) +item = ExtResource("7_pt3bs") + [node name="Water" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.239327, 0) mesh = SubResource("PlaneMesh_6aebw")