Made extra events more generic.

This commit is contained in:
2025-05-06 11:41:55 -05:00
parent a3c2c65735
commit b0d9106772
5 changed files with 62 additions and 60 deletions

View File

@@ -5,7 +5,7 @@
[ext_resource type="PackedScene" uid="uid://lh713g04d3bg" path="res://scenes/Maps/TestMap/TestMapGround.tscn" id="3_gxq5o"]
[ext_resource type="PackedScene" uid="uid://boj5o4fx41rv8" path="res://scenes/Maps/TestMap/TestMapBuilding.tscn" id="4_brp0k"]
[ext_resource type="Script" uid="uid://tkfc88q8m86f" path="res://scripts/Events/EventConversation.gd" id="5_cg1ph"]
[ext_resource type="Script" path="res://scripts/Events/EventTextbox.gd" id="6_gxq5o"]
[ext_resource type="Script" uid="uid://y7ckj1tn5cro" path="res://scripts/Events/EventTextbox.gd" id="6_gxq5o"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_e1h75"]
sky_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
@@ -30,7 +30,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.19857, 0.684572, 0.968477)
[node name="Green" parent="." node_paths=PackedStringArray("interactEvent") instance=ExtResource("2_cg1ph")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.68747, 0.459578, -0.399262)
interactEvent = NodePath("../Events/TestGroup")
interactEvent = NodePath("../Events/TestConversation")
moveType = 1
direction = 1
@@ -54,13 +54,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.92766, 2.37929, -4.38178)
[node name="Events" type="Node" parent="."]
[node name="TestGroup" type="Node" parent="Events"]
[node name="TestConversation" type="Node" parent="Events"]
script = ExtResource("5_cg1ph")
[node name="Text 0" type="Node" parent="Events/TestGroup"]
[node name="Text 0" type="Node" parent="Events/TestConversation"]
script = ExtResource("6_gxq5o")
text = "Text 0"
[node name="Text 1" type="Node" parent="Events/TestGroup"]
script = ExtResource("6_gxq5o")
text = "Text 1"
text = "I am giving you a quest to gather some ingredients."