|
|
|
@ -1,29 +1,30 @@
|
|
|
|
|
[gd_scene load_steps=36 format=3 uid="uid://bugqatylloxkl"]
|
|
|
|
|
[gd_scene load_steps=37 format=3 uid="uid://bugqatylloxkl"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Player.gd" id="1_3lyis"]
|
|
|
|
|
[ext_resource type="Script" path="res://Game.gd" id="1_h44o7"]
|
|
|
|
|
[ext_resource type="Script" path="res://RootUI.gd" id="2_gg3gt"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dy8vjf760prhq" path="res://assets/characters/Rogue.tscn" id="4_6mbva"]
|
|
|
|
|
[ext_resource type="Script" path="res://model/quest_state.gd" id="4_fmwrw"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cq8ypeagpedq" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_bronze.png" id="4_pcyi0"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c7fu3paj3b4e8" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_silver.png" id="5_24tqj"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://drpl0ql1p3pfk" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_gold.png" id="6_uid86"]
|
|
|
|
|
[ext_resource type="Script" path="res://GameUI.gd" id="7_mw21s"]
|
|
|
|
|
[ext_resource type="Theme" uid="uid://dmk7hc81l8gbw" path="res://ui/ui_theme.tres" id="8_qpuke"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bq3b1hxl5ojh6" path="res://assets/icons/npc_emotes/attention.tres" id="10_6agi3"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dmagdl5pi6jdj" path="res://world/level.tscn" id="11_m8tt7"]
|
|
|
|
|
[ext_resource type="Script" path="res://ui/inventory_dialog.gd" id="12_8cl6a"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dp3fi0g53qrt2" path="res://ui/item_slot.tscn" id="12_v6fpp"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://2q8dhf61a7os" path="res://assets/characters/Engineer.tscn" id="13_gxr54"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dhpc2xvlfln7o" path="res://objects/Actionable.tscn" id="14_qb8uo"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://b1gd54koq1h7o" path="res://dialogue/testdialogue.dialogue" id="15_2n7cr"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bwui4acukq4x6" path="res://ui/item_grid.tscn" id="15_5xu2a"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dnobr4inhiskv" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/tree-pine.glb" id="21_5210s"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://m4tk7vhjy310" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/tree.glb" id="22_xm4au"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cgde10y3e7w86" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/rocks.glb" id="23_ve8c6"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dg1rtct0vrk3p" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/poles.glb" id="24_a3mo8"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://kpyvcyklt68g" path="res://assets/scene_props/bridge.tscn" id="25_qvbtw"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cej0a41nm3eh7" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/mushrooms.glb" id="25_tea3k"]
|
|
|
|
|
[ext_resource type="Script" path="res://game.gd" id="1_uwyoo"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bq3b1hxl5ojh6" path="res://assets/icons/npc_emotes/attention.tres" id="2_4dxur"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://2q8dhf61a7os" path="res://assets/characters/engineer.tscn" id="3_gf736"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dhpc2xvlfln7o" path="res://objects/actionable.tscn" id="4_pths5"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://b1gd54koq1h7o" path="res://dialogue/testdialogue.dialogue" id="5_i1opu"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dmagdl5pi6jdj" path="res://world/level.tscn" id="6_svjo8"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dnobr4inhiskv" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/tree-pine.glb" id="7_0tqw3"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://m4tk7vhjy310" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/tree.glb" id="8_ivm2f"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cgde10y3e7w86" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/rocks.glb" id="9_0hvyx"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dg1rtct0vrk3p" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/poles.glb" id="10_8fhnl"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cej0a41nm3eh7" path="res://assets/3rdparty/kenney/platformer-kit/Models/GLB format/mushrooms.glb" id="11_ytfwt"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://kpyvcyklt68g" path="res://assets/scene_props/bridge.tscn" id="12_ybrl7"]
|
|
|
|
|
[ext_resource type="Script" path="res://player.gd" id="13_2wo8v"]
|
|
|
|
|
[ext_resource type="Script" path="res://model/quest_state.gd" id="14_g3xjj"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dy8vjf760prhq" path="res://assets/characters/rogue.tscn" id="15_2476h"]
|
|
|
|
|
[ext_resource type="Script" path="res://root_ui.gd" id="16_winq7"]
|
|
|
|
|
[ext_resource type="Theme" uid="uid://dmk7hc81l8gbw" path="res://ui/ui_theme.tres" id="17_1odts"]
|
|
|
|
|
[ext_resource type="Script" path="res://game_ui.gd" id="18_i4pxl"]
|
|
|
|
|
[ext_resource type="Script" path="res://ui/game_menu_ui.gd" id="18_lr26g"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c7fu3paj3b4e8" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_silver.png" id="19_mn7wc"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://drpl0ql1p3pfk" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_gold.png" id="20_3b2hv"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cq8ypeagpedq" path="res://assets/3rdparty/kenney/ui-pack-rpg-expansion/PNG/cursorSword_bronze.png" id="21_act8d"]
|
|
|
|
|
[ext_resource type="Script" path="res://ui/inventory_dialog.gd" id="22_s3l55"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dp3fi0g53qrt2" path="res://ui/item_slot.tscn" id="23_4kchv"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bwui4acukq4x6" path="res://ui/item_grid.tscn" id="24_hfjh5"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_y65pc"]
|
|
|
|
|
|
|
|
|
@ -67,7 +68,7 @@ height = 0.952333
|
|
|
|
|
radius = 0.194932
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node3D"]
|
|
|
|
|
script = ExtResource("1_h44o7")
|
|
|
|
|
script = ExtResource("1_uwyoo")
|
|
|
|
|
|
|
|
|
|
[node name="World" type="Node3D" parent="."]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
@ -96,46 +97,83 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0272007, 0.901301, 0.16839
|
|
|
|
|
centered = false
|
|
|
|
|
billboard = 1
|
|
|
|
|
texture_filter = 0
|
|
|
|
|
texture = ExtResource("10_6agi3")
|
|
|
|
|
texture = ExtResource("2_4dxur")
|
|
|
|
|
|
|
|
|
|
[node name="Geometry" type="Node3D" parent="World/Merchant"]
|
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
|
|
|
|
|
|
|
|
|
[node name="Engineer" parent="World/Merchant/Geometry" instance=ExtResource("13_gxr54")]
|
|
|
|
|
[node name="Engineer" parent="World/Merchant/Geometry" instance=ExtResource("3_gf736")]
|
|
|
|
|
|
|
|
|
|
[node name="Actionable" parent="World/Merchant" instance=ExtResource("14_qb8uo")]
|
|
|
|
|
dialogue_resource = ExtResource("15_2n7cr")
|
|
|
|
|
[node name="Actionable" parent="World/Merchant" instance=ExtResource("4_pths5")]
|
|
|
|
|
dialogue_resource = ExtResource("5_i1opu")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Merchant/Actionable"]
|
|
|
|
|
shape = SubResource("SphereShape3D_6nrvr")
|
|
|
|
|
|
|
|
|
|
[node name="Level" parent="World" instance=ExtResource("11_m8tt7")]
|
|
|
|
|
[node name="Level" parent="World" instance=ExtResource("6_svjo8")]
|
|
|
|
|
|
|
|
|
|
[node name="Decorations" type="Node3D" parent="World"]
|
|
|
|
|
|
|
|
|
|
[node name="tree-pine2" parent="World/Decorations" instance=ExtResource("21_5210s")]
|
|
|
|
|
[node name="tree-pine2" parent="World/Decorations" instance=ExtResource("7_0tqw3")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.754677, 0, 0.0391712)
|
|
|
|
|
|
|
|
|
|
[node name="tree2" parent="World/Decorations" instance=ExtResource("22_xm4au")]
|
|
|
|
|
[node name="tree2" parent="World/Decorations" instance=ExtResource("8_ivm2f")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.80764, 0, -3.13532)
|
|
|
|
|
|
|
|
|
|
[node name="rocks2" parent="World/Decorations" instance=ExtResource("23_ve8c6")]
|
|
|
|
|
[node name="rocks2" parent="World/Decorations" instance=ExtResource("9_0hvyx")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3817, -4.76837e-07, -3.3938)
|
|
|
|
|
|
|
|
|
|
[node name="poles2" parent="World/Decorations" instance=ExtResource("24_a3mo8")]
|
|
|
|
|
[node name="poles2" parent="World/Decorations" instance=ExtResource("10_8fhnl")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.56186, 0, -3.13331)
|
|
|
|
|
|
|
|
|
|
[node name="mushrooms2" parent="World/Decorations" instance=ExtResource("25_tea3k")]
|
|
|
|
|
[node name="mushrooms2" parent="World/Decorations" instance=ExtResource("11_ytfwt")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.851, 0, 0.798104)
|
|
|
|
|
|
|
|
|
|
[node name="Bridge" type="Node3D" parent="World"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
|
|
|
|
[node name="BridgePart2" parent="World/Bridge" instance=ExtResource("25_qvbtw")]
|
|
|
|
|
[node name="BridgePart2" parent="World/Bridge" instance=ExtResource("12_ybrl7")]
|
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.723, 0, -1.439)
|
|
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D" parent="World" groups=["savable_nodes"]]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("13_2wo8v")
|
|
|
|
|
|
|
|
|
|
[node name="QuestState" type="Node" parent="World/Player"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("14_g3xjj")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
|
|
|
|
|
visible = false
|
|
|
|
|
mesh = SubResource("CapsuleMesh_dwrtd")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.470516, 0)
|
|
|
|
|
shape = SubResource("CapsuleShape3D_7kfad")
|
|
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="World/Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.460138, 0.887848, 0, -0.887848, 0.460138, 0, 2.91421, 1.186)
|
|
|
|
|
current = true
|
|
|
|
|
|
|
|
|
|
[node name="Geometry" type="Node3D" parent="World/Player"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
|
|
|
|
|
|
|
|
|
[node name="Rogue" parent="World/Player/Geometry" instance=ExtResource("15_2476h")]
|
|
|
|
|
|
|
|
|
|
[node name="ActionableDetector" type="Area3D" parent="World/Player"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.325311)
|
|
|
|
|
collision_layer = 0
|
|
|
|
|
collision_mask = 16
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Player/ActionableDetector"]
|
|
|
|
|
shape = SubResource("SphereShape3D_wrkyq")
|
|
|
|
|
|
|
|
|
|
[node name="RootUI" type="CanvasLayer" parent="."]
|
|
|
|
|
script = ExtResource("2_gg3gt")
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("16_winq7")
|
|
|
|
|
|
|
|
|
|
[node name="MainMenuUI" type="PanelContainer" parent="RootUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
@ -151,7 +189,7 @@ offset_right = 199.0
|
|
|
|
|
offset_bottom = 134.5
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme = ExtResource("8_qpuke")
|
|
|
|
|
theme = ExtResource("17_1odts")
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/MainMenuUI"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
@ -222,7 +260,7 @@ offset_right = 291.0
|
|
|
|
|
offset_bottom = 144.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme = ExtResource("8_qpuke")
|
|
|
|
|
theme = ExtResource("17_1odts")
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/NewGameUI"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
@ -295,80 +333,6 @@ layout_mode = 2
|
|
|
|
|
text = "Start
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="GameMenuUI" type="PanelContainer" parent="RootUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
visible = false
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = -199.0
|
|
|
|
|
offset_top = -186.0
|
|
|
|
|
offset_right = 199.0
|
|
|
|
|
offset_bottom = 186.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme = ExtResource("8_qpuke")
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/GameMenuUI"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 60
|
|
|
|
|
theme_override_constants/margin_top = 60
|
|
|
|
|
theme_override_constants/margin_right = 60
|
|
|
|
|
theme_override_constants/margin_bottom = 60
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/GameMenuUI/MarginContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="SaveGameButton" type="Button" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Save Game
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="OptionsButton" type="Button" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Options"
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="BackToGameButton" type="Button" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Return to Game"
|
|
|
|
|
|
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer5" type="MarginContainer" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="ToMainMenuButton" type="Button" parent="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Back to Main Menu"
|
|
|
|
|
|
|
|
|
|
[node name="GameUI" type="Control" parent="RootUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 3
|
|
|
|
@ -379,40 +343,8 @@ grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
theme = ExtResource("8_qpuke")
|
|
|
|
|
script = ExtResource("7_mw21s")
|
|
|
|
|
|
|
|
|
|
[node name="ToolSlots" type="MarginContainer" parent="RootUI/GameUI"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -67.0
|
|
|
|
|
offset_top = -77.0
|
|
|
|
|
offset_right = 67.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
theme_override_constants/margin_bottom = 32
|
|
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="RootUI/GameUI/ToolSlots"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/ToolSlots/PanelContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("5_24tqj")
|
|
|
|
|
|
|
|
|
|
[node name="Button3" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("6_uid86")
|
|
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("4_pcyi0")
|
|
|
|
|
theme = ExtResource("17_1odts")
|
|
|
|
|
script = ExtResource("18_i4pxl")
|
|
|
|
|
|
|
|
|
|
[node name="MessagesContainer" type="MarginContainer" parent="RootUI/GameUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
@ -450,8 +382,8 @@ theme_override_constants/margin_left = 40
|
|
|
|
|
theme_override_constants/margin_top = 82
|
|
|
|
|
theme_override_constants/margin_right = 40
|
|
|
|
|
theme_override_constants/margin_bottom = 128
|
|
|
|
|
script = ExtResource("12_8cl6a")
|
|
|
|
|
slot_scene = ExtResource("12_v6fpp")
|
|
|
|
|
script = ExtResource("22_s3l55")
|
|
|
|
|
slot_scene = ExtResource("23_4kchv")
|
|
|
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="RootUI/GameUI/InventoryDialog"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
@ -503,7 +435,7 @@ text = "Recipes"
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
theme = ExtResource("8_qpuke")
|
|
|
|
|
theme = ExtResource("17_1odts")
|
|
|
|
|
item_count = 2
|
|
|
|
|
item_0/text = "Blab"
|
|
|
|
|
item_1/text = "Bloobalb"
|
|
|
|
@ -535,7 +467,7 @@ grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
|
|
[node name="IngredientsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer" instance=ExtResource("15_5xu2a")]
|
|
|
|
|
[node name="IngredientsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftIngredients/Panel/CenterContainer" instance=ExtResource("24_hfjh5")]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
@ -573,7 +505,7 @@ anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="ResultsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer" instance=ExtResource("15_5xu2a")]
|
|
|
|
|
[node name="ResultsContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/Panel/CenterContainer" instance=ExtResource("24_hfjh5")]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
@ -601,55 +533,142 @@ layout_mode = 2
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Backpack"
|
|
|
|
|
|
|
|
|
|
[node name="InventoryContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer" instance=ExtResource("15_5xu2a")]
|
|
|
|
|
[node name="InventoryContainer" parent="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/BackpackUI/VBoxContainer" instance=ExtResource("24_hfjh5")]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D" parent="." groups=["savable_nodes"]]
|
|
|
|
|
[node name="GameMenuUI" type="PanelContainer" parent="RootUI/GameUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("1_3lyis")
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = -199.0
|
|
|
|
|
offset_top = -215.0
|
|
|
|
|
offset_right = 199.0
|
|
|
|
|
offset_bottom = 215.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme = ExtResource("17_1odts")
|
|
|
|
|
script = ExtResource("18_lr26g")
|
|
|
|
|
|
|
|
|
|
[node name="QuestState" type="Node" parent="Player"]
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 60
|
|
|
|
|
theme_override_constants/margin_top = 60
|
|
|
|
|
theme_override_constants/margin_right = 60
|
|
|
|
|
theme_override_constants/margin_bottom = 60
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="SaveGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Save Game
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer6" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="LoadGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer6"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Load Game
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="OptionsButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Options"
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="BackToGameButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Return to Game"
|
|
|
|
|
|
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer5" type="MarginContainer" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/margin_left = 8
|
|
|
|
|
theme_override_constants/margin_top = 8
|
|
|
|
|
theme_override_constants/margin_right = 8
|
|
|
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
|
|
|
|
|
|
[node name="ToMainMenuButton" type="Button" parent="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Back to Main Menu"
|
|
|
|
|
|
|
|
|
|
[node name="ToolSlots" type="MarginContainer" parent="RootUI/GameUI"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("4_fmwrw")
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -87.0
|
|
|
|
|
offset_top = -101.0
|
|
|
|
|
offset_right = 87.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
theme_override_constants/margin_bottom = 32
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
|
|
|
|
|
visible = false
|
|
|
|
|
mesh = SubResource("CapsuleMesh_dwrtd")
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="RootUI/GameUI/ToolSlots"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.470516, 0)
|
|
|
|
|
shape = SubResource("CapsuleShape3D_7kfad")
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="RootUI/GameUI/ToolSlots/PanelContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Player"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.460138, 0.887848, 0, -0.887848, 0.460138, 0, 2.91421, 1.186)
|
|
|
|
|
current = true
|
|
|
|
|
[node name="Button2" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("19_mn7wc")
|
|
|
|
|
|
|
|
|
|
[node name="Geometry" type="Node3D" parent="Player"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
|
|
|
|
[node name="Button3" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("20_3b2hv")
|
|
|
|
|
|
|
|
|
|
[node name="Rogue" parent="Player/Geometry" instance=ExtResource("4_6mbva")]
|
|
|
|
|
|
|
|
|
|
[node name="ActionableDetector" type="Area3D" parent="Player"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.325311)
|
|
|
|
|
collision_layer = 0
|
|
|
|
|
collision_mask = 16
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player/ActionableDetector"]
|
|
|
|
|
shape = SubResource("SphereShape3D_wrkyq")
|
|
|
|
|
[node name="Button" type="Button" parent="RootUI/GameUI/ToolSlots/PanelContainer/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
icon = ExtResource("21_act8d")
|
|
|
|
|
|
|
|
|
|
[connection signal="pressed" from="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer/NewGameButton" to="RootUI" method="_on_new_game_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/MainMenuUI/MarginContainer/VBoxContainer/MarginContainer3/QuitButton" to="RootUI" method="_on_quit_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer/BackButton" to="RootUI" method="_to_main_menu_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/NewGameUI/MarginContainer/VBoxContainer/MarginContainer3/HBoxContainer/StartGameButton" to="RootUI" method="_on_start_game_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3/BackToGameButton" to="RootUI" method="_on_start_game_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5/ToMainMenuButton" to="RootUI" method="_to_main_menu_button_pressed"]
|
|
|
|
|
[connection signal="timeout" from="RootUI/GameUI/MessagesContainer/MessageTimer" to="RootUI/GameUI" method="_on_message_timer_timeout"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/Title/CloseButton" to="RootUI/GameUI/InventoryDialog" method="_on_close_button_pressed"]
|
|
|
|
|
[connection signal="item_selected" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/Recipes/RecipeList" to="RootUI/GameUI/InventoryDialog" method="_on_recipe_list_item_selected"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/InventoryDialog/Panel/PanelContainer/CraftingUI/HBoxContainer/CraftResult/HBoxContainer/CraftButton" to="RootUI/GameUI/InventoryDialog" method="_on_craft_button_pressed"]
|
|
|
|
|
[connection signal="visibility_changed" from="RootUI/GameUI/GameMenuUI" to="RootUI/GameUI" method="_on_game_menu_ui_visibility_changed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer4/SaveGameButton" to="." method="save_game"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer6/LoadGameButton" to="." method="load_game"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer3/BackToGameButton" to="RootUI" method="_on_start_game_button_pressed"]
|
|
|
|
|
[connection signal="pressed" from="RootUI/GameUI/GameMenuUI/MarginContainer/VBoxContainer/MarginContainer5/ToMainMenuButton" to="RootUI" method="_to_main_menu_button_pressed"]
|