changes
This commit is contained in:
@@ -23,3 +23,7 @@ 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"))
|
||||
|
||||
|
||||
func _on_waterfall_transition_interacted() -> void:
|
||||
$waterfall_transition.default_script(self)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[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://3u3p7squxi926" path="res://scenes/kq4_024_waterfall_and_pool/waterfall_transition_polygon.tres" id="7_waterfall_trans"]
|
||||
[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"]
|
||||
|
||||
@@ -81,6 +82,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_transition" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(288, 1, 286, 149, 281, 169, 263, 177, 120, 165, 263, 9, 281, 1)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Waterfall Entrance"
|
||||
points_resource = ExtResource("7_waterfall_trans")
|
||||
|
||||
[connection signal="interacted" from="waterfall_transition" to="." method="_on_waterfall_transition_interacted"]
|
||||
|
||||
[node name="waterfall" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3u3p7squxi926"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(288, 1, 286, 149, 281, 169, 263, 177, 120, 165, 263, 9, 281, 1)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user