This commit is contained in:
2026-03-05 22:47:43 -08:00
parent a2eb4de815
commit 8cfae8dea2
285 changed files with 2814 additions and 11 deletions

View File

@@ -11,3 +11,15 @@ func _on_mountain_pass_interacted() -> void:
func _on_forest_path_with_cottage_interacted() -> void:
$kq4_023_forest_path_with_cottage.default_script(self)
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You see a beautiful waterfall cascading down the mountain into a deep blue pool. From the pool, a river courses westward. Around you, a dense forest closes in.")
).build(self, "_on_script_complete"))
func _on_waterfall_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "Water cascades down the rocky cliff into a crystal clear pool below. The sound of rushing water fills the air.")
).build(self, "_on_script_complete"))

View File

@@ -4,6 +4,8 @@
[ext_resource type="Texture2D" path="res://scenes/kq4_024_waterfall_and_pool/pic_024_visual.png" id="2_abc"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://mxtemdg6zsnf" path="res://scenes/kq4_024_waterfall_and_pool/waterfall_polygon_0.tres" id="5_waterfall"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
vertices = PackedVector2Array(374.47656, 1145.0078, -140.75781, 1180.2031, -76.11719, 588.6797, -53.679688, 490.4922, 1222.4688, 227.3125, 1994.2422, 468.4297, 2012.7031, 1020.2031, 1268.1875, 1113.0234)
@@ -79,6 +81,16 @@ position = Vector2(-64, 534)
[connection signal="interacted" from="kq4_030_mountain_pass" to="." method="_on_mountain_pass_interacted"]
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
[node name="waterfall" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(289, 185, 29, 148, 43, 106, 78, 117, 75, 147, 102, 159, 238, 144, 254, 31, 288, 4)
script = ExtResource("6_setpiece")
label = "Waterfall"
points_resource = ExtResource("5_waterfall")
[connection signal="looked" from="waterfall" to="." method="_on_waterfall_looked"]
[editable path="kq4_018_cemetery"]
[editable path="kq4_030_mountain_pass"]
[editable path="kq4_023_forest_path_with_cottage"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://mxtemdg60snf"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(289, 185, 29, 148, 43, 106, 78, 117, 75, 147, 102, 159, 238, 144, 254, 31, 288, 4)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://c8yputrtxrxth"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(79, 186, 114, 186, 116, 184, 183, 181, 189, 182, 192, 185, 202, 186)
metadata/_custom_type_script = "uid://dtemboas3bi8y"