Made quest usable

This commit is contained in:
cblech
2025-07-07 04:41:03 +02:00
parent 01daddee3b
commit 27e137bc02
13 changed files with 402 additions and 15 deletions
+3 -6
View File
@@ -11,12 +11,9 @@
[node name="CanvasLayer" type="CanvasLayer"]
layer = 90
follow_viewport_enabled = true
[node name="DialogicToggle" type="Node2D" parent="." node_paths=PackedStringArray("itemToToggle")]
[node name="DialogicToggle" type="Node2D" parent="."]
scale = Vector2(0.7, 0.7)
script = ExtResource("6_n5apg")
itemToToggle = NodePath("../Inventory")
[node name="Inventory" type="Control" parent="." node_paths=PackedStringArray("_slotsParent", "_slotsMover", "_headerSlots", "_slotSelect")]
layout_mode = 3
@@ -36,7 +33,6 @@ _headerSlots = [NodePath("SlotsContainer/SlotsMover/Slots/Slot"), NodePath("Slot
_slotSelect = NodePath("SlotsContainer/SlotsMover/SlotSelectContainer/Selector")
[node name="SlotsContainer" type="Control" parent="Inventory"]
custom_minimum_size = Vector2(500, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -46,7 +42,8 @@ anchor_bottom = 0.5
offset_left = -250.0
offset_right = 250.0
grow_horizontal = 2
grow_vertical = 2
grow_vertical = 0
scale = Vector2(0.7, 0.7)
[node name="SlotsMover" type="Control" parent="Inventory/SlotsContainer"]
custom_minimum_size = Vector2(900, 610)
+1
View File
@@ -19,5 +19,6 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Hello world"
[connection signal="pressed" from="TitleButton" to="." method="ClickedTitleButton"]
+2
View File
@@ -19,6 +19,7 @@ script = ExtResource("1_vc33n")
[node name="LeftPage" type="Control" parent="."]
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 350.0
grow_vertical = 2
@@ -35,6 +36,7 @@ _questListItemPrefab = ExtResource("2_fswdj")
[node name="RightPage" type="Control" parent="."]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0