progress
This commit is contained in:
8
scenes/kq4_019_coastal_cliffs/cliff_polygon.tres
Normal file
8
scenes/kq4_019_coastal_cliffs/cliff_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b6bnrixp1agto"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(4095, 2339, 1631, 2339, 1224, 2312, 300, 890, 3081, 0, 4064, 0, 4095, 549)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,15 @@ func _on_beach_at_river_delta_interacted() -> void:
|
||||
|
||||
func _on_open_ocean_interacted() -> void:
|
||||
$kq4_031_open_ocean.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Wistfully, you stare out over the ocean, wishing you could go home and see your family again. Unfortunately, reality sets in, and you remember your difficult situation. Turning your head, you look eastward toward a meadowland covered with wildflowers, and heave a big sigh of sadness.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_cliff_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "The cliffs are high and jagged, looming over the turbulent ocean below. It's a dangerous place to stand too close to the edge.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://3eh8ys3v25m45"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://3eh8ys3v25m45"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ctkmgtcvpnkm8" path="res://TemplateScene.tscn" id="1_fcvak"]
|
||||
[ext_resource type="Texture2D" uid="uid://blus266j2vw5o" path="res://scenes/kq4_019_coastal_cliffs/ComfyUI_10031_.png" id="2_xrxwv"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_8xjvi"]
|
||||
[ext_resource type="Resource" uid="uid://375qvwehyok41" path="res://scenes/kq4_019_coastal_cliffs/cliff_polygon.tres" id="5_cliff"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_mt6rs"]
|
||||
vertices = PackedVector2Array(1387.94, 489.133, 1327.95, 483.813, 1478.27, 476.344, 1461.59, 491.992, 1565.21, 865.289, 1517.97, 816.344, 1652.07, 798.773, 2241.42, 882.602, 1650.95, 650.203, 1559.25, 613.688, 1619.82, 572.758, 1745.49, 546.727, 1904.11, 1452.61, 1052.23, 1257.31, 1078.87, 1074.46, 1460.6, 1000.1, 1997.48, 640.609, 1617.97, 560.313, 1465.3, 503.938)
|
||||
@@ -70,6 +72,16 @@ position = Vector2(150, 450)
|
||||
[connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"]
|
||||
[connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"]
|
||||
|
||||
[node name="cliff" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(0.467949, 0.467949)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(4095, 2339, 1631, 2339, 1224, 2312, 300, 890, 3081, 0, 4064, 0, 4095, 549)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Cliff"
|
||||
points_resource = ExtResource("5_cliff")
|
||||
|
||||
[connection signal="looked" from="cliff" to="." method="_on_cliff_looked"]
|
||||
|
||||
[editable path="kq4_020_meadow"]
|
||||
[editable path="kq4_025_beach_at_river_delta"]
|
||||
[editable path="kq4_013_beach"]
|
||||
|
||||
Reference in New Issue
Block a user