Bit more cleanup
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://w1q5eoiejmy3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="1_yqorp"]
|
||||
[gd_scene format=3 uid="uid://w1q5eoiejmy3"]
|
||||
|
||||
[node name="MainMenu" type="Node"]
|
||||
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("1_yqorp")]
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="SubsceneUI"]
|
||||
[node name="Label" type="Label" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
|
@@ -1,9 +1,16 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://tmbx2kit0jyq"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://tmbx2kit0jyq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://pcncoc6wum4q" path="res://scripts/Scene/OverworldScene.gd" id="1_rfscu"]
|
||||
[ext_resource type="PackedScene" uid="uid://dx6fv8n4jl5ku" path="res://scenes/Maps/TestMap/TestMap.tscn" id="2_puia7"]
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="3_gacct"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfioi52hjn2kf" path="res://scenes/UI/QuestMenu.tscn" id="3_puia7"]
|
||||
|
||||
[node name="Overworld" type="Node3D"]
|
||||
script = ExtResource("1_rfscu")
|
||||
|
||||
[node name="Some-map" parent="." instance=ExtResource("2_puia7")]
|
||||
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("3_gacct")]
|
||||
|
||||
[node name="QuestMenu" parent="SubsceneUI" instance=ExtResource("3_puia7")]
|
||||
layout_mode = 1
|
||||
|
@@ -1,19 +0,0 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://klfo3l0dxlht"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d36d3fnpi8y30" path="res://scripts/Singleton/Debug.gd" id="1_5spvt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="2_5o7yr"]
|
||||
[ext_resource type="PackedScene" uid="uid://verg13jtqwvh" path="res://scenes/UI/DebugMenu.tscn" id="2_c2xgb"]
|
||||
|
||||
[node name="Debug" type="Node"]
|
||||
script = ExtResource("1_5spvt")
|
||||
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("2_5o7yr")]
|
||||
layer = 3
|
||||
|
||||
[node name="DebugMenu" parent="SubsceneUI" instance=ExtResource("2_c2xgb")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_bottom = 0.0
|
||||
offset_right = 207.0
|
||||
offset_bottom = 206.0
|
||||
grow_vertical = 1
|
@@ -1,6 +1,22 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cs3kmmd0rfm8w"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cs3kmmd0rfm8w"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d0060jeyftia7" path="res://scripts/Singleton/Quest.gd" id="1_v2h4q"]
|
||||
[ext_resource type="Script" uid="uid://dn0kxbe85n40f" path="res://scripts/Quest/Quest.gd" id="2_n4ii1"]
|
||||
[ext_resource type="Script" uid="uid://db4yhcxyhiosq" path="res://scripts/Quest/QuestStage.gd" id="3_1ynnx"]
|
||||
[ext_resource type="Script" uid="uid://de1ao4huhy0hm" path="res://scripts/Quest/QuestObjective.gd" id="3_l8p7p"]
|
||||
|
||||
[node name="Quest" type="Node"]
|
||||
[node name="QuestSystem" type="Node"]
|
||||
script = ExtResource("1_v2h4q")
|
||||
|
||||
[node name="Quests" type="Node" parent="."]
|
||||
|
||||
[node name="Some Quest" type="Node" parent="Quests"]
|
||||
script = ExtResource("2_n4ii1")
|
||||
|
||||
[node name="Find Ingredients" type="Node" parent="Quests/Some Quest"]
|
||||
script = ExtResource("3_1ynnx")
|
||||
stageName = "Find Ingredients"
|
||||
|
||||
[node name="Find Onion" type="Node" parent="Quests/Some Quest/Find Ingredients"]
|
||||
script = ExtResource("3_l8p7p")
|
||||
objectiveName = "Find Onions"
|
||||
|
@@ -1,6 +1,9 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b5bwpsh0gcicf"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b5bwpsh0gcicf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dahhuhiu8u88b" path="res://scripts/Singleton/UI.gd" id="1_g3au4"]
|
||||
[ext_resource type="PackedScene" uid="uid://verg13jtqwvh" path="res://scenes/UI/DebugMenu.tscn" id="2_is0g4"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfioi52hjn2kf" path="res://scenes/UI/QuestMenu.tscn" id="2_mpokx"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkx3l0kckf4a8" path="res://scenes/UI/VNTextbox.tscn" id="3_btpxp"]
|
||||
|
||||
[node name="UI" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -9,29 +12,24 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_g3au4")
|
||||
metadata/_custom_type_script = "uid://dahhuhiu8u88b"
|
||||
|
||||
[node name="LayerGame" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="QuestMenu" parent="." instance=ExtResource("2_mpokx")]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
|
||||
[node name="LayerVN" type="Control" parent="."]
|
||||
[node name="VNTextbox" parent="." instance=ExtResource("3_btpxp")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LayerDebug" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="DebugMenu" parent="." instance=ExtResource("2_is0g4")]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_bottom = 0.0
|
||||
offset_right = 207.0
|
||||
offset_bottom = 206.0
|
||||
grow_vertical = 1
|
||||
|
@@ -1,14 +0,0 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b6pl1cq5y05ad"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://benvf7v4p4i2l" path="res://scripts/Singleton/VN.gd" id="1_01fad"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkx3l0kckf4a8" path="res://scenes/UI/VNTextbox.tscn" id="2_adm0d"]
|
||||
[ext_resource type="PackedScene" uid="uid://bimrljk1rn7af" path="res://scenes/UI/SubsceneUI.tscn" id="2_hxsm8"]
|
||||
|
||||
[node name="VN" type="Node"]
|
||||
script = ExtResource("1_01fad")
|
||||
|
||||
[node name="SubsceneUI" parent="." instance=ExtResource("2_hxsm8")]
|
||||
layer = 1
|
||||
|
||||
[node name="VNTextbox" parent="SubsceneUI" instance=ExtResource("2_adm0d")]
|
||||
layout_mode = 1
|
@@ -1,42 +0,0 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dqf0j61ukvqco"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://dm7ee4aqjr2dl" path="res://ui/UI Theme.tres" id="1_jnmec"]
|
||||
|
||||
[node name="PauseMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="HSplitContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel2" type="PanelContainer" parent="HSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="VSplitContainer" type="VBoxContainer" parent="HSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="HSplitContainer/VSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel2" type="PanelContainer" parent="HSplitContainer/VSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("1_jnmec")
|
40
scenes/UI/QuestMenu.tscn
Normal file
40
scenes/UI/QuestMenu.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bfioi52hjn2kf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cbsrw36kkucje" path="res://scripts/UI/QuestMenu.gd" id="1_a7vj2"]
|
||||
|
||||
[node name="QuestMenu" type="Panel"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_a7vj2")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Quests" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quests"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 3
|
||||
item_count = 2
|
||||
item_0/text = "Quest Name 1"
|
||||
item_1/text = "Quest Name 2"
|
||||
|
||||
[node name="Control" type="Control" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
@@ -1,13 +0,0 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bimrljk1rn7af"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://x3cc7wsnn0xd" path="res://scripts/UI/SubsceneUI.gd" id="1_m23s2"]
|
||||
|
||||
[node name="SubsceneUI" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_m23s2")
|
||||
metadata/_custom_type_script = "uid://x3cc7wsnn0xd"
|
Reference in New Issue
Block a user