diff --git a/.opencode/agents/image-expert.md b/.opencode/agents/image-expert.md index 6312773..03bec00 100644 --- a/.opencode/agents/image-expert.md +++ b/.opencode/agents/image-expert.md @@ -1,7 +1,7 @@ --- description: Image Inspector mode: subagent -model: local/Qwen3-VL +model: local/Qwen3.5-35B-A3B tools: read: true --- diff --git a/SetPiece_.gd b/SetPiece_.gd index 4edf98d..9b18b6d 100644 --- a/SetPiece_.gd +++ b/SetPiece_.gd @@ -34,6 +34,7 @@ signal entered(lab) signal exited(lab) @export var label: String +@export var priority: int = 0 @export var points_resource: PolygonPointsResource: set(value): points_resource = value @@ -57,10 +58,34 @@ func _process(delta): +func _get_overlapping_setpieces() -> Array[SetPiece]: + var overlapping: Array[SetPiece] = [] + var mouse_pos = to_local(get_global_mouse_position()) + + for child in get_tree().get_nodes_in_group("set-piece"): + if child is SetPiece and child != self: + if child.polygon.size() > 0 and Geometry2D.is_point_in_polygon(mouse_pos, child.polygon): + overlapping.append(child) + + return overlapping + func _input(event): if not Engine.is_editor_hint(): if Geometry2D.is_point_in_polygon(to_local(get_global_mouse_position()), self.polygon): if event is InputEventMouseButton and event.is_action("interact"): + # Find all overlapping SetPieces and check if this one has highest priority + var overlapping = _get_overlapping_setpieces() + overlapping.append(self) + + var max_priority = self.priority + for piece in overlapping: + if piece.priority > max_priority: + max_priority = piece.priority + + # Only process if this SetPiece has the highest priority + if self.priority < max_priority: + return + get_viewport().set_input_as_handled() # Check if interacted signal has connections - it takes precedence diff --git a/TransitionPiece.gd b/TransitionPiece.gd index 10eeb58..b2ca603 100644 --- a/TransitionPiece.gd +++ b/TransitionPiece.gd @@ -3,8 +3,10 @@ class_name TransitionPiece @export var appear_at_node: String @export_file("*.tscn") var target +#@export var priority: int = 100 # Called when the node enters the scene tree for the first time. func _ready(): + priority = 100 super() diff --git a/label.gd b/label.gd index 035bd6d..8dfa106 100644 --- a/label.gd +++ b/label.gd @@ -1,7 +1,7 @@ extends Node2D -var hovered_setpieces: Array[String] = [] +var hovered_setpieces: Array[Dictionary] = [] @onready var label : Label = $"label" func _ready(): @@ -73,24 +73,45 @@ func _process(delta): func _on_setpiece_entered(lab: String) -> void: - if lab not in hovered_setpieces: - hovered_setpieces.append(lab) + var piece = get_setpiece_by_label(lab) + if piece: + var entry = {"label": lab, "priority": piece.priority} + if not _has_entry_with_label(lab): + hovered_setpieces.append(entry) _update_label() func _on_setpiece_exited(lab: String) -> void: - hovered_setpieces.erase(lab) + for i in range(hovered_setpieces.size()): + if hovered_setpieces[i].label == lab: + hovered_setpieces.remove_at(i) + break _update_label() +func _has_entry_with_label(lab: String) -> bool: + for entry in hovered_setpieces: + if entry.label == lab: + return true + return false + +func get_setpiece_by_label(lab: String) -> SetPiece: + var scene = get_parent() + for child in scene.find_children("*", "SetPiece", true, false): + if child is SetPiece and child.label == lab: + return child + return null + func _update_label() -> void: + print(hovered_setpieces) if hovered_setpieces.is_empty(): $label.hide() return - var top_label = hovered_setpieces[0] + hovered_setpieces.sort_custom(func(a, b): return b.priority > a.priority) + var top_entry = hovered_setpieces[0] $label.show() - $label.text = top_label + $label.text = top_entry.label - var size = label.label_settings.font.get_string_size(top_label, HORIZONTAL_ALIGNMENT_LEFT, 200, 32) + var size = label.label_settings.font.get_string_size(top_entry.label, HORIZONTAL_ALIGNMENT_LEFT, 200, 32) label.size = size diff --git a/scenes/kq4_001_beach/grass_polygon.tres b/scenes/kq4_001_beach/grass_polygon.tres new file mode 100644 index 0000000..10ba349 --- /dev/null +++ b/scenes/kq4_001_beach/grass_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bpk4m5fp1xdvj"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 1391, 1161, 1391, 1128, 171, 1135, 166, 1179, 156, 2058, 0, 2495, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_001_beach/kq4_001_beach.gd b/scenes/kq4_001_beach/kq4_001_beach.gd index 91d844e..7d51053 100644 --- a/scenes/kq4_001_beach/kq4_001_beach.gd +++ b/scenes/kq4_001_beach/kq4_001_beach.gd @@ -15,3 +15,15 @@ func _on_meadow_interacted() -> void: func _on_open_ocean_interacted() -> void: $kq4_031_open_ocean.default_script(self) + + +func _on_grass_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Lush green grass covers the cliff.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You find yourself on a beautiful beach.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_001_beach/kq4_001_beach.tscn b/scenes/kq4_001_beach/kq4_001_beach.tscn index 19d1ac3..2a0da32 100644 --- a/scenes/kq4_001_beach/kq4_001_beach.tscn +++ b/scenes/kq4_001_beach/kq4_001_beach.tscn @@ -10,7 +10,7 @@ vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0 polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)]) outlines = Array[PackedVector2Array]([PackedVector2Array(-39, 206, 1223, 217, 2004, 461, 2022, 1331, 1052, 1430, 365, 1253, -152, 1191, -86, 587)]) -[node name="background" type="Node2D" unique_id=657573819] +[node name="background2" type="Node2D" unique_id=657573819] y_sort_enabled = true script = ExtResource("1_abc") @@ -88,6 +88,12 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_031_open_ocean" index="1"] position = Vector2(-64, 534) +[node name="grass" type="Polygon2D" parent="." unique_id=1234567890] +position = Vector2(2891, 1072) +rotation = -3.1415927 +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(1184.6155, -14.102417, 2534.6157, -17.948486, 2238.462, 328.20532, 1600, 378.20532, 1441.0256, 453.8463, 1639.7437, 551.2822, 1710.2566, 610.2566, 1426.9231, 850.0002, 2128.205, 1075.6412, 1869.2308, 1162.8208, 1230.7693, 1142.3079, 1184.6155, 297.43604) + [connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"] [connection signal="interacted" from="kq4_002_meadow" to="." method="_on_meadow_interacted"] [connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"] diff --git a/scenes/kq4_002_meadow/boulder_polygon.tres b/scenes/kq4_002_meadow/boulder_polygon.tres new file mode 100644 index 0000000..7996457 --- /dev/null +++ b/scenes/kq4_002_meadow/boulder_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d8mtk2txsucm"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1267, 1247, 885, 1278, 380, 1187, 382, 1153, 606, 971, 912, 854, 1023, 877, 1179, 1009) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_002_meadow/bush_polygon.tres b/scenes/kq4_002_meadow/bush_polygon.tres new file mode 100644 index 0000000..2608b93 --- /dev/null +++ b/scenes/kq4_002_meadow/bush_polygon.tres @@ -0,0 +1,6 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dt1wrhd0optmu"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") diff --git a/scenes/kq4_002_meadow/kq4_002_meadow.gd b/scenes/kq4_002_meadow/kq4_002_meadow.gd index 54867bf..918975a 100644 --- a/scenes/kq4_002_meadow/kq4_002_meadow.gd +++ b/scenes/kq4_002_meadow/kq4_002_meadow.gd @@ -15,3 +15,21 @@ func _on_beach_interacted() -> void: func _on_river_meadow_interacted() -> void: $kq4_026_river_meadow.default_script(self) + + +func _on_bush_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Small, low bushes dot the pretty meadow. Wildflowers grow among them.") + ).build(self, "_on_script_complete")) + + +func _on_boulder_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Scattered rocks lie among the wildflowers of the meadow.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are surrounded by beautiful wildflowers in this luscious green meadowland.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_002_meadow/kq4_002_meadow.tscn b/scenes/kq4_002_meadow/kq4_002_meadow.tscn index cea1f0a..71d104f 100644 --- a/scenes/kq4_002_meadow/kq4_002_meadow.tscn +++ b/scenes/kq4_002_meadow/kq4_002_meadow.tscn @@ -4,6 +4,9 @@ [ext_resource type="Texture2D" uid="uid://c33e2jclpbmwm" path="res://scenes/kq4_002_meadow/caption_3_1877206259_generated.png" id="2_ko8f1"] [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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://dt1wrhd0optmu" path="res://scenes/kq4_002_meadow/bush_polygon.tres" id="6_bush"] +[ext_resource type="Resource" path="res://scenes/kq4_002_meadow/boulder_polygon.tres" id="7_boulder"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -88,10 +91,30 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_001_beach" index="1"] position = Vector2(-64, 534) +[node name="bush" type="Polygon2D" parent="." unique_id=123456789] +scale = Vector2(0.78, 0.78) +color = Color(0.7, 0.7, 0.7, 0.25) +polygon = PackedVector2Array(2532.0513, 969.2308, 2111.5386, 1026.9231, 1935.8975, 984.6154, 1848.718, 906.4103, 1991.0258, 802.56415, 2505.1282, 576.9231) +script = ExtResource("5_setpiece") +label = "Bush" +priority = null +points_resource = ExtResource("6_bush") + +[node name="boulder" type="Polygon2D" parent="." unique_id=987654321] +scale = Vector2(0.78, 0.78) +color = Color(0.7, 0.7, 0.7, 0.25) +polygon = PackedVector2Array(1267, 1247, 885, 1278, 380, 1187, 382, 1153, 606, 971, 912, 854, 1023, 877, 1179, 1009) +script = ExtResource("5_setpiece") +label = "Boulder" +priority = null +points_resource = ExtResource("7_boulder") + [connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"] [connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"] [connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"] +[connection signal="looked" from="bush" to="." method="_on_bush_looked"] +[connection signal="looked" from="boulder" to="." method="_on_boulder_looked"] [editable path="kq4_026_river_meadow"] [editable path="kq4_003_fountain_pool"] diff --git a/scenes/kq4_004_ogres_cottage/cottage_polygon.tres b/scenes/kq4_004_ogres_cottage/cottage_polygon.tres new file mode 100644 index 0000000..b141768 --- /dev/null +++ b/scenes/kq4_004_ogres_cottage/cottage_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dv1pjd2tbgwpc"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2482, 733, 2495, 1187, 2435, 1245, 1371, 1203, 363, 1034, 627, 652, 988, 276, 1777, 11, 2105, 145) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.gd b/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.gd index 8d44a95..58b788d 100644 --- a/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.gd +++ b/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.gd @@ -21,3 +21,21 @@ func _on_door_looked() -> void: start_main_script(ScriptBuilder.init( ScriptBuilder.say(ego, "It's a sturdy wooden door to the ogre's cottage.") ).build(self, "_on_script_complete")) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a large, crudely-built, thatched-roof house. It makes you feel uneasy.") + ).build(self, "_on_script_complete")) + + +func _on_window_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You peek through the window, but can make out no details.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand before the ogre's cottage.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.tscn b/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.tscn index 12ee49d..979e7b3 100644 --- a/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.tscn +++ b/scenes/kq4_004_ogres_cottage/kq4_004_ogres_cottage.tscn @@ -5,6 +5,8 @@ [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_kvdqi"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_67nph"] [ext_resource type="Resource" uid="uid://2oba97xunlssu" path="res://scenes/kq4_004_ogres_cottage/door_polygon.tres" id="5_door"] +[ext_resource type="Resource" uid="uid://13hw2plcon58w" path="res://scenes/kq4_004_ogres_cottage/cottage_polygon.tres" id="7_cottage"] +[ext_resource type="Resource" uid="uid://xvi6ayn7pcj6" path="res://scenes/kq4_004_ogres_cottage/window_polygon.tres" id="8_window"] [ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_furs3"] @@ -101,11 +103,27 @@ script = ExtResource("6_setpiece") label = "Door" points_resource = ExtResource("5_door") +[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.783, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("6_setpiece") +label = "Cottage" +points_resource = ExtResource("7_cottage") + +[node name="window" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.783, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("6_setpiece") +label = "Window" +points_resource = ExtResource("8_window") + [connection signal="interacted" from="kq4_028_mine_entrance" to="." method="_on_mine_entrance_interacted"] [connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_pool_interacted"] [connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"] [connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"] [connection signal="looked" from="door" to="." method="_on_door_looked"] +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] +[connection signal="looked" from="window" to="." method="_on_window_looked"] [editable path="kq4_028_mine_entrance"] [editable path="kq4_003_fountain_pool"] diff --git a/scenes/kq4_004_ogres_cottage/window_polygon.tres b/scenes/kq4_004_ogres_cottage/window_polygon.tres new file mode 100644 index 0000000..8d7d170 --- /dev/null +++ b/scenes/kq4_004_ogres_cottage/window_polygon.tres @@ -0,0 +1,7 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://xvi6ayn7pcj6"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2082, 376, 2079, 932, 1487, 971, 1359, 968, 785, 912, 781, 832, 1984, 374) diff --git a/scenes/kq4_005_forest_grove/boulders_polygon.tres b/scenes/kq4_005_forest_grove/boulders_polygon.tres new file mode 100644 index 0000000..fb3433c --- /dev/null +++ b/scenes/kq4_005_forest_grove/boulders_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://n2tgvacqmctu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 189, 241, 189, 54, 174, 74, 77, 80, 64, 165, 19, 194, 21, 317, 57) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_005_forest_grove/bushes_polygon.tres b/scenes/kq4_005_forest_grove/bushes_polygon.tres new file mode 100644 index 0000000..51200bc --- /dev/null +++ b/scenes/kq4_005_forest_grove/bushes_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://p7afm3d325b3"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(37, 56, 55, 10, 68, 0, 316, 4, 315, 73, 304, 117, 268, 183, 48, 69) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_005_forest_grove/cottage_polygon.tres b/scenes/kq4_005_forest_grove/cottage_polygon.tres new file mode 100644 index 0000000..a071bd5 --- /dev/null +++ b/scenes/kq4_005_forest_grove/cottage_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bb6csq2i5n4jv"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(318, 170, 302, 187, 54, 174, 0, 104, 0, 14, 220, 18, 317, 57) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_005_forest_grove/kq4_005_forest_grove.gd b/scenes/kq4_005_forest_grove/kq4_005_forest_grove.gd index 4321207..98d208d 100644 --- a/scenes/kq4_005_forest_grove/kq4_005_forest_grove.gd +++ b/scenes/kq4_005_forest_grove/kq4_005_forest_grove.gd @@ -15,3 +15,33 @@ func _on_cave_entrance_interacted() -> void: func _on_ogres_cottage_interacted() -> void: $kq4_004_ogres_cottage.default_script(self) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see the back of a large, thatched-roof house.") + ).build(self, "_on_script_complete")) + + +func _on_window_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You look through the window, but can make out no details.") + ).build(self, "_on_script_complete")) + + +func _on_boulders_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The rocks are insignificant here.") + ).build(self, "_on_script_complete")) + + +func _on_bushes_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You don't see many shrubs here.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a creepy place! You have found a grove of very odd, (and scary-looking), trees. A thick forest surrounds the grove.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_005_forest_grove/kq4_005_forest_grove.tscn b/scenes/kq4_005_forest_grove/kq4_005_forest_grove.tscn index 0a1fde6..6f54a0a 100644 --- a/scenes/kq4_005_forest_grove/kq4_005_forest_grove.tscn +++ b/scenes/kq4_005_forest_grove/kq4_005_forest_grove.tscn @@ -4,6 +4,11 @@ [ext_resource type="Texture2D" path="res://scenes/kq4_005_forest_grove/pic_005_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://3d1fw5h9328t8" path="res://scenes/kq4_005_forest_grove/cottage_polygon.tres" id="5_abc"] +[ext_resource type="Resource" uid="uid://2jf9850spw0b" path="res://scenes/kq4_005_forest_grove/window_polygon.tres" id="6_abc"] +[ext_resource type="Resource" uid="uid://n2tgvacqmctu" path="res://scenes/kq4_005_forest_grove/boulders_polygon.tres" id="7_abc"] +[ext_resource type="Resource" uid="uid://p7afm3d325b3" path="res://scenes/kq4_005_forest_grove/bushes_polygon.tres" id="8_abc"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="9_abc"] [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) @@ -87,10 +92,42 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_004_ogres_cottage" index="1"] position = Vector2(-64, 534) +[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("9_abc") +label = "Cottage" +points_resource = ExtResource("5_abc") + +[node name="window" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("9_abc") +label = "Window" +points_resource = ExtResource("6_abc") + +[node name="boulders" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("9_abc") +label = "Boulders" +points_resource = ExtResource("7_abc") + +[node name="bushes" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("9_abc") +label = "Bushes" +points_resource = ExtResource("8_abc") + [connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"] [connection signal="interacted" from="kq4_006_cave_entrance" to="." method="_on_cave_entrance_interacted"] [connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"] [connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"] +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] +[connection signal="looked" from="window" to="." method="_on_window_looked"] +[connection signal="looked" from="boulders" to="." method="_on_boulders_looked"] +[connection signal="looked" from="bushes" to="." method="_on_bushes_looked"] [editable path="kq4_029_dense_forest"] [editable path="kq4_006_cave_entrance"] diff --git a/scenes/kq4_005_forest_grove/window_polygon.tres b/scenes/kq4_005_forest_grove/window_polygon.tres new file mode 100644 index 0000000..474ac9c --- /dev/null +++ b/scenes/kq4_005_forest_grove/window_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2jga850spw0b"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(305, 115, 268, 183, 256, 181, 0, 104, 0, 25, 10, 24, 255, 85) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_007_fishermans_shack/door_polygon.tres b/scenes/kq4_007_fishermans_shack/door_polygon.tres new file mode 100644 index 0000000..511623f --- /dev/null +++ b/scenes/kq4_007_fishermans_shack/door_polygon.tres @@ -0,0 +1,7 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://4ari7a2nudri"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 84, 2481, 1342, 2468, 1391, 0, 1391, 0, 0, 1675, 0, 2479, 57) diff --git a/scenes/kq4_007_fishermans_shack/fishermans_house_polygon.tres b/scenes/kq4_007_fishermans_shack/fishermans_house_polygon.tres new file mode 100644 index 0000000..ac35832 --- /dev/null +++ b/scenes/kq4_007_fishermans_shack/fishermans_house_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3c8se2uju0y2o"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2269, 245, 2339, 677, 2243, 911, 165, 1146, 162, 1012, 1472, 175, 2052, 78) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.gd b/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.gd index 3e6632e..990c54c 100644 --- a/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.gd +++ b/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.gd @@ -21,3 +21,31 @@ func _on_fishermans_house_looked() -> void: start_main_script(ScriptBuilder.init( ScriptBuilder.say(ego, "The fisherman's shack looks badly in need of repair, as the sun, wind, and salt spray have taken their toll. From the house, an old pier leads out into the ocean.") ).build(self, "_on_script_complete")) + + +func _on_door_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a plain wooden door.") + ).build(self, "_on_script_complete")) + + +func _on_door_interacted() -> void: + $kq4_008_back_of_fishermans_shack.default_script(self) + + +func _on_window_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You peek through the window, but can make out no details.") + ).build(self, "_on_script_complete")) + + +func _on_pier_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The old, worn pier juts out into the ocean from the weather-beaten house.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand at the fisherman's shack.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.tscn b/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.tscn index 3708d8e..cf9716d 100644 --- a/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.tscn +++ b/scenes/kq4_007_fishermans_shack/kq4_007_fishermans_shack.tscn @@ -5,6 +5,9 @@ [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://bbepaofrwlurc" path="res://scenes/kq4_007_fishermans_shack/fishermans_house_polygon.tres" id="5_house"] +[ext_resource type="Resource" uid="uid://4ari7a2nudri" path="res://scenes/kq4_007_fishermans_shack/door_polygon.tres" id="7_door"] +[ext_resource type="Resource" uid="uid://2qf4mwncdwxwe" path="res://scenes/kq4_007_fishermans_shack/window_polygon.tres" id="8_window"] +[ext_resource type="Resource" uid="uid://3bpn8dhixs0k8" path="res://scenes/kq4_007_fishermans_shack/pier_polygon.tres" id="9_pier"] [ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] @@ -96,10 +99,37 @@ script = ExtResource("6_setpiece") label = "Fisherman's House" points_resource = ExtResource("5_house") +[node name="door" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(2495, 84, 2481, 1342, 2468, 1391, 0, 1391, 0, 0, 1675, 0, 2479, 57) +script = ExtResource("6_setpiece") +label = "Door" +points_resource = ExtResource("7_door") + +[node name="window" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(2495, 86, 2467, 1391, 36, 1391, 0, 1365, 0, 0, 1669, 0, 2463, 60) +script = ExtResource("6_setpiece") +label = "Window" +points_resource = ExtResource("8_window") + +[node name="pier" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1011, 1020, 921, 1117, 552, 1143, 164, 1146, 140, 1051, 161, 1012, 251, 955, 889, 951, 983, 979) +script = ExtResource("6_setpiece") +label = "Pier" +points_resource = ExtResource("9_pier") + [connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"] [connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_2_interacted"] [connection signal="looked" from="fishermans_house" to="." method="_on_fishermans_house_looked"] +[connection signal="interacted" from="door" to="." method="_on_door_interacted"] +[connection signal="looked" from="window" to="." method="_on_window_looked"] +[connection signal="looked" from="pier" to="." method="_on_pier_looked"] [editable path="kq4_001_beach"] [editable path="kq4_008_back_of_fishermans_shack"] diff --git a/scenes/kq4_007_fishermans_shack/pier_polygon.tres b/scenes/kq4_007_fishermans_shack/pier_polygon.tres new file mode 100644 index 0000000..0440613 --- /dev/null +++ b/scenes/kq4_007_fishermans_shack/pier_polygon.tres @@ -0,0 +1,7 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8uk3x1q0evav"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1011, 1020, 921, 1117, 552, 1143, 164, 1146, 140, 1051, 161, 1012, 251, 955, 889, 951, 983, 979) diff --git a/scenes/kq4_007_fishermans_shack/window_polygon.tres b/scenes/kq4_007_fishermans_shack/window_polygon.tres new file mode 100644 index 0000000..71bf3b3 --- /dev/null +++ b/scenes/kq4_007_fishermans_shack/window_polygon.tres @@ -0,0 +1,7 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ok1ii7kfitl1"] + +[ext_resource type="Script" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 86, 2467, 1391, 36, 1391, 0, 1365, 0, 0, 1669, 0, 2463, 60) diff --git a/scenes/kq4_008_back_of_fishermans_shack/cottage_polygon.tres b/scenes/kq4_008_back_of_fishermans_shack/cottage_polygon.tres new file mode 100644 index 0000000..269494a --- /dev/null +++ b/scenes/kq4_008_back_of_fishermans_shack/cottage_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://w0ydnt3i4mpp"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(316, 178, 177, 187, 122, 187, 0, 136, 0, 12, 78, 2, 317, 0, 319, 139) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd b/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd index efd0b77..db30bd8 100644 --- a/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd +++ b/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd @@ -15,3 +15,21 @@ func _on_fishermans_shack_interacted() -> void: func _on_green_meadow_interacted() -> void: $kq4_014_green_meadow.default_script(self) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see the back of an old shack.") + ).build(self, "_on_script_complete")) + + +func _on_window_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You peek through the window, but can make out no details.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand behind the fisherman's shack.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.tscn b/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.tscn index d702a1f..8f8f26f 100644 --- a/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.tscn +++ b/scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.tscn @@ -2,6 +2,9 @@ [ext_resource type="Script" uid="uid://31tmx5rtcbd9h" path="res://scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd" id="1_abc"] [ext_resource type="Texture2D" uid="uid://1qgkzu9kzrsb2" path="res://scenes/kq4_008_back_of_fishermans_shack/pic_008_visual.png" id="2_abc"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://2yu2h2auhjq02" path="res://scenes/kq4_008_back_of_fishermans_shack/cottage_polygon.tres" id="6_cottage"] +[ext_resource type="Resource" uid="uid://ie9kcj20t0tl" path="res://scenes/kq4_008_back_of_fishermans_shack/window_polygon.tres" id="7_window"] [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"] @@ -89,10 +92,26 @@ position = Vector2(118, 514) [node name="exit" parent="kq4_014_green_meadow" index="1"] position = Vector2(151, 615) +[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("5_setpiece") +label = "Cottage" +points_resource = ExtResource("6_cottage") + +[node name="window" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +script = ExtResource("5_setpiece") +label = "Window" +points_resource = ExtResource("7_window") + [connection signal="interacted" from="kq4_009_shady_wooded_area" to="." method="_on_shady_wooded_area_interacted"] [connection signal="interacted" from="kq4_002_meadow" to="." method="_on_meadow_interacted"] [connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"] +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] +[connection signal="looked" from="window" to="." method="_on_window_looked"] [editable path="kq4_009_shady_wooded_area"] [editable path="kq4_002_meadow"] diff --git a/scenes/kq4_008_back_of_fishermans_shack/window_polygon.tres b/scenes/kq4_008_back_of_fishermans_shack/window_polygon.tres new file mode 100644 index 0000000..db9c606 --- /dev/null +++ b/scenes/kq4_008_back_of_fishermans_shack/window_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ifakcj20t0tl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(298, 74, 306, 187, 0, 189, 16, 91, 68, 27, 234, 35, 277, 48) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_009_shady_wooded_area/boulder_polygon.tres b/scenes/kq4_009_shady_wooded_area/boulder_polygon.tres new file mode 100644 index 0000000..ff9a847 --- /dev/null +++ b/scenes/kq4_009_shady_wooded_area/boulder_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://rgq1r38cpy2p"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(883, 787, 918, 726, 1171, 591, 1429, 587, 1528, 624, 1734, 859, 1399, 981, 935, 887) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_009_shady_wooded_area/flowers_polygon.tres b/scenes/kq4_009_shady_wooded_area/flowers_polygon.tres new file mode 100644 index 0000000..204c13c --- /dev/null +++ b/scenes/kq4_009_shady_wooded_area/flowers_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://va6hdfw87hsl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2254, 887, 2224, 1098, 2131, 1203, 1121, 1023, 886, 916, 813, 794, 1105, 340) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.gd b/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.gd index c7c57c4..62226fb 100644 --- a/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.gd +++ b/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.gd @@ -15,3 +15,27 @@ func _on_frog_pond_interacted() -> void: func _on_back_of_fishermans_shack_interacted() -> void: $kq4_008_back_of_fishermans_shack.default_script(self) + + +func _on_boulder_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A large rock dominates the clearing.") + ).build(self, "_on_script_complete")) + + +func _on_pool_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "It's too far in the distance to see it clearly.") + ).build(self, "_on_script_complete")) + + +func _on_flowers_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "There are flowers here and there.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are in a shady wooded area.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.tscn b/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.tscn index 1e29467..8d92e18 100644 --- a/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.tscn +++ b/scenes/kq4_009_shady_wooded_area/kq4_009_shady_wooded_area.tscn @@ -4,6 +4,10 @@ [ext_resource type="Texture2D" uid="uid://bvhh6scahcu61" path="res://scenes/kq4_009_shady_wooded_area/caption_3_2676608714_generated.png" id="2_gws7f"] [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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://2tbt56j0a44d2" path="res://scenes/kq4_009_shady_wooded_area/boulder_polygon.tres" id="6_boulder"] +[ext_resource type="Resource" uid="uid://3dvjqnfbx0lqq" path="res://scenes/kq4_009_shady_wooded_area/pool_polygon.tres" id="7_pool"] +[ext_resource type="Resource" uid="uid://2w49lquo7ml3x" path="res://scenes/kq4_009_shady_wooded_area/flowers_polygon.tres" id="8_flowers"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -89,10 +93,34 @@ position = Vector2(133, 643) [node name="exit" parent="kq4_015_frog_pond" index="1"] position = Vector2(174, 519) +[node name="boulder" type="Polygon2D" parent="." unique_id=123456791] +scale = Vector2(0.78, 0.78) +color = Color(0.7, 0.7, 0.7, 0.25) +script = ExtResource("5_setpiece") +label = "Boulder" +points_resource = ExtResource("6_boulder") + +[node name="pool" type="Polygon2D" parent="." unique_id=123456792] +scale = Vector2(0.78, 0.78) +color = Color(0.7, 0.7, 0.7, 0.25) +script = ExtResource("5_setpiece") +label = "Pool" +points_resource = ExtResource("7_pool") + +[node name="flowers" type="Polygon2D" parent="." unique_id=123456793] +scale = Vector2(0.78, 0.78) +color = Color(0.7, 0.7, 0.7, 0.25) +script = ExtResource("5_setpiece") +label = "Flowers" +points_resource = ExtResource("8_flowers") + [connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"] [connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"] [connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_015_frog_pond" to="." method="_on_frog_pond_interacted"] +[connection signal="looked" from="boulder" to="." method="_on_boulder_looked"] +[connection signal="looked" from="pool" to="." method="_on_pool_looked"] +[connection signal="looked" from="flowers" to="." method="_on_flowers_looked"] [editable path="kq4_003_fountain_pool"] [editable path="kq4_010_forest_path"] diff --git a/scenes/kq4_009_shady_wooded_area/pool_polygon.tres b/scenes/kq4_009_shady_wooded_area/pool_polygon.tres new file mode 100644 index 0000000..e2b9a2e --- /dev/null +++ b/scenes/kq4_009_shady_wooded_area/pool_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bb1gl8yj0lhge"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2010, 919, 1021, 1096, 807, 912, 921, 724, 1172, 591, 1259, 581, 1491, 604, 1964, 863) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/flowers_polygon_0.tres b/scenes/kq4_010_forest_path/flowers_polygon_0.tres new file mode 100644 index 0000000..d5296af --- /dev/null +++ b/scenes/kq4_010_forest_path/flowers_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://j7p1x0q2ewrs"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(50, 182, 45, 107, 227, 51, 210, 125, 291, 159) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/kq4_010_forest_path.gd b/scenes/kq4_010_forest_path/kq4_010_forest_path.gd index 92e8e96..6f0c197 100644 --- a/scenes/kq4_010_forest_path/kq4_010_forest_path.gd +++ b/scenes/kq4_010_forest_path/kq4_010_forest_path.gd @@ -19,3 +19,21 @@ func _on_graveyard_interacted() -> void: func _on_shady_wooded_area_interacted() -> void: $kq4_009_shady_wooded_area.default_script(self) + + +func _on_flowers_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "There aren't many flowers to pick!") + ).build(self, "_on_script_complete")) + + +func _on_pine_trees_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Mostly, you see pine trees.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are on a forest path.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_010_forest_path/kq4_010_forest_path.tscn b/scenes/kq4_010_forest_path/kq4_010_forest_path.tscn index 9d0b1b2..bb92f6f 100644 --- a/scenes/kq4_010_forest_path/kq4_010_forest_path.tscn +++ b/scenes/kq4_010_forest_path/kq4_010_forest_path.tscn @@ -5,6 +5,10 @@ [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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://2l2s6dgizs125" path="res://scenes/kq4_010_forest_path/flowers_polygon_0.tres" id="5_flowers"] +[ext_resource type="Resource" uid="uid://3fuj0q7ii26p9" path="res://scenes/kq4_010_forest_path/trees_polygon_0.tres" id="6_trees"] + [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)]) @@ -102,7 +106,27 @@ position = Vector2(350, 500) [node name="exit" parent="kq4_009_shady_wooded_area" index="1"] position = Vector2(100, 480) -[connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://2l2s6dgizs125" path="res://scenes/kq4_010_forest_path/flowers_polygon_0.tres" id="5_flowers"] + +[node name="flowers" type="Polygon2D" parent="." unique_id=123456781] +scale = Vector2(6, 6) +color = Color(0.7, 0.7, 0.7, 0.25) +polygon = PackedVector2Array(168, 1047, 176, 1049, 180, 1070, 172, 1072) +script = ExtResource("5_setpiece") +label = "Flowers" +points_resource = ExtResource("5_flowers") + +[node name="pine_trees" type="Polygon2D" parent="." unique_id=123456782] +scale = Vector2(6, 6) +color = Color(0.7, 0.7, 0.7, 0.25) +polygon = PackedVector2Array(317, 13, 319, 186, 249, 181, 292, 158, 211, 123, 240, 32, 269, 22, 261, 0) +script = ExtResource("5_setpiece") +label = "Pine Trees" +points_resource = ExtResource("6_trees") + +[connection signal="looked" from="flowers" to="." method="_on_flowers_looked"] +[connection signal="looked" from="pine_trees" to="." method="_on_pine_trees_looked"] [connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"] [connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"] [connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"] diff --git a/scenes/kq4_010_forest_path/trees_polygon_0.tres b/scenes/kq4_010_forest_path/trees_polygon_0.tres new file mode 100644 index 0000000..e2d692f --- /dev/null +++ b/scenes/kq4_010_forest_path/trees_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bd0gvdrqkn2fw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(317, 13, 319, 186, 249, 181, 292, 158, 211, 123, 240, 32, 269, 22, 261, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/trees_polygon_1.tres b/scenes/kq4_010_forest_path/trees_polygon_1.tres new file mode 100644 index 0000000..1d32260 --- /dev/null +++ b/scenes/kq4_010_forest_path/trees_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1s0awyi3edep"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(192, 72, 146, 71, 157, 104, 65, 102, 78, 87, 61, 85, 104, 27, 177, 23) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/trees_polygon_2.tres b/scenes/kq4_010_forest_path/trees_polygon_2.tres new file mode 100644 index 0000000..407e374 --- /dev/null +++ b/scenes/kq4_010_forest_path/trees_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://br7t7b0n224x5"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(63, 33, 57, 33, 63, 42, 58, 47, 69, 52, 46, 63, 45, 17, 52, 11) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/trees_polygon_3.tres b/scenes/kq4_010_forest_path/trees_polygon_3.tres new file mode 100644 index 0000000..e4a5143 --- /dev/null +++ b/scenes/kq4_010_forest_path/trees_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bhv017038xnsg"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(85, 174, 54, 171, 51, 183, 113, 180, 108, 189, 50, 189, 49, 170) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_010_forest_path/trees_polygon_4.tres b/scenes/kq4_010_forest_path/trees_polygon_4.tres new file mode 100644 index 0000000..5139d3b --- /dev/null +++ b/scenes/kq4_010_forest_path/trees_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ksm88tr7v4kr"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3, 50, 3, 67, 1, 85, 2, 102, 0, 120, 1, 127, 0, 127, 0, 47) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.gd b/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.gd index 941f54d..9503641 100644 --- a/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.gd +++ b/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.gd @@ -15,3 +15,15 @@ func _on_haunted_forest_interacted() -> void: func _on_spooky_house_exterior_interacted() -> void: $kq4_017_spooky_house_exterior.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This place gives you the willies! The trees around here are very strange; almost human-like. A dense forest surrounds this odd grove of trees.") + ).build(self, "_on_script_complete")) + + +func _on_tree_left_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This gnarled tree has an almost human-like appearance. Its twisted branches seem to reach toward you...") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.tscn b/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.tscn index c7a5ad7..ac9f642 100644 --- a/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.tscn +++ b/scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://dk7r6la0vktg5" path="res://scenes/kq4_011_enchanted_grove/caption_2_496392820_generated.png" id="2_4yweh"] [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://3v7bd74wy099f" path="res://scenes/kq4_011_enchanted_grove/tree_left_polygon.tres" id="5_abc"] +[ext_resource type="Script" uid="uid://byf6hc1mxm7b8" path="res://SetPiece_.gd" id="6_abc"] [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) @@ -87,12 +89,21 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_010_forest_path" index="1"] position = Vector2(-64, 534) +[node name="tree_left" type="Polygon2D" parent="." unique_id=1234567890] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array() +script = ExtResource("6_abc") +label = "Gnarled Tree" +polygon_resource = ExtResource("5_abc") + [connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"] [connection signal="interacted" from="kq4_012_haunted_forest" to="." method="_on_haunted_forest_interacted"] [connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"] [connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"] +[connection signal="looked" from="tree_left" to="." method="_on_tree_left_looked"] [editable path="kq4_005_forest_grove"] [editable path="kq4_012_haunted_forest"] [editable path="kq4_017_spooky_house_exterior"] [editable path="kq4_010_forest_path"] +[editable path="tree_left"] diff --git a/scenes/kq4_011_enchanted_grove/tree_left_polygon.tres b/scenes/kq4_011_enchanted_grove/tree_left_polygon.tres new file mode 100644 index 0000000..7917d8a --- /dev/null +++ b/scenes/kq4_011_enchanted_grove/tree_left_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://buc68to51l5x2"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1123, 0, 911, 1391, 0, 1391, 0, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_013_beach/cottage_polygon.tres b/scenes/kq4_013_beach/cottage_polygon.tres new file mode 100644 index 0000000..f0d9cf3 --- /dev/null +++ b/scenes/kq4_013_beach/cottage_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0cj3l40o6i0l"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(297, 78, 264, 109, 141, 181, 106, 186, 99, 182, 68, 52, 160, 29, 186, 31, 284, 66) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_013_beach/dock_polygon.tres b/scenes/kq4_013_beach/dock_polygon.tres new file mode 100644 index 0000000..8e271af --- /dev/null +++ b/scenes/kq4_013_beach/dock_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://qtlmxa8rwpqa"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(316, 187, 107, 187, 99, 182, 68, 52, 213, 47, 285, 56, 316, 128) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_013_beach/kq4_013_beach.gd b/scenes/kq4_013_beach/kq4_013_beach.gd index 2e32848..7deb164 100644 --- a/scenes/kq4_013_beach/kq4_013_beach.gd +++ b/scenes/kq4_013_beach/kq4_013_beach.gd @@ -15,3 +15,21 @@ func _on_green_meadow_interacted() -> void: func _on_open_ocean_interacted() -> void: $kq4_031_open_ocean.default_script(self) + + +func _on_dock_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see a shabby little house, with a pier, in the distance.") + ).build(self, "_on_script_complete")) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see a shabby little house, with a pier, in the distance.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand on a beautiful beach.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_013_beach/kq4_013_beach.tscn b/scenes/kq4_013_beach/kq4_013_beach.tscn index 5709745..7804c0c 100644 --- a/scenes/kq4_013_beach/kq4_013_beach.tscn +++ b/scenes/kq4_013_beach/kq4_013_beach.tscn @@ -4,6 +4,9 @@ [ext_resource type="Texture2D" uid="uid://dbi8vjqvdpc3g" path="res://scenes/kq4_013_beach/caption_2_3376356057_generated.png" id="2_6hbuw"] [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://qtlmw98rwpqa" path="res://scenes/kq4_013_beach/dock_polygon.tres" id="5_dock"] +[ext_resource type="Resource" uid="uid://316m70krnlnbx" path="res://scenes/kq4_013_beach/cottage_polygon.tres" id="6_cottage"] +[ext_resource type="Script" uid="uid://cxm4y5s6pwpm8" path="res://SetPiece_.gd" id="8_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -88,10 +91,26 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_031_open_ocean" index="1"] position = Vector2(-64, 534) +[node name="dock" type="Polygon2D" parent="." unique_id=123456789] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50) +script = ExtResource("8_setpiece") +label = "Dock" +polygon_resource = ExtResource("5_dock") + +[node name="cottage" type="Polygon2D" parent="." unique_id=234567891] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50) +script = ExtResource("8_setpiece") +label = "Cottage" +polygon_resource = ExtResource("6_cottage") + [connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"] [connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"] [connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"] +[connection signal="looked" from="dock" to="." method="_on_dock_looked"] +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] [editable path="kq4_007_fishermans_shack"] [editable path="kq4_014_green_meadow"] diff --git a/scenes/kq4_013_beach/rocks_polygon.tres b/scenes/kq4_013_beach/rocks_polygon.tres new file mode 100644 index 0000000..67558bb --- /dev/null +++ b/scenes/kq4_013_beach/rocks_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8cpj5dv0jq81"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(317, 186, 96, 187, 0, 55, 1, 18, 46, 7, 291, 44, 317, 78) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_014_green_meadow/bushes_polygon.tres b/scenes/kq4_014_green_meadow/bushes_polygon.tres new file mode 100644 index 0000000..6071131 --- /dev/null +++ b/scenes/kq4_014_green_meadow/bushes_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://glivl5022ixl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(318, 174, 267, 184, 225, 181, 141, 129, 156, 116, 176, 116, 307, 151) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd b/scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd index d12cc0e..a58a891 100644 --- a/scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd +++ b/scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd @@ -15,3 +15,27 @@ func _on_meadow_interacted() -> void: func _on_beach_interacted() -> void: $kq4_013_beach.default_script(self) + + +func _on_stump_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Yes, there's a tree stump in the middle of the meadow.") + ).build(self, "_on_script_complete")) + + +func _on_bushes_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Small, low bushes dot the pretty meadow. Wildflowers grow among them.") + ).build(self, "_on_script_complete")) + + +func _on_rocks_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Scattered rocks lie among the wildflowers of the meadow.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand in a green meadow filled with wildflowers.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_014_green_meadow/kq4_014_green_meadow.tscn b/scenes/kq4_014_green_meadow/kq4_014_green_meadow.tscn index be2fe88..870f24f 100644 --- a/scenes/kq4_014_green_meadow/kq4_014_green_meadow.tscn +++ b/scenes/kq4_014_green_meadow/kq4_014_green_meadow.tscn @@ -5,6 +5,11 @@ [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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"] +[ext_resource type="Resource" uid="uid://2pkuwanqqbcc8" path="res://scenes/kq4_014_green_meadow/stump_polygon.tres" id="6_stump"] +[ext_resource type="Resource" uid="uid://2iglz0lr1hm8x" path="res://scenes/kq4_014_green_meadow/bushes_polygon.tres" id="7_bushes"] +[ext_resource type="Resource" uid="uid://2xf4fwmakmnf9" path="res://scenes/kq4_014_green_meadow/rocks_polygon.tres" id="8_rocks"] + [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)]) @@ -88,11 +93,35 @@ position = Vector2(506, 555) [node name="exit" parent="kq4_013_beach" index="1"] position = Vector2(-64, 534) +[node name="stump" type="Polygon2D" parent="."] +scale = Vector2(6, 6) +polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50) +script = ExtResource("5_setpiece") +label = "Stump" +polygon_resource = ExtResource("6_stump") + +[node name="bushes" type="Polygon2D" parent="."] +scale = Vector2(6, 6) +polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50) +script = ExtResource("5_setpiece") +label = "Bushes" +polygon_resource = ExtResource("7_bushes") + +[node name="rocks" type="Polygon2D" parent="."] +scale = Vector2(6, 6) +polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50) +script = ExtResource("5_setpiece") +label = "Rocks" +polygon_resource = ExtResource("8_rocks") + [connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_interacted"] [connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"] [connection signal="interacted" from="kq4_015_frog_pond" to="." method="_on_frog_pond_interacted"] [connection signal="interacted" from="kq4_020_meadow" to="." method="_on_meadow_interacted"] +[connection signal="looked" from="stump" to="." method="_on_stump_looked"] +[connection signal="looked" from="bushes" to="." method="_on_bushes_looked"] +[connection signal="looked" from="rocks" to="." method="_on_rocks_looked"] [editable path="kq4_008_back_of_fishermans_shack"] [editable path="kq4_015_frog_pond"] diff --git a/scenes/kq4_014_green_meadow/rocks_polygon.tres b/scenes/kq4_014_green_meadow/rocks_polygon.tres new file mode 100644 index 0000000..15203f9 --- /dev/null +++ b/scenes/kq4_014_green_meadow/rocks_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://vk1bi6il7i4w"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(317, 176, 267, 184, 235, 183, 141, 129, 156, 116, 175, 116, 317, 165) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_014_green_meadow/stump_polygon.tres b/scenes/kq4_014_green_meadow/stump_polygon.tres new file mode 100644 index 0000000..72bf4b9 --- /dev/null +++ b/scenes/kq4_014_green_meadow/stump_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://nprru7yru61v"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(184, 129, 184, 130, 172, 131, 141, 130, 142, 128, 156, 116, 175, 116) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_015_frog_pond/flowers_polygon.tres b/scenes/kq4_015_frog_pond/flowers_polygon.tres new file mode 100644 index 0000000..d7d6cf5 --- /dev/null +++ b/scenes/kq4_015_frog_pond/flowers_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bghrjlvgh1yow"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 0, 2495, 1391, 0, 1391, 0, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_015_frog_pond/flowers_polygon.tres.uid b/scenes/kq4_015_frog_pond/flowers_polygon.tres.uid new file mode 100644 index 0000000..b66a1f9 --- /dev/null +++ b/scenes/kq4_015_frog_pond/flowers_polygon.tres.uid @@ -0,0 +1 @@ +uid://3icunzb7gg3za \ No newline at end of file diff --git a/scenes/kq4_015_frog_pond/kq4_015_frog_pond.gd b/scenes/kq4_015_frog_pond/kq4_015_frog_pond.gd index 349dfb4..2eedf7e 100644 --- a/scenes/kq4_015_frog_pond/kq4_015_frog_pond.gd +++ b/scenes/kq4_015_frog_pond/kq4_015_frog_pond.gd @@ -19,3 +19,27 @@ func _on_bridge_over_stream_interacted() -> void: func _on_shady_wooded_area_interacted_from_9() -> void: $kq4_009_shady_wooded_area.default_script(self) + + +func _on_lilypads_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Many water lilies float upon this little pond.") + ).build(self, "_on_script_complete")) + + +func _on_pond_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a very pretty little pond. Floating upon it are many beautiful water lilies.") + ).build(self, "_on_script_complete")) + + +func _on_flowers_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see flowers here and there.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stand beside a peaceful frog pond.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_015_frog_pond/kq4_015_frog_pond.tscn b/scenes/kq4_015_frog_pond/kq4_015_frog_pond.tscn index a1b7d00..0a56269 100644 --- a/scenes/kq4_015_frog_pond/kq4_015_frog_pond.tscn +++ b/scenes/kq4_015_frog_pond/kq4_015_frog_pond.tscn @@ -4,6 +4,10 @@ [ext_resource type="Texture2D" uid="uid://bil34dk1pnd7b" path="res://scenes/kq4_015_frog_pond/caption_2_2697930471_generated.png" id="2_erond"] [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://3v71oyr55gdir" path="res://scenes/kq4_015_frog_pond/lilypads_polygon.tres" id="5_abc"] +[ext_resource type="Resource" uid="uid://3icunzb7gg3za" path="res://scenes/kq4_015_frog_pond/flowers_polygon.tres" id="6_abc"] +[ext_resource type="Resource" uid="uid://39q63aoolsg51" path="res://scenes/kq4_015_frog_pond/pond_polygon.tres" id="7_abc"] +[ext_resource type="Script" uid="uid://bv7oxo5y5u6xo" path="res://SetPiece_.gd" id="8_abc"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -89,10 +93,28 @@ position = Vector2(118, 514) [node name="exit" parent="kq4_021_bridge_over_stream" index="1"] position = Vector2(151, 615) +[node name="lilypads" type="Polygon2D" parent="." instance=ExtResource("8_abc")] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(1132, 680, 1210, 700, 1237, 745, 1207, 795, 1127, 805, 1093, 760, 1103, 709) +label = "Lily Pads" + +[node name="flowers" type="Polygon2D" parent="." instance=ExtResource("8_abc")] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(1527, 820, 1564, 814, 1584, 840, 1559, 866, 1527, 858) +label = "Flowers" + +[node name="pond" type="Polygon2D" parent="." instance=ExtResource("8_abc")] +scale = Vector2(0.78, 0.78) +polygon = PackedVector2Array(952, 596, 1180, 597, 1339, 664, 1417, 780, 1391, 918, 1180, 964, 940, 891, 876, 769, 888, 657) +label = "Pond" + [connection signal="interacted" from="kq4_009_shady_wooded_area" to="." method="_on_shady_wooded_area_interacted"] [connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"] [connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"] [connection signal="interacted" from="kq4_021_bridge_over_stream" to="." method="_on_bridge_over_stream_interacted"] +[connection signal="looked" from="lilypads" to="." method="_on_lilypads_looked"] +[connection signal="looked" from="pond" to="." method="_on_pond_looked"] +[connection signal="looked" from="flowers" to="." method="_on_flowers_looked"] [editable path="kq4_009_shady_wooded_area"] [editable path="kq4_016_graveyard"] diff --git a/scenes/kq4_015_frog_pond/lilypads_polygon.tres b/scenes/kq4_015_frog_pond/lilypads_polygon.tres new file mode 100644 index 0000000..ad1873b --- /dev/null +++ b/scenes/kq4_015_frog_pond/lilypads_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://budxklde6077f"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1568, 1006, 1500, 1067, 1323, 1098, 1235, 1091, 562, 845, 632, 802, 879, 807) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_015_frog_pond/lilypads_polygon.tres.uid b/scenes/kq4_015_frog_pond/lilypads_polygon.tres.uid new file mode 100644 index 0000000..470b026 --- /dev/null +++ b/scenes/kq4_015_frog_pond/lilypads_polygon.tres.uid @@ -0,0 +1 @@ +uid://3v71oyr55gdir \ No newline at end of file diff --git a/scenes/kq4_015_frog_pond/pond_polygon.tres b/scenes/kq4_015_frog_pond/pond_polygon.tres new file mode 100644 index 0000000..26a3ee9 --- /dev/null +++ b/scenes/kq4_015_frog_pond/pond_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b7v3xu8wnecuo"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1912, 732, 1899, 982, 1735, 1046, 1068, 1174, 591, 1053, 389, 834, 466, 787, 919, 701, 1501, 678) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_015_frog_pond/pond_polygon.tres.uid b/scenes/kq4_015_frog_pond/pond_polygon.tres.uid new file mode 100644 index 0000000..6e40d9e --- /dev/null +++ b/scenes/kq4_015_frog_pond/pond_polygon.tres.uid @@ -0,0 +1 @@ +uid://39q63aoolsg51 \ No newline at end of file diff --git a/scenes/kq4_016_graveyard/gravestones_polygon.tres b/scenes/kq4_016_graveyard/gravestones_polygon.tres new file mode 100644 index 0000000..466b822 --- /dev/null +++ b/scenes/kq4_016_graveyard/gravestones_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://jwqdk5e17ucs"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2274, 760, 2254, 907, 1872, 1362, 1734, 1391, 542, 1139, 188, 965, 151, 710, 564, 606, 1723, 614) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_016_graveyard/kq4_016_graveyard.gd b/scenes/kq4_016_graveyard/kq4_016_graveyard.gd index 9f0f94a..000b663 100644 --- a/scenes/kq4_016_graveyard/kq4_016_graveyard.gd +++ b/scenes/kq4_016_graveyard/kq4_016_graveyard.gd @@ -15,3 +15,21 @@ func _on_gnomes_cottage_interacted() -> void: func _on_spooky_house_exterior_interacted() -> void: $kq4_017_spooky_house_exterior.default_script(self) + + +func _on_gravestones_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Each tombstone has an epitaph written on it.") + ).build(self, "_on_script_complete")) + + +func _on_tree_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "An old, rotting tree adds appropriate charm to the decrepit cemetery.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This run-down, gloomy cemetery gives you the creeps!") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_016_graveyard/kq4_016_graveyard.tscn b/scenes/kq4_016_graveyard/kq4_016_graveyard.tscn index 89b7490..875a7e5 100644 --- a/scenes/kq4_016_graveyard/kq4_016_graveyard.tscn +++ b/scenes/kq4_016_graveyard/kq4_016_graveyard.tscn @@ -4,6 +4,9 @@ [ext_resource type="Texture2D" uid="uid://clkah304erwsa" path="res://scenes/kq4_016_graveyard/caption_1_2842997487_generated.png" id="2_8fbum"] [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://jwqdk5e17ucs" path="res://scenes/kq4_016_graveyard/gravestones_polygon.tres" id="5_gravestones"] +[ext_resource type="Resource" uid="uid://3j9gqpqwomat0" path="res://scenes/kq4_016_graveyard/tree_polygon.tres" id="6_tree"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -94,6 +97,25 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"] [connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"] +[node name="gravestones" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(2274, 760, 2254, 907, 1872, 1362, 1734, 1391, 542, 1139, 188, 965, 151, 710, 564, 606, 1723, 614) +script = ExtResource("7_setpiece") +label = "Gravestones" +points_resource = ExtResource("5_gravestones") + +[node name="tree" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(2274, 377, 2095, 619, 1935, 756, 1185, 1239, 6, 434, 578, 0, 1845, 7) +script = ExtResource("7_setpiece") +label = "Tree" +points_resource = ExtResource("6_tree") + +[connection signal="looked" from="gravestones" to="." method="_on_gravestones_looked"] +[connection signal="looked" from="tree" to="." method="_on_tree_looked"] + [editable path="kq4_015_frog_pond"] [editable path="kq4_010_forest_path"] [editable path="kq4_022_gnomes_cottage"] diff --git a/scenes/kq4_016_graveyard/tree_polygon.tres b/scenes/kq4_016_graveyard/tree_polygon.tres new file mode 100644 index 0000000..d045607 --- /dev/null +++ b/scenes/kq4_016_graveyard/tree_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bifdmcb5p65jn"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2274, 377, 2095, 619, 1935, 756, 1185, 1239, 6, 434, 578, 0, 1845, 7) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/house_polygon.tres b/scenes/kq4_017_spooky_house_exterior/house_polygon.tres new file mode 100644 index 0000000..28dadcd --- /dev/null +++ b/scenes/kq4_017_spooky_house_exterior/house_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://j7s02kx0ru0m"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(0, 1391, 0, 0, 2495, 0, 2495, 1391) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres b/scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres new file mode 100644 index 0000000..336965d --- /dev/null +++ b/scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2vgpfkv8f2tr"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(882, 0, 228, 447, 811, 957, 293, 1014, 1052, 1378, 0, 1391, 0, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/house_polygon_1.tres b/scenes/kq4_017_spooky_house_exterior/house_polygon_1.tres new file mode 100644 index 0000000..b500ac4 --- /dev/null +++ b/scenes/kq4_017_spooky_house_exterior/house_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3ahmhpj2iq2t"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 1391, 1443, 1388, 2171, 1108, 1618, 1037, 2200, 634, 2069, 0, 2495, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/house_polygon_2.tres b/scenes/kq4_017_spooky_house_exterior/house_polygon_2.tres new file mode 100644 index 0000000..2418841 --- /dev/null +++ b/scenes/kq4_017_spooky_house_exterior/house_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1pa1muindps"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(978, 0, 2044, 0, 1992, 28, 1999, 181, 1879, 45, 978, 49, 976, 26) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/house_polygon_3.tres b/scenes/kq4_017_spooky_house_exterior/house_polygon_3.tres new file mode 100644 index 0000000..88d9f1c --- /dev/null +++ b/scenes/kq4_017_spooky_house_exterior/house_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://s8bt0fvboqi4"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1709, 873, 1701, 881, 1706, 888, 1750, 909, 1739, 910, 1699, 885, 1683, 890) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.gd b/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.gd index 5093a51..3c71caf 100644 --- a/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.gd +++ b/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.gd @@ -15,3 +15,15 @@ func _on_forest_path_with_cottage_interacted() -> void: func _on_cemetery_interacted() -> void: $kq4_018_cemetery.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Indeed, this is a spooky old house! It looks as if no one has lived here for many years. Flanking the old house on both sides is a run-down cemetery. A thick forest looms all around.") + ).build(self, "_on_script_complete")) + + +func _on_house_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The old house looks abandoned and decrepit. Windows are boarded up and the door hangs off its hinges.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn b/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn index 66127f5..9aa916d 100644 --- a/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn +++ b/scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://bmxs6lml73kld" path="res://scenes/kq4_017_spooky_house_exterior/caption_2_3103518838_generated.png" id="2_j6qr1"] [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://24qjts0n6t644" path="res://scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres" id="5_house"] +[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) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"] [connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"] +[node name="house" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(882, 0, 228, 447, 811, 957, 293, 1014, 1052, 1378, 0, 1391, 0, 0) +script = ExtResource("6_setpiece") +label = "Spooky House" +points_resource = ExtResource("5_house") + +[connection signal="looked" from="house" to="." method="_on_house_looked"] + [editable path="kq4_011_enchanted_grove"] [editable path="kq4_018_cemetery"] [editable path="kq4_023_forest_path_with_cottage"] diff --git a/scenes/kq4_018_cemetery/gravestones_polygon.tres b/scenes/kq4_018_cemetery/gravestones_polygon.tres new file mode 100644 index 0000000..519db34 --- /dev/null +++ b/scenes/kq4_018_cemetery/gravestones_polygon.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dlrpv3krmlfuu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1925, 937, 1724, 1085, 1085, 1042, 693, 911, 616, 737, 1304, 640, 1625, 696) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_018_cemetery/kq4_018_cemetery.gd b/scenes/kq4_018_cemetery/kq4_018_cemetery.gd index 28d8fab..b092d7c 100644 --- a/scenes/kq4_018_cemetery/kq4_018_cemetery.gd +++ b/scenes/kq4_018_cemetery/kq4_018_cemetery.gd @@ -11,3 +11,15 @@ func _on_waterfall_and_pool_interacted() -> void: func _on_spooky_house_exterior_interacted() -> void: $kq4_017_spooky_house_exterior.default_script(self) + + +func _on_gravestones_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Each tombstone has an epitaph written on it.") + ).build(self, "_on_script_complete")) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a scary old cemetery!") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_018_cemetery/kq4_018_cemetery.tscn b/scenes/kq4_018_cemetery/kq4_018_cemetery.tscn index 725bc74..fec8f0a 100644 --- a/scenes/kq4_018_cemetery/kq4_018_cemetery.tscn +++ b/scenes/kq4_018_cemetery/kq4_018_cemetery.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://l672jbh4shwf" path="res://scenes/kq4_018_cemetery/caption_3_4052088499_generated.png" id="2_2e0gx"] [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://1r7xgf3azsofg" path="res://scenes/kq4_018_cemetery/gravestones_polygon.tres" id="5_gravestones"] +[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) @@ -78,6 +80,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_024_waterfall_and_pool" to="." method="_on_waterfall_and_pool_interacted"] [connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"] +[node name="gravestones" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1925, 937, 1724, 1085, 1085, 1042, 693, 911, 616, 737, 1304, 640, 1625, 696) +script = ExtResource("6_setpiece") +label = "Gravestones" +points_resource = ExtResource("5_gravestones") + +[connection signal="looked" from="gravestones" to="." method="_on_gravestones_looked"] + [editable path="kq4_012_haunted_forest"] [editable path="kq4_024_waterfall_and_pool"] [editable path="kq4_017_spooky_house_exterior"] diff --git a/scenes/kq4_019_coastal_cliffs/cliff_polygon.tres b/scenes/kq4_019_coastal_cliffs/cliff_polygon.tres new file mode 100644 index 0000000..85e10f9 --- /dev/null +++ b/scenes/kq4_019_coastal_cliffs/cliff_polygon.tres @@ -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" diff --git a/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.gd b/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.gd index 3d59cca..54c871e 100644 --- a/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.gd +++ b/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.gd @@ -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")) diff --git a/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.tscn b/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.tscn index 97d32fe..f9c7e30 100644 --- a/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.tscn +++ b/scenes/kq4_019_coastal_cliffs/kq4_019_coastal_cliffs.tscn @@ -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"] diff --git a/scenes/kq4_020_meadow/kq4_020_meadow.gd b/scenes/kq4_020_meadow/kq4_020_meadow.gd index 94f7dbf..627e9bd 100644 --- a/scenes/kq4_020_meadow/kq4_020_meadow.gd +++ b/scenes/kq4_020_meadow/kq4_020_meadow.gd @@ -15,3 +15,15 @@ func _on_oceanside_interacted() -> void: func _on_river_meadow_interacted() -> void: $kq4_026_river_meadow.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A green meadowland, filled with beautiful wildflowers, surrounds you.") + ).build(self, "_on_script_complete")) + + +func _on_meadow_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The meadow is filled with wildflowers and tall grass. A few trees dot the landscape.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_020_meadow/kq4_020_meadow.tscn b/scenes/kq4_020_meadow/kq4_020_meadow.tscn index 0379eeb..0a54eac 100644 --- a/scenes/kq4_020_meadow/kq4_020_meadow.tscn +++ b/scenes/kq4_020_meadow/kq4_020_meadow.tscn @@ -5,6 +5,8 @@ [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_6lc2m"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_nrc7r"] [ext_resource type="Texture2D" uid="uid://2wfp64i5brcn" path="res://scenes/kq4_020_meadow/tree.png" id="5_ppo6b"] +[ext_resource type="Resource" uid="uid://3db4xmv5e6m2q" path="res://scenes/kq4_020_meadow/meadow_polygon_0.tres" id="6_meadow"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(1263.16, 1113.2, 424.328, 1143.23, 1026.63, 865.109, 1359.65, 949.383, 1238.89, 383.039, 1994.29, 469.938, 2012.62, 1017.85, 1025.28, 850.992, -53.8672, 491.352, -74.0469, 579.641) @@ -102,6 +104,16 @@ offset = Vector2(-289.042, -723.963) [connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_oceanside_interacted"] [connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"] +[node name="meadow" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.470459, 0.467949) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(3927, 328, 2766, 1026, 3740, 1025, 3550, 1674, 2584, 1967, 1192, 1529, 864, 266) +script = ExtResource("7_setpiece") +label = "Meadow" +points_resource = ExtResource("6_meadow") + +[connection signal="looked" from="meadow" to="." method="_on_meadow_looked"] + [editable path="kq4_014_green_meadow"] [editable path="kq4_021_bridge_over_stream"] [editable path="kq4_019_coastal_cliffs"] diff --git a/scenes/kq4_020_meadow/meadow_polygon_0.tres b/scenes/kq4_020_meadow/meadow_polygon_0.tres new file mode 100644 index 0000000..fb223c6 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bbg1s8hegrire"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3927, 328, 2766, 1026, 3740, 1025, 3550, 1674, 2584, 1967, 1192, 1529, 864, 266) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_1.tres b/scenes/kq4_020_meadow/meadow_polygon_1.tres new file mode 100644 index 0000000..17c24b7 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://h1r0fnd0i711"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1483, 0, 1525, 76, 1640, 47, 1624, 115, 1709, 88, 1637, 162, 1467, 181, 1247, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_10.tres b/scenes/kq4_020_meadow/meadow_polygon_10.tres new file mode 100644 index 0000000..ef5091b --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_10.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://vb8xoppcvhkf"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(80, 599, 69, 604, 74, 649, 57, 632, 40, 643, 0, 619, 0, 551) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_11.tres b/scenes/kq4_020_meadow/meadow_polygon_11.tres new file mode 100644 index 0000000..38d592f --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_11.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dq308802h064c"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1854, 109, 1740, 142, 1689, 173, 1682, 169, 1707, 132, 1741, 103, 1766, 96, 1866, 98) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_12.tres b/scenes/kq4_020_meadow/meadow_polygon_12.tres new file mode 100644 index 0000000..ad32bb2 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_12.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://jbpvuahkq7h2"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(83, 798, 90, 913, 56, 854, 0, 861, 0, 837, 49, 817, 65, 793) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_13.tres b/scenes/kq4_020_meadow/meadow_polygon_13.tres new file mode 100644 index 0000000..66db2b2 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_13.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bmp0ugjy8dfgw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3462, 1961, 3397, 1961, 3411, 1978, 3371, 1996, 3425, 2004, 3410, 2020, 3349, 2008, 3416, 1917, 3484, 1930) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_14.tres b/scenes/kq4_020_meadow/meadow_polygon_14.tres new file mode 100644 index 0000000..15e6021 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_14.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://c6mt2wrl4n3j0"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1845, 134, 1938, 169, 1916, 169, 1897, 156, 1879, 158, 1877, 185, 1889, 215, 1781, 156) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_15.tres b/scenes/kq4_020_meadow/meadow_polygon_15.tres new file mode 100644 index 0000000..e538eff --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_15.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://yaj62dy2vfng"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(822, 28, 864, 18, 859, 10, 821, 20, 815, 0, 943, 0, 823, 65) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_16.tres b/scenes/kq4_020_meadow/meadow_polygon_16.tres new file mode 100644 index 0000000..ac9ac46 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_16.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bnc15escheuph"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2943, 2275, 2911, 2280, 2907, 2308, 2857, 2282, 2870, 2271, 2858, 2255, 2884, 2256, 2890, 2231) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_17.tres b/scenes/kq4_020_meadow/meadow_polygon_17.tres new file mode 100644 index 0000000..022a44a --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_17.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://vvh7s8nrgfue"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(120, 1261, 111, 1296, 84, 1318, 73, 1312, 70, 1284, 27, 1279, 60, 1247) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_18.tres b/scenes/kq4_020_meadow/meadow_polygon_18.tres new file mode 100644 index 0000000..2fab505 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_18.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://djnq665dp6f2d"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2834, 2187, 2850, 2165, 2886, 2177, 2874, 2192, 2897, 2202, 2871, 2202, 2862, 2225, 2821, 2222, 2807, 2186) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_19.tres b/scenes/kq4_020_meadow/meadow_polygon_19.tres new file mode 100644 index 0000000..b859298 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_19.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://33ssd0od5bjw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2813, 2277, 2818, 2303, 2796, 2293, 2776, 2304, 2749, 2287, 2768, 2250, 2801, 2243, 2831, 2259) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_2.tres b/scenes/kq4_020_meadow/meadow_polygon_2.tres new file mode 100644 index 0000000..6b401e9 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://nwcyvkk6rven"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(4034, 1286, 4061, 1273, 4073, 1291, 4051, 1437, 4016, 1422, 4000, 1350, 3954, 1313, 3988, 1177) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_20.tres b/scenes/kq4_020_meadow/meadow_polygon_20.tres new file mode 100644 index 0000000..d3de59a --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_20.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://lu6iot21shqw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3104, 2215, 3112, 2230, 3081, 2224, 3071, 2243, 3046, 2214, 3087, 2183, 3119, 2200) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_21.tres b/scenes/kq4_020_meadow/meadow_polygon_21.tres new file mode 100644 index 0000000..7cffd01 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_21.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://w2xwpqxkr0pm"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1583, 1786, 1538, 1782, 1538, 1811, 1492, 1787, 1544, 1774, 1540, 1756, 1583, 1768) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_22.tres b/scenes/kq4_020_meadow/meadow_polygon_22.tres new file mode 100644 index 0000000..c204732 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_22.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://btgkgytcg3lqq"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3356, 1130, 3306, 1119, 3329, 1117, 3332, 1102, 3349, 1090, 3362, 1098, 3379, 1089, 3396, 1101) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_23.tres b/scenes/kq4_020_meadow/meadow_polygon_23.tres new file mode 100644 index 0000000..db75247 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_23.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0f1hdnaqlvg4"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2999, 2240, 2994, 2222, 3004, 2219, 3025, 2231, 3019, 2248, 3036, 2256, 3015, 2271, 2972, 2237) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_24.tres b/scenes/kq4_020_meadow/meadow_polygon_24.tres new file mode 100644 index 0000000..e5e5d15 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_24.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bti4pu24p5qs4"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2652, 2179, 2664, 2189, 2683, 2189, 2668, 2225, 2652, 2215, 2628, 2216, 2635, 2206, 2623, 2198) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_25.tres b/scenes/kq4_020_meadow/meadow_polygon_25.tres new file mode 100644 index 0000000..ccad405 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_25.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dvfy413ivxenb"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1465, 1835, 1463, 1820, 1491, 1819, 1512, 1829, 1517, 1851, 1486, 1856, 1451, 1840) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_26.tres b/scenes/kq4_020_meadow/meadow_polygon_26.tres new file mode 100644 index 0000000..f7dc0ee --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_26.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hsua7ubxs7jf"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3362, 1949, 3313, 2006, 3307, 1981, 3331, 1958, 3329, 1936, 3346, 1939, 3360, 1923) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_27.tres b/scenes/kq4_020_meadow/meadow_polygon_27.tres new file mode 100644 index 0000000..e298764 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_27.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d3gmbwj7mggqu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1313, 1805, 1321, 1790, 1359, 1810, 1327, 1830, 1300, 1824, 1305, 1814, 1295, 1806) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_28.tres b/scenes/kq4_020_meadow/meadow_polygon_28.tres new file mode 100644 index 0000000..01d1d3a --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_28.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://kb23airyj832"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3760, 217, 3790, 213, 3789, 182, 3812, 195, 3801, 224, 3760, 233, 3727, 177) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_29.tres b/scenes/kq4_020_meadow/meadow_polygon_29.tres new file mode 100644 index 0000000..289544c --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_29.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0j480yqds4v8"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1358, 1749, 1369, 1739, 1401, 1759, 1384, 1763, 1378, 1773, 1350, 1771, 1342, 1764, 1350, 1757, 1339, 1751) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_3.tres b/scenes/kq4_020_meadow/meadow_polygon_3.tres new file mode 100644 index 0000000..0e02fe1 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bhdptvkyxpd0y"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(113, 1142, 69, 1159, 80, 1178, 0, 1184, 0, 1122, 95, 1087, 32, 1087, 91, 1041) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_30.tres b/scenes/kq4_020_meadow/meadow_polygon_30.tres new file mode 100644 index 0000000..f42447c --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_30.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://4c8s6ivketn6"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1433, 1803, 1439, 1814, 1387, 1814, 1395, 1804, 1390, 1790, 1406, 1792, 1418, 1782, 1439, 1793) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_31.tres b/scenes/kq4_020_meadow/meadow_polygon_31.tres new file mode 100644 index 0000000..ba92b89 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_31.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://5cm3q8bcglln"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2938, 2139, 2901, 2142, 2893, 2136, 2905, 2125, 2907, 2110, 2919, 2114, 2928, 2109, 2942, 2116) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_32.tres b/scenes/kq4_020_meadow/meadow_polygon_32.tres new file mode 100644 index 0000000..7d08031 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_32.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://v7vvm04lf6ky"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2041, 1771, 2024, 1766, 2003, 1766, 1974, 1779, 2014, 1744, 2030, 1740, 2037, 1747) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_33.tres b/scenes/kq4_020_meadow/meadow_polygon_33.tres new file mode 100644 index 0000000..e9336dc --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_33.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://jm1rnvirfu6a"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2704, 2155, 2690, 2152, 2685, 2160, 2668, 2152, 2681, 2128, 2690, 2133, 2702, 2127, 2712, 2136) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_34.tres b/scenes/kq4_020_meadow/meadow_polygon_34.tres new file mode 100644 index 0000000..2c64ebd --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_34.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dg4oqcotir1fc"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3631, 574, 3612, 587, 3596, 592, 3570, 596, 3572, 591, 3578, 586, 3619, 565, 3640, 558, 3647, 558) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_35.tres b/scenes/kq4_020_meadow/meadow_polygon_35.tres new file mode 100644 index 0000000..281c27e --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_35.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://duoaqd6nnlnq7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1940, 1728, 1923, 1738, 1919, 1732, 1882, 1765, 1893, 1744, 1871, 1757, 1904, 1729, 1941, 1720) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_36.tres b/scenes/kq4_020_meadow/meadow_polygon_36.tres new file mode 100644 index 0000000..c515788 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_36.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://yxpe4f4lli2b"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1772, 77, 1727, 91, 1727, 75, 1748, 79, 1767, 61, 1767, 46, 1780, 43) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_37.tres b/scenes/kq4_020_meadow/meadow_polygon_37.tres new file mode 100644 index 0000000..258ce79 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_37.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d2grxpnq5xp6m"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3834, 1870, 3834, 1853, 3837, 1855, 3844, 1855, 3855, 1849, 3863, 1841, 3866, 1865, 3873, 1876, 3873, 1879) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_38.tres b/scenes/kq4_020_meadow/meadow_polygon_38.tres new file mode 100644 index 0000000..403c292 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_38.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b3xm441k8kpft"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2925, 1934, 2963, 1968, 2941, 1947, 2933, 1958, 2926, 1940, 2915, 1962, 2908, 1955, 2887, 1959) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_39.tres b/scenes/kq4_020_meadow/meadow_polygon_39.tres new file mode 100644 index 0000000..a13dc54 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_39.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://i8ifhlvar2un"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1927, 92, 1888, 99, 1896, 78, 1903, 82, 1915, 82, 1923, 75, 1944, 75) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_4.tres b/scenes/kq4_020_meadow/meadow_polygon_4.tres new file mode 100644 index 0000000..1e64008 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dfc7aenjv2jlr"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3292, 1993, 3251, 1973, 3287, 1970, 3233, 1954, 3276, 1930, 3156, 1963, 3174, 1913, 3297, 1869) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_40.tres b/scenes/kq4_020_meadow/meadow_polygon_40.tres new file mode 100644 index 0000000..dc4ccfc --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_40.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://kxqeyuhlsjnu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2798, 2122, 2781, 2123, 2774, 2129, 2764, 2128, 2753, 2116, 2758, 2112, 2772, 2115, 2780, 2104, 2800, 2111) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_41.tres b/scenes/kq4_020_meadow/meadow_polygon_41.tres new file mode 100644 index 0000000..8784ad4 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_41.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://eas4ylpun5fw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(6, 1236, 4, 1248, 11, 1256, 35, 1258, 10, 1282, 5, 1266, 0, 1265, 0, 1227) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_42.tres b/scenes/kq4_020_meadow/meadow_polygon_42.tres new file mode 100644 index 0000000..785ef09 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_42.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8wf34d042xid"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3936, 2015, 3895, 2014, 3880, 2021, 3885, 2002, 3899, 2002, 3906, 1997, 3920, 2009, 3937, 2013) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_43.tres b/scenes/kq4_020_meadow/meadow_polygon_43.tres new file mode 100644 index 0000000..b1f2f60 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_43.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bgfi12jyukvhh"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2003, 1740, 1976, 1761, 1977, 1754, 1984, 1740, 1994, 1727, 2001, 1726, 2022, 1732) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_44.tres b/scenes/kq4_020_meadow/meadow_polygon_44.tres new file mode 100644 index 0000000..41c44d3 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_44.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://obd41aqfj0yy"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1053, 1323, 1060, 1327, 1060, 1331, 1044, 1332, 1050, 1353, 1029, 1337, 1026, 1330, 1030, 1325) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_45.tres b/scenes/kq4_020_meadow/meadow_polygon_45.tres new file mode 100644 index 0000000..ac92358 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_45.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://mxjafrya035f"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2001, 63, 2000, 47, 1987, 58, 1979, 59, 1974, 56, 1986, 48, 1996, 36, 2019, 40) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_46.tres b/scenes/kq4_020_meadow/meadow_polygon_46.tres new file mode 100644 index 0000000..c42ae5c --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_46.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bpyv5adkas6sq"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1575, 1693, 1575, 1715, 1566, 1704, 1549, 1707, 1555, 1701, 1551, 1696, 1566, 1682) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_47.tres b/scenes/kq4_020_meadow/meadow_polygon_47.tres new file mode 100644 index 0000000..fceb805 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_47.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3h2gn5qui3j2"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3870, 177, 3869, 179, 3872, 180, 3877, 178, 3850, 197, 3843, 186, 3831, 184, 3834, 181, 3830, 179) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_48.tres b/scenes/kq4_020_meadow/meadow_polygon_48.tres new file mode 100644 index 0000000..1dec6d5 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_48.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dveaf3hys5jed"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(101, 1406, 79, 1397, 68, 1400, 66, 1395, 70, 1388, 100, 1392, 102, 1383, 105, 1402) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_49.tres b/scenes/kq4_020_meadow/meadow_polygon_49.tres new file mode 100644 index 0000000..585e023 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_49.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bx0nx5s5dqatv"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(21, 874, 21, 882, 18, 887, 8, 895, 0, 898, 0, 873, 10, 870, 19, 871) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_5.tres b/scenes/kq4_020_meadow/meadow_polygon_5.tres new file mode 100644 index 0000000..39d1069 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://gy4sumgfc154"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(4020, 1108, 4063, 1097, 4056, 1166, 4095, 1103, 4065, 1224, 4095, 1285, 4042, 1238, 4013, 1086) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_50.tres b/scenes/kq4_020_meadow/meadow_polygon_50.tres new file mode 100644 index 0000000..a0fdc5f --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_50.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1dc8cw4cqprf"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1110, 1304, 1106, 1312, 1108, 1318, 1121, 1319, 1113, 1336, 1095, 1319, 1095, 1312, 1104, 1304) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_51.tres b/scenes/kq4_020_meadow/meadow_polygon_51.tres new file mode 100644 index 0000000..bf7cfc1 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_51.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0y6cifylmddp"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3236, 1978, 3219, 1982, 3203, 1990, 3205, 1979, 3208, 1973, 3216, 1966, 3225, 1966, 3236, 1975) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_52.tres b/scenes/kq4_020_meadow/meadow_polygon_52.tres new file mode 100644 index 0000000..a5492e0 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_52.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://fhyau0axk08"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1723, 1749, 1728, 1739, 1712, 1739, 1701, 1748, 1710, 1737, 1734, 1731, 1745, 1746) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_53.tres b/scenes/kq4_020_meadow/meadow_polygon_53.tres new file mode 100644 index 0000000..d70fbfe --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_53.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://u4cjnvhtmdn5"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3093, 1955, 3109, 1957, 3111, 1960, 3102, 1965, 3090, 1978, 3084, 1966, 3075, 1956) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_54.tres b/scenes/kq4_020_meadow/meadow_polygon_54.tres new file mode 100644 index 0000000..7d2838f --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_54.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b4jf5vpicf76u"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(69, 690, 71, 696, 73, 687, 73, 739, 72, 723, 64, 721, 58, 713, 62, 710, 61, 687) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_55.tres b/scenes/kq4_020_meadow/meadow_polygon_55.tres new file mode 100644 index 0000000..b82a11a --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_55.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dpqrystonhgff"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3592, 72, 3562, 104, 3558, 104, 3557, 101, 3564, 88, 3574, 83, 3574, 79, 3578, 74, 3595, 65) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_56.tres b/scenes/kq4_020_meadow/meadow_polygon_56.tres new file mode 100644 index 0000000..df7ef12 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_56.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://fp1fac2drs84"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3162, 1919, 3137, 1942, 3134, 1940, 3132, 1935, 3127, 1930, 3136, 1928, 3170, 1910, 3172, 1913) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_57.tres b/scenes/kq4_020_meadow/meadow_polygon_57.tres new file mode 100644 index 0000000..361a4b7 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_57.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dhjurrsmug6ks"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1824, 79, 1824, 83, 1816, 89, 1799, 90, 1786, 86, 1788, 83, 1793, 81, 1818, 78, 1827, 74) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_58.tres b/scenes/kq4_020_meadow/meadow_polygon_58.tres new file mode 100644 index 0000000..426fa8e --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_58.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dhovkiw0u52p3"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1151, 1301, 1143, 1310, 1127, 1344, 1124, 1346, 1126, 1328, 1132, 1313, 1142, 1300, 1150, 1299) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_59.tres b/scenes/kq4_020_meadow/meadow_polygon_59.tres new file mode 100644 index 0000000..65ef7e2 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_59.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8gyosmi55lhw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3057, 1979, 3060, 1968, 3052, 1966, 3038, 1976, 3030, 1976, 3057, 1960, 3075, 1975) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_6.tres b/scenes/kq4_020_meadow/meadow_polygon_6.tres new file mode 100644 index 0000000..9ddd110 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dr1t7i4qs52h6"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(91, 1014, 62, 1030, 61, 1043, 0, 1107, 0, 1030, 23, 979, 80, 959, 86, 947) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_60.tres b/scenes/kq4_020_meadow/meadow_polygon_60.tres new file mode 100644 index 0000000..ffcd500 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_60.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dqj5m2fkvldt0"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(13, 971, 13, 976, 9, 984, 6, 995, 4, 997, 3, 1003, 0, 1006, 0, 970, 10, 968) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_61.tres b/scenes/kq4_020_meadow/meadow_polygon_61.tres new file mode 100644 index 0000000..4ee02d3 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_61.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://te246juw348y"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3166, 144, 3149, 142, 3151, 134, 3156, 135, 3150, 135, 3150, 138, 3161, 136, 3208, 141, 3141, 145) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_62.tres b/scenes/kq4_020_meadow/meadow_polygon_62.tres new file mode 100644 index 0000000..5ee7dd4 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_62.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bhgm74t5ycog"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1929, 232, 1952, 232, 1957, 238, 1940, 245, 1937, 241, 1926, 241, 1924, 236) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_63.tres b/scenes/kq4_020_meadow/meadow_polygon_63.tres new file mode 100644 index 0000000..cf9379c --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_63.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://27a6c5qjvj4l"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3202, 257, 3193, 259, 3197, 271, 3187, 271, 3185, 259, 3181, 274, 3181, 245) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_64.tres b/scenes/kq4_020_meadow/meadow_polygon_64.tres new file mode 100644 index 0000000..0ac4d8b --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_64.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://636uxbm76fyy"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(13, 651, 8, 672, 0, 678, 0, 652, 6, 653, 8, 647, 10, 647) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_65.tres b/scenes/kq4_020_meadow/meadow_polygon_65.tres new file mode 100644 index 0000000..00e9750 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_65.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bg5cxvndfefdn"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1853, 209, 1858, 212, 1866, 220, 1884, 232, 1884, 234, 1876, 235, 1869, 233, 1851, 210) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_66.tres b/scenes/kq4_020_meadow/meadow_polygon_66.tres new file mode 100644 index 0000000..1dbf06c --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_66.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bgrwh24hq53bv"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(45, 678, 54, 680, 56, 684, 55, 692, 52, 694, 41, 693, 38, 685, 39, 680) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_67.tres b/scenes/kq4_020_meadow/meadow_polygon_67.tres new file mode 100644 index 0000000..729416d --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_67.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://4l8yu3j85wo7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3715, 1008, 3707, 1016, 3693, 1025, 3694, 1021, 3706, 1001, 3710, 1001, 3716, 1004) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_68.tres b/scenes/kq4_020_meadow/meadow_polygon_68.tres new file mode 100644 index 0000000..c5c1397 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_68.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bph30qdva1w4"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1947, 1737, 1950, 1750, 1948, 1758, 1933, 1748, 1933, 1746, 1937, 1741, 1944, 1735) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_69.tres b/scenes/kq4_020_meadow/meadow_polygon_69.tres new file mode 100644 index 0000000..4e796c7 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_69.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://eqtypa2acfm1"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1730, 1718, 1729, 1721, 1711, 1726, 1700, 1731, 1709, 1721, 1721, 1713, 1728, 1714) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_7.tres b/scenes/kq4_020_meadow/meadow_polygon_7.tres new file mode 100644 index 0000000..1573f85 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_7.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hu0dy1otb0fa"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(69, 318, 75, 431, 10, 412, 51, 384, 29, 355, 0, 375, 0, 316) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_70.tres b/scenes/kq4_020_meadow/meadow_polygon_70.tres new file mode 100644 index 0000000..2d5e4b1 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_70.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bedpm2bueyb4g"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(10, 37, 17, 42, 28, 38, 40, 41, 41, 38, 39, 48, 17, 47, 10, 39, 0, 37) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_71.tres b/scenes/kq4_020_meadow/meadow_polygon_71.tres new file mode 100644 index 0000000..a01c5b8 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_71.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0rrfrh5osfqm"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2246, 205, 2261, 206, 2256, 209, 2256, 214, 2248, 212, 2245, 209, 2228, 205, 2211, 197) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_72.tres b/scenes/kq4_020_meadow/meadow_polygon_72.tres new file mode 100644 index 0000000..d75c9f6 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_72.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1dsfvrucr4tr"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1847, 79, 1853, 83, 1852, 86, 1834, 87, 1832, 86, 1843, 73, 1846, 71, 1849, 71) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_73.tres b/scenes/kq4_020_meadow/meadow_polygon_73.tres new file mode 100644 index 0000000..5c9dc1b --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_73.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://78l24scb0coy"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3, 921, 7, 934, 7, 941, 4, 947, 4, 949, 2, 951, 0, 951, 0, 919) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_74.tres b/scenes/kq4_020_meadow/meadow_polygon_74.tres new file mode 100644 index 0000000..77575f8 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_74.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://e38t03232vb7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3854, 2011, 3851, 2016, 3850, 2021, 3844, 2019, 3837, 2013, 3838, 2010, 3841, 2010, 3847, 2007, 3855, 2005) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_75.tres b/scenes/kq4_020_meadow/meadow_polygon_75.tres new file mode 100644 index 0000000..58869f1 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_75.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d2di3q471brxo"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2087, 428, 2087, 436, 2075, 436, 2079, 433, 2075, 432, 2075, 426, 2094, 419) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_76.tres b/scenes/kq4_020_meadow/meadow_polygon_76.tres new file mode 100644 index 0000000..ea71550 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_76.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://eya783p2lrar"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3375, 203, 3375, 208, 3370, 212, 3364, 212, 3358, 208, 3361, 207, 3368, 200, 3371, 194) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_8.tres b/scenes/kq4_020_meadow/meadow_polygon_8.tres new file mode 100644 index 0000000..43726d0 --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_8.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://k0yjuaf5ssaj"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1659, 1657, 1719, 1703, 1677, 1736, 1668, 1685, 1621, 1730, 1649, 1706, 1576, 1675) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_020_meadow/meadow_polygon_9.tres b/scenes/kq4_020_meadow/meadow_polygon_9.tres new file mode 100644 index 0000000..59eed5e --- /dev/null +++ b/scenes/kq4_020_meadow/meadow_polygon_9.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dlkqfn6ifepp7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(3965, 1385, 3995, 1453, 3908, 1467, 3912, 1446, 3927, 1457, 3916, 1428, 3933, 1361) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres new file mode 100644 index 0000000..7a85ae1 --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ro84qhodvetr"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1013, 512, 830, 707, 2080, 731, 2209, 917, 2054, 1115, 2495, 1224, 2495, 1391, 1319, 1147, 485, 687) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_1.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_1.tres new file mode 100644 index 0000000..611ad79 --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bpmuikjuqsbdu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(639, 231, 626, 136, 655, 132, 654, 150, 672, 144, 677, 161, 734, 156) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_2.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_2.tres new file mode 100644 index 0000000..33ca11f --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://gyim4m1fo142"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(585, 117, 564, 132, 611, 129, 603, 155, 621, 144, 603, 200, 539, 164, 570, 157, 548, 110) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_3.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_3.tres new file mode 100644 index 0000000..3bc0881 --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ow4u38mkdj0y"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(579, 32, 608, 37, 611, 64, 566, 77, 575, 96, 545, 63, 600, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_4.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_4.tres new file mode 100644 index 0000000..1298c44 --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hsltrjiyxnu0"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(700, 14, 738, 31, 719, 46, 696, 35, 672, 44, 668, 30, 652, 25) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/bridge_polygon_5.tres b/scenes/kq4_021_bridge_over_stream/bridge_polygon_5.tres new file mode 100644 index 0000000..12254fa --- /dev/null +++ b/scenes/kq4_021_bridge_over_stream/bridge_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2wa2u3h7uftv"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(737, 12, 755, 22, 745, 24, 754, 31, 761, 30, 760, 18, 761, 31, 730, 28, 728, 22) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.gd b/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.gd index 17c9120..bac3602 100644 --- a/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.gd +++ b/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.gd @@ -15,3 +15,15 @@ func _on_meadow_interacted() -> void: func _on_forest_path_interacted() -> void: $kq4_027_forest_path.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A gentle stream meanders its way through the trees. A rustic stone bridge crosses its path.") + ).build(self, "_on_script_complete")) + + +func _on_bridge_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A sturdy wooden bridge spans the stream. It looks like it could support your weight.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.tscn b/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.tscn index 15ed5ac..b1a7416 100644 --- a/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.tscn +++ b/scenes/kq4_021_bridge_over_stream/kq4_021_bridge_over_stream.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://buugeband0nb2" path="res://scenes/kq4_021_bridge_over_stream/caption_2_2180550861_generated.png" id="2_4tolx"] [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://ro84qhodvetr" path="res://scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres" id="5_bridge"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -94,6 +96,16 @@ position = Vector2(300, 554) [connection signal="interacted" from="kq4_027_forest_path" to="." method="_on_forest_path_interacted"] [connection signal="interacted" from="kq4_020_meadow" to="." method="_on_meadow_interacted"] +[node name="bridge" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1013, 512, 830, 707, 2080, 731, 2209, 917, 2054, 1115, 2495, 1224, 2495, 1391, 1319, 1147, 485, 687) +script = ExtResource("6_setpiece") +label = "Bridge" +points_resource = ExtResource("5_bridge") + +[connection signal="looked" from="bridge" to="." method="_on_bridge_looked"] + [editable path="kq4_015_frog_pond"] [editable path="kq4_022_gnomes_cottage"] [editable path="kq4_027_forest_path"] diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_0.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_0.tres new file mode 100644 index 0000000..6a6b772 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dgsscw63h4hoc"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1763, 487, 2464, 520, 2282, 1030, 158, 1145, 1091, 614, 1224, 8, 2400, 34) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_1.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_1.tres new file mode 100644 index 0000000..0a22101 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://baa5ynvjsqwkm"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(410, 0, 542, 214, 906, 0, 1061, 84, 493, 286, 260, 258, 373, 149, 139, 60) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_2.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_2.tres new file mode 100644 index 0000000..69d2e25 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ijwr4sga7x6j"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1545, 1162, 1285, 1141, 1427, 1125, 1592, 1156, 1582, 1136, 1742, 1117, 1982, 1135, 2222, 1094, 2404, 1117) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_3.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_3.tres new file mode 100644 index 0000000..7308158 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dse2uduy03vcc"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2466, 1113, 2444, 1118, 2409, 1117, 2393, 1099, 2406, 1102, 2460, 1100, 2454, 1089, 2495, 1094, 2495, 1113) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_4.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_4.tres new file mode 100644 index 0000000..3598d26 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://svwwn0vcveim"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(759, 1117, 698, 1116, 682, 1123, 640, 1121, 684, 1120, 697, 1108, 708, 1112, 710, 1106, 763, 1108) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_5.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_5.tres new file mode 100644 index 0000000..f78da4c --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://xxmoivv117pw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(624, 1104, 627, 1103, 646, 1102, 646, 1108, 648, 1111, 640, 1114, 627, 1113, 624, 1110, 623, 1106) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/cottage_polygon_6.tres b/scenes/kq4_022_gnomes_cottage/cottage_polygon_6.tres new file mode 100644 index 0000000..f4202f9 --- /dev/null +++ b/scenes/kq4_022_gnomes_cottage/cottage_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dsaish5fmkqqw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2348, 323, 2374, 334, 2391, 337, 2393, 341, 2374, 337, 2347, 328, 2341, 322) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.gd b/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.gd index 5b229d9..5384397 100644 --- a/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.gd +++ b/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.gd @@ -15,3 +15,15 @@ func _on_023_interacted() -> void: func _on_021_interacted() -> void: $kq4_021_bridge_over_stream.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You have come upon a cute little house, built right into a huge tree! An old water wheel, attached to the house, goes unused beside the little river that flows gently before the house.") + ).build(self, "_on_script_complete")) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The cottage is built into a massive old tree. It looks like a gnome might live here.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn b/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn index 2749588..468a8b5 100644 --- a/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn +++ b/scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://dpxg6smamvc7i" path="res://scenes/kq4_022_gnomes_cottage/caption_1_580543297_generated.png" id="2_pe3xb"] [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://1m8zvaplvcp7w" path="res://scenes/kq4_022_gnomes_cottage/cottage_polygon_0.tres" id="5_cottage"] +[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) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_023_interacted"] [connection signal="interacted" from="kq4_021_bridge_over_stream" to="." method="_on_021_interacted"] +[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1763, 487, 2464, 520, 2282, 1030, 158, 1145, 1091, 614, 1224, 8, 2400, 34) +script = ExtResource("6_setpiece") +label = "Cottage" +points_resource = ExtResource("5_cottage") + +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] + [editable path="kq4_016_graveyard"] [editable path="kq4_028_mine_entrance"] [editable path="kq4_023_forest_path_with_cottage"] diff --git a/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_0.tres b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_0.tres new file mode 100644 index 0000000..3a7fb3e --- /dev/null +++ b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://t7fvvp3t3xkk"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(163, 0, 152, 66, 133, 75, 161, 87, 75, 88, 105, 82, 84, 59, 106, 3) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_1.tres b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_1.tres new file mode 100644 index 0000000..c59be2d --- /dev/null +++ b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://x11mlthbl3pi"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(241, 129, 244, 117, 223, 126, 219, 119, 204, 125, 191, 119, 239, 118, 245, 106, 247, 129) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_2.tres b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_2.tres new file mode 100644 index 0000000..97651eb --- /dev/null +++ b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://x2admnv4t5er"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(237, 92, 234, 90, 240, 90, 245, 81, 243, 71, 246, 87, 279, 84, 262, 94, 234, 95) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_3.tres b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_3.tres new file mode 100644 index 0000000..b95e6de --- /dev/null +++ b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dj70gx5e6joc1"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(237, 19, 269, 28, 258, 31, 249, 24, 236, 30, 235, 24, 225, 32, 214, 26) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_4.tres b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_4.tres new file mode 100644 index 0000000..c95be44 --- /dev/null +++ b/scenes/kq4_023_forest_path_with_cottage/cottage_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d2vodmyw18iex"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(208, 81, 223, 78, 239, 81, 234, 86, 227, 84, 226, 87, 224, 84, 218, 86, 199, 79) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.gd b/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.gd index 42b2bd8..3f15ae2 100644 --- a/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.gd +++ b/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.gd @@ -15,3 +15,15 @@ func _on_waterfall_and_pool_interacted() -> void: func _on_dense_forest_interacted() -> void: $kq4_029_dense_forest.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are walking through a forest thick with pine trees. A nearby river rushes westward from the distant mountain range. In the distance, you see a large house.") + ).build(self, "_on_script_complete")) + + +func _on_cottage_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A cottage stands among the pine trees. Smoke rises from the chimney.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.tscn b/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.tscn index b8df9aa..2ec9569 100644 --- a/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.tscn +++ b/scenes/kq4_023_forest_path_with_cottage/kq4_023_forest_path_with_cottage.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://pic023visual" path="res://scenes/kq4_023_forest_path_with_cottage/pic_023_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://2v2i1a5usi2uw" path="res://scenes/kq4_023_forest_path_with_cottage/cottage_polygon_0.tres" id="5_cottage"] +[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) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"] [connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"] +[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(163, 0, 152, 66, 133, 75, 161, 87, 75, 88, 105, 82, 84, 59, 106, 3) +script = ExtResource("6_setpiece") +label = "Cottage" +points_resource = ExtResource("5_cottage") + +[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"] + [editable path="kq4_017_spooky_house_exterior"] [editable path="kq4_024_waterfall_and_pool"] [editable path="kq4_029_dense_forest"] diff --git a/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.gd b/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.gd index 0947557..b72b74c 100644 --- a/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.gd +++ b/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.gd @@ -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")) diff --git a/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.tscn b/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.tscn index 5479f58..6a0a933 100644 --- a/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.tscn +++ b/scenes/kq4_024_waterfall_and_pool/kq4_024_waterfall_and_pool.tscn @@ -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"] diff --git a/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_0.tres b/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_0.tres new file mode 100644 index 0000000..a926537 --- /dev/null +++ b/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_0.tres @@ -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" diff --git a/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_1.tres b/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_1.tres new file mode 100644 index 0000000..733e4b0 --- /dev/null +++ b/scenes/kq4_024_waterfall_and_pool/waterfall_polygon_1.tres @@ -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" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_0.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_0.tres new file mode 100644 index 0000000..eaa00bc --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ms573s25ru8u"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1378, 0, 753, 398, 1446, 456, 295, 646, 2492, 931, 2495, 1391, 21, 870, 0, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_1.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_1.tres new file mode 100644 index 0000000..1972358 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2rlh60urp8o1"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1989, 72, 1975, 88, 1998, 99, 1980, 124, 2018, 135, 1988, 241, 1968, 232, 1951, 147, 1971, 55) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_10.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_10.tres new file mode 100644 index 0000000..0e43c8c --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_10.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bykbe1o5rj401"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1413, 236, 1397, 236, 1386, 254, 1338, 256, 1351, 228, 1392, 217, 1414, 227) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_11.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_11.tres new file mode 100644 index 0000000..8b15194 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_11.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://drasjv41qafmq"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2395, 196, 2388, 180, 2374, 178, 2369, 140, 2381, 139, 2386, 143, 2389, 135, 2395, 134) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_12.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_12.tres new file mode 100644 index 0000000..c9d8e93 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_12.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dobiyikyur2sy"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1923, 187, 1919, 193, 1924, 202, 1927, 226, 1922, 227, 1915, 237, 1908, 222, 1912, 181, 1919, 158) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_13.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_13.tres new file mode 100644 index 0000000..6cd57d6 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_13.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b7m07qqnp5x0g"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1713, 148, 1710, 163, 1693, 186, 1692, 148, 1701, 141, 1705, 143, 1712, 138) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_14.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_14.tres new file mode 100644 index 0000000..13e2bab --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_14.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://df3wbq25fxpqm"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2436, 123, 2425, 151, 2421, 171, 2414, 189, 2415, 130, 2422, 133, 2425, 132, 2437, 116) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_15.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_15.tres new file mode 100644 index 0000000..fe77273 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_15.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://clfkrcixhlpk"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1940, 51, 1947, 61, 1951, 61, 1933, 80, 1929, 62, 1939, 58, 1937, 52, 1942, 47) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_16.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_16.tres new file mode 100644 index 0000000..f3e9942 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_16.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dwl1vdgui4or0"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1530, 75, 1523, 73, 1507, 83, 1503, 81, 1517, 76, 1515, 65, 1529, 63, 1535, 69) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_17.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_17.tres new file mode 100644 index 0000000..195123b --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_17.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://fmxffyipctg4"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2086, 121, 2088, 126, 2089, 157, 2084, 144, 2082, 131, 2078, 118, 2079, 117) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_2.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_2.tres new file mode 100644 index 0000000..4695e97 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ofgjnw4uyne2"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2311, 141, 2348, 149, 2354, 179, 2311, 195, 2305, 226, 2274, 228, 2261, 212, 2282, 128, 2335, 115) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_3.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_3.tres new file mode 100644 index 0000000..061092e --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://046aago4kuxx"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1854, 218, 1768, 218, 1708, 188, 1735, 152, 1781, 186, 1795, 144, 1828, 165, 1840, 115) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_4.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_4.tres new file mode 100644 index 0000000..e525d1a --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://66gvmgh4jbgb"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2480, 124, 2477, 134, 2495, 145, 2495, 205, 2481, 223, 2431, 215, 2458, 120) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_5.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_5.tres new file mode 100644 index 0000000..6591103 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b2sioxt4gppb5"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1641, 154, 1666, 144, 1676, 194, 1650, 205, 1655, 218, 1627, 231, 1625, 251, 1612, 151, 1630, 134) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_6.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_6.tres new file mode 100644 index 0000000..619c6d3 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://br5tvcp406mv7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2219, 172, 2234, 165, 2220, 231, 2192, 219, 2164, 224, 2175, 162, 2197, 145) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_7.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_7.tres new file mode 100644 index 0000000..ae33b93 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_7.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b10m5jwm60kkf"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1883, 54, 1890, 118, 1883, 228, 1860, 99, 1876, 95, 1864, 75, 1871, 60, 1878, 62, 1876, 53) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_8.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_8.tres new file mode 100644 index 0000000..9e1d453 --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_8.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d1gbic8xsesra"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2091, 204, 2078, 206, 2064, 225, 2045, 226, 2046, 183, 2072, 151, 2068, 147, 2053, 156, 2063, 114) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/delta_polygon_9.tres b/scenes/kq4_025_beach_at_river_delta/delta_polygon_9.tres new file mode 100644 index 0000000..621a6cb --- /dev/null +++ b/scenes/kq4_025_beach_at_river_delta/delta_polygon_9.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bg4x668sc4my1"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2124, 169, 2157, 159, 2163, 134, 2161, 169, 2129, 218, 2114, 218, 2113, 183, 2103, 190, 2100, 116) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.gd b/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.gd index e1da0a0..4aff16c 100644 --- a/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.gd +++ b/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.gd @@ -15,3 +15,15 @@ func _on_open_ocean_interacted() -> void: func _on_beach_interacted() -> void: $kq4_001_beach.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A river, coming from the east, spills into the blue ocean before you. A lonely beach edges the ocean. From atop the bluff, a lovely meadow stretches eastward.") + ).build(self, "_on_script_complete")) + + +func _on_delta_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The river flows into the ocean here, creating a delta. The water is shallow and murky.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.tscn b/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.tscn index 0add6cb..c4cb4b3 100644 --- a/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.tscn +++ b/scenes/kq4_025_beach_at_river_delta/kq4_025_beach_at_river_delta.tscn @@ -5,6 +5,8 @@ [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="Texture2D" uid="uid://ddvidy6i6wnka" path="res://scenes/kq4_025_beach_at_river_delta/tree.png" id="5_abc"] +[ext_resource type="Resource" uid="uid://2on9dh8t360j7" path="res://scenes/kq4_025_beach_at_river_delta/delta_polygon_0.tres" id="6_delta"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_n0vbh"] vertices = PackedVector2Array(1420.8, 882.891, 643.523, 782.813, 755.508, 679.367, 1170.98, 718.422, 1446.82, 264.32, 1830.07, 288.641, 1892.21, 394.188, 1460.68, 425.43, 1357.31, 386.203, 2174.01, 646.32, 2120.42, 949.383, 1827.87, 811.828, 1884.59, 654.039, 1592.76, 853.242, 1279.84, 600.93, 1418.68, 506.969, 1706.24, 821.109, 1346.11, 437.141, 1248.03, 530.352) @@ -103,6 +105,16 @@ position = Vector2(151, 615) [connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"] [connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"] +[node name="delta" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1378, 0, 753, 398, 1446, 456, 295, 646, 2492, 931, 2495, 1391, 21, 870, 0, 0) +script = ExtResource("7_setpiece") +label = "River Delta" +points_resource = ExtResource("6_delta") + +[connection signal="looked" from="delta" to="." method="_on_delta_looked"] + [editable path="kq4_019_coastal_cliffs"] [editable path="kq4_026_river_meadow"] [editable path="kq4_031_open_ocean"] diff --git a/scenes/kq4_026_river_meadow/kq4_026_river_meadow.gd b/scenes/kq4_026_river_meadow/kq4_026_river_meadow.gd index 9c7ab68..d7cdc85 100644 --- a/scenes/kq4_026_river_meadow/kq4_026_river_meadow.gd +++ b/scenes/kq4_026_river_meadow/kq4_026_river_meadow.gd @@ -15,3 +15,15 @@ func _on_beach_at_river_delta_interacted() -> void: func _on_forest_path_interacted() -> void: $kq4_027_forest_path.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A cold river carves its way through this lush flowery meadow.") + ).build(self, "_on_script_complete")) + + +func _on_meadow_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Wildflowers dot the meadow along the banks of the flowing river.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_026_river_meadow/kq4_026_river_meadow.tscn b/scenes/kq4_026_river_meadow/kq4_026_river_meadow.tscn index 91c5d11..0239e02 100644 --- a/scenes/kq4_026_river_meadow/kq4_026_river_meadow.tscn +++ b/scenes/kq4_026_river_meadow/kq4_026_river_meadow.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://1yls50w1d6hp7" path="res://scenes/kq4_026_river_meadow/pic_026_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://15uzkxkukgxc" path="res://scenes/kq4_026_river_meadow/meadow_polygon_0.tres" id="5_meadow"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -94,6 +96,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_002_meadow" to="." method="_on_meadow_2_interacted"] [connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"] +[node name="meadow" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(317, 189, 0, 189, 160, 169, 262, 57, 0, 163, 0, 43, 316, 19) +script = ExtResource("6_setpiece") +label = "River Meadow" +points_resource = ExtResource("5_meadow") + +[connection signal="looked" from="meadow" to="." method="_on_meadow_looked"] + [editable path="kq4_020_meadow"] [editable path="kq4_027_forest_path"] [editable path="kq4_002_meadow"] diff --git a/scenes/kq4_026_river_meadow/meadow_polygon_0.tres b/scenes/kq4_026_river_meadow/meadow_polygon_0.tres new file mode 100644 index 0000000..427c999 --- /dev/null +++ b/scenes/kq4_026_river_meadow/meadow_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://15u0kxkukgxc"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(317, 189, 0, 189, 160, 169, 262, 57, 0, 163, 0, 43, 316, 19) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_027_forest_path/forest_polygon_0.tres b/scenes/kq4_027_forest_path/forest_polygon_0.tres new file mode 100644 index 0000000..73009fb --- /dev/null +++ b/scenes/kq4_027_forest_path/forest_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d0dqmhc776mal"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(317, 189, 222, 62, 104, 153, 279, 189, 0, 189, 84, 73, 317, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_027_forest_path/forest_polygon_1.tres b/scenes/kq4_027_forest_path/forest_polygon_1.tres new file mode 100644 index 0000000..26d1cbc --- /dev/null +++ b/scenes/kq4_027_forest_path/forest_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://13sq1kk0i5d7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(30, 37, 28, 80, 12, 82, 13, 96, 36, 104, 0, 104, 10, 89, 0, 82, 0, 14) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_027_forest_path/kq4_027_forest_path.gd b/scenes/kq4_027_forest_path/kq4_027_forest_path.gd index a24ffa4..adc9fb3 100644 --- a/scenes/kq4_027_forest_path/kq4_027_forest_path.gd +++ b/scenes/kq4_027_forest_path/kq4_027_forest_path.gd @@ -15,3 +15,15 @@ func _on_mine_entrance_interacted() -> void: func _on_river_meadow_interacted() -> void: $kq4_026_river_meadow.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are wandering through a thick wood. You hear birds chirping from the many trees.") + ).build(self, "_on_script_complete")) + + +func _on_forest_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Tall trees surround the path on both sides. Sunlight filters through the canopy above.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_027_forest_path/kq4_027_forest_path.tscn b/scenes/kq4_027_forest_path/kq4_027_forest_path.tscn index 1da16b4..44f6a2e 100644 --- a/scenes/kq4_027_forest_path/kq4_027_forest_path.tscn +++ b/scenes/kq4_027_forest_path/kq4_027_forest_path.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://1tsm5mtf1ls7d" path="res://scenes/kq4_027_forest_path/pic_027_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://16sx5suqmeus6" path="res://scenes/kq4_027_forest_path/forest_polygon_0.tres" id="5_forest"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"] [connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"] +[node name="forest" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(317, 189, 222, 62, 104, 153, 279, 189, 0, 189, 84, 73, 317, 0) +script = ExtResource("6_setpiece") +label = "Forest" +points_resource = ExtResource("5_forest") + +[connection signal="looked" from="forest" to="." method="_on_forest_looked"] + [editable path="kq4_021_bridge_over_stream"] [editable path="kq4_028_mine_entrance"] [editable path="kq4_003_fountain_pool"] diff --git a/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.gd b/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.gd index 9256f8a..2dd2f9f 100644 --- a/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.gd +++ b/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.gd @@ -15,3 +15,15 @@ func _on_ogres_cottage_interacted() -> void: func _on_forest_path_interacted() -> void: $kq4_027_forest_path.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see a crude mine shaft in the midst of this forest of pine trees.") + ).build(self, "_on_script_complete")) + + +func _on_mine_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The mine entrance is dark and foreboding. Rocks are scattered about the entrance.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.tscn b/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.tscn index 124c0c0..648fa94 100644 --- a/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.tscn +++ b/scenes/kq4_028_mine_entrance/kq4_028_mine_entrance.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://xoexo8qjh1n0" path="res://scenes/kq4_028_mine_entrance/caption_1_751152612_generated.png" id="2_qqkdp"] [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://i6pvbq66x7my" path="res://scenes/kq4_028_mine_entrance/mine_polygon_0.tres" id="5_mine"] +[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) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"] [connection signal="interacted" from="kq4_027_forest_path" to="." method="_on_forest_path_interacted"] +[node name="mine" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(1941, 474, 2079, 560, 2090, 678, 2030, 882, 1943, 883, 1951, 859, 1747, 809, 1723, 555, 1798, 487) +script = ExtResource("6_setpiece") +label = "Mine Entrance" +points_resource = ExtResource("5_mine") + +[connection signal="looked" from="mine" to="." method="_on_mine_looked"] + [editable path="kq4_022_gnomes_cottage"] [editable path="kq4_029_dense_forest"] [editable path="kq4_004_ogres_cottage"] diff --git a/scenes/kq4_028_mine_entrance/mine_polygon_0.tres b/scenes/kq4_028_mine_entrance/mine_polygon_0.tres new file mode 100644 index 0000000..0a5dcb2 --- /dev/null +++ b/scenes/kq4_028_mine_entrance/mine_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://i6pvbq66x7my"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(1941, 474, 2079, 560, 2090, 678, 2030, 882, 1943, 883, 1951, 859, 1747, 809, 1723, 555, 1798, 487) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/kq4_029_dense_forest.gd b/scenes/kq4_029_dense_forest/kq4_029_dense_forest.gd index 14ee764..fe0f788 100644 --- a/scenes/kq4_029_dense_forest/kq4_029_dense_forest.gd +++ b/scenes/kq4_029_dense_forest/kq4_029_dense_forest.gd @@ -15,3 +15,15 @@ func _on_mountain_pass_interacted() -> void: func _on_mine_entrance_interacted() -> void: $kq4_028_mine_entrance.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are roaming through a dense forest.") + ).build(self, "_on_script_complete")) + + +func _on_trees_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Tall pine trees surround you on all sides. The forest is thick and dark.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_029_dense_forest/kq4_029_dense_forest.tscn b/scenes/kq4_029_dense_forest/kq4_029_dense_forest.tscn index d9aeaf7..67850ac 100644 --- a/scenes/kq4_029_dense_forest/kq4_029_dense_forest.tscn +++ b/scenes/kq4_029_dense_forest/kq4_029_dense_forest.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://b4o5fec7jk7r5" path="res://scenes/kq4_029_dense_forest/caption_3_1620170238_generated.png" id="2_o6inj"] [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://2zbk6jk496srq" path="res://scenes/kq4_029_dense_forest/trees_polygon_0.tres" id="5_trees"] +[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) @@ -93,6 +95,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"] [connection signal="interacted" from="kq4_028_mine_entrance" to="." method="_on_mine_entrance_interacted"] +[node name="trees" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(0.78, 0.78) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(2495, 1391, 1620, 1387, 743, 1072, 943, 823, 1200, 871, 1259, 1113, 1965, 830, 2198, 954, 2495, 341) +script = ExtResource("6_setpiece") +label = "Trees" +points_resource = ExtResource("5_trees") + +[connection signal="looked" from="trees" to="." method="_on_trees_looked"] + [editable path="kq4_023_forest_path_with_cottage"] [editable path="kq4_030_mountain_pass"] [editable path="kq4_005_forest_grove"] diff --git a/scenes/kq4_029_dense_forest/trees_polygon_0.tres b/scenes/kq4_029_dense_forest/trees_polygon_0.tres new file mode 100644 index 0000000..5489707 --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://xgh145ecrohe"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(2495, 1391, 1620, 1387, 743, 1072, 943, 823, 1200, 871, 1259, 1113, 1965, 830, 2198, 954, 2495, 341) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_1.tres b/scenes/kq4_029_dense_forest/trees_polygon_1.tres new file mode 100644 index 0000000..13917d5 --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://emfkv58osbg2"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(187, 738, 567, 778, 394, 1106, 753, 1113, 239, 1030, 166, 1391, 59, 73) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_2.tres b/scenes/kq4_029_dense_forest/trees_polygon_2.tres new file mode 100644 index 0000000..4d6199e --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3v3yr8w61035"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(529, 1096, 480, 1053, 484, 1087, 430, 1080, 468, 1101, 424, 1106, 420, 1073, 453, 1071, 442, 1012) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_3.tres b/scenes/kq4_029_dense_forest/trees_polygon_3.tres new file mode 100644 index 0000000..3425d28 --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bgjs3y55pea2q"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(583, 1023, 588, 996, 605, 1007, 608, 1072, 583, 1057, 571, 1076, 553, 1013, 568, 1020, 576, 995) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_4.tres b/scenes/kq4_029_dense_forest/trees_polygon_4.tres new file mode 100644 index 0000000..b6dddaf --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ow0n04abhly5"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(558, 1054, 539, 1056, 531, 1048, 522, 1059, 526, 1015, 535, 1021, 535, 1004) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_5.tres b/scenes/kq4_029_dense_forest/trees_polygon_5.tres new file mode 100644 index 0000000..be39c53 --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bljcpv8yrjgnw"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(403, 982, 423, 1006, 411, 1014, 409, 997, 390, 999, 391, 984, 373, 977) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_6.tres b/scenes/kq4_029_dense_forest/trees_polygon_6.tres new file mode 100644 index 0000000..320f68b --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://c3kfl0gt12vhi"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(40, 1193, 41, 1194, 43, 1192, 47, 1197, 56, 1203, 40, 1202, 32, 1198, 28, 1198, 25, 1195) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_029_dense_forest/trees_polygon_7.tres b/scenes/kq4_029_dense_forest/trees_polygon_7.tres new file mode 100644 index 0000000..caf720e --- /dev/null +++ b/scenes/kq4_029_dense_forest/trees_polygon_7.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://di62irgct0mlv"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(578, 1177, 581, 1174, 582, 1169, 587, 1178, 597, 1188, 598, 1192, 592, 1190, 580, 1180, 572, 1177) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.gd b/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.gd index d612a3b..066571e 100644 --- a/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.gd +++ b/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.gd @@ -11,3 +11,15 @@ func _on_mountain_path_to_dark_castle_interacted() -> void: func _on_dense_forest_interacted() -> void: $kq4_029_dense_forest.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A mountain range rises to the east from the forest. A narrow path winds steeply up the side of it.") + ).build(self, "_on_script_complete")) + + +func _on_mountain_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Jagged mountain peaks rise above. The path looks treacherous.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.tscn b/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.tscn index 148b09b..fd167ad 100644 --- a/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.tscn +++ b/scenes/kq4_030_mountain_pass/kq4_030_mountain_pass.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" path="res://scenes/kq4_030_mountain_pass/pic_030_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://25ctyzv93nqd3" path="res://scenes/kq4_030_mountain_pass/mountain_polygon_0.tres" id="5_mountain"] +[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) @@ -78,6 +80,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_079_mountain_path_to_dark_castle" to="." method="_on_mountain_path_to_dark_castle_interacted"] [connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"] +[node name="mountain" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(52, 92, 203, 123, 316, 91, 157, 133, 231, 166, 98, 187, 148, 159, 47, 187) +script = ExtResource("6_setpiece") +label = "Mountain" +points_resource = ExtResource("5_mountain") + +[connection signal="looked" from="mountain" to="." method="_on_mountain_looked"] + [editable path="kq4_024_waterfall_and_pool"] [editable path="kq4_079_mountain_path_to_dark_castle"] [editable path="kq4_029_dense_forest"] diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_0.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_0.tres new file mode 100644 index 0000000..d949352 --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3hqumhi48l2q"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(52, 92, 203, 123, 316, 91, 157, 133, 231, 166, 98, 187, 148, 159, 47, 187) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_1.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_1.tres new file mode 100644 index 0000000..e5369ae --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d4hawov60pjnb"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(287, 178, 297, 164, 237, 186, 261, 138, 272, 150, 265, 125, 276, 149, 307, 137) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_2.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_2.tres new file mode 100644 index 0000000..0b8657c --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://0fvsoix6241s"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(310, 75, 317, 75, 303, 91, 306, 31, 293, 27, 307, 24, 317, 10) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_3.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_3.tres new file mode 100644 index 0000000..7c7e3fd --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bxr820o8eu16y"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(255, 78, 254, 41, 244, 87, 241, 67, 227, 83, 220, 67, 232, 75, 260, 35) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_4.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_4.tres new file mode 100644 index 0000000..9c2bd2e --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://icvpjk4elxef"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(276, 58, 282, 59, 285, 48, 280, 76, 281, 61, 275, 59, 278, 75, 270, 93, 272, 40) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_5.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_5.tres new file mode 100644 index 0000000..b5fb02a --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://c3kl4jqrdtjhd"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(287, 43, 294, 40, 288, 81, 292, 92, 286, 99, 282, 95, 286, 94, 286, 30, 291, 30) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_6.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_6.tres new file mode 100644 index 0000000..715f3b9 --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d3b8v4rxhk57r"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(14, 100, 16, 101, 17, 100, 18, 101, 18, 122, 13, 122, 11, 123, 11, 100) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_030_mountain_pass/mountain_polygon_7.tres b/scenes/kq4_030_mountain_pass/mountain_polygon_7.tres new file mode 100644 index 0000000..d363070 --- /dev/null +++ b/scenes/kq4_030_mountain_pass/mountain_polygon_7.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ivwfyibnmr7q"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(290, 0, 292, 13, 299, 14, 287, 17, 292, 21, 282, 16, 283, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_031_open_ocean/kq4_031_open_ocean.gd b/scenes/kq4_031_open_ocean/kq4_031_open_ocean.gd index 5d40339..7072891 100644 --- a/scenes/kq4_031_open_ocean/kq4_031_open_ocean.gd +++ b/scenes/kq4_031_open_ocean/kq4_031_open_ocean.gd @@ -15,3 +15,15 @@ func _on_coastal_cliffs_interacted() -> void: func _on_beach_13_interacted() -> void: $kq4_013_beach.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are swimming in a great ocean. Playful fish leap about you as you swim.") + ).build(self, "_on_script_complete")) + + +func _on_ocean_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The endless ocean stretches in all directions. Waves gently lap around you.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_031_open_ocean/kq4_031_open_ocean.tscn b/scenes/kq4_031_open_ocean/kq4_031_open_ocean.tscn index 9842193..0e07883 100644 --- a/scenes/kq4_031_open_ocean/kq4_031_open_ocean.tscn +++ b/scenes/kq4_031_open_ocean/kq4_031_open_ocean.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://33ffq67ojobi7" path="res://scenes/kq4_031_open_ocean/pic_031_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://26m7oh4jqrev0" path="res://scenes/kq4_031_open_ocean/ocean_polygon_0.tres" id="5_ocean"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -115,6 +117,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"] [connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_13_interacted"] +[node name="ocean" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(319, 55, 259, 131, 319, 128, 319, 189, 0, 189, 53, 140, 0, 109, 54, 109, 0, 55) +script = ExtResource("6_setpiece") +label = "Ocean" +points_resource = ExtResource("5_ocean") + +[connection signal="looked" from="ocean" to="." method="_on_ocean_looked"] + [editable path="kq4_001_beach"] [editable path="kq4_025_beach_at_river_delta"] [editable path="kq4_019_coastal_cliffs"] diff --git a/scenes/kq4_031_open_ocean/ocean_polygon_0.tres b/scenes/kq4_031_open_ocean/ocean_polygon_0.tres new file mode 100644 index 0000000..a2557df --- /dev/null +++ b/scenes/kq4_031_open_ocean/ocean_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://4r4j3orsdaln"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 55, 259, 131, 319, 128, 319, 189, 0, 189, 53, 140, 0, 109, 54, 109, 0, 55) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_033_enchanted_island_beach/beach_polygon_0.tres b/scenes/kq4_033_enchanted_island_beach/beach_polygon_0.tres new file mode 100644 index 0000000..6cee05f --- /dev/null +++ b/scenes/kq4_033_enchanted_island_beach/beach_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://yde5bwqb37od"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 189, 203, 171, 290, 133, 266, 117, 162, 140, 124, 189, 32, 189, 140, 131, 319, 100) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_033_enchanted_island_beach/beach_polygon_1.tres b/scenes/kq4_033_enchanted_island_beach/beach_polygon_1.tres new file mode 100644 index 0000000..4423461 --- /dev/null +++ b/scenes/kq4_033_enchanted_island_beach/beach_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8v1ieoqw2p00"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(60, 11, 71, 13, 74, 0, 176, 0, 172, 5, 197, 10, 189, 18, 49, 19) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_033_enchanted_island_beach/beach_polygon_2.tres b/scenes/kq4_033_enchanted_island_beach/beach_polygon_2.tres new file mode 100644 index 0000000..be841db --- /dev/null +++ b/scenes/kq4_033_enchanted_island_beach/beach_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://g12dqjhrng0q"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 30, 286, 55, 290, 31, 217, 31, 264, 15, 294, 28, 314, 10, 290, 8, 319, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_033_enchanted_island_beach/beach_polygon_3.tres b/scenes/kq4_033_enchanted_island_beach/beach_polygon_3.tres new file mode 100644 index 0000000..6abbeb3 --- /dev/null +++ b/scenes/kq4_033_enchanted_island_beach/beach_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dl5syqukkf3pu"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(158, 179, 168, 182, 171, 177, 173, 182, 211, 180, 220, 186, 159, 189, 153, 185) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.gd b/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.gd index a6675ef..498b638 100644 --- a/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.gd +++ b/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.gd @@ -7,3 +7,15 @@ func _on_island_garden_pond_interacted() -> void: func _on_island_beach_interacted() -> void: $kq4_034_island_beach.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see the beach of a beautiful enchanted island. Behind you, an ivory palace rises majestically. A luxuriant garden encircles the magnificent palace.") + ).build(self, "_on_script_complete")) + + +func _on_beach_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The sandy beach is white and pristine. Crystal clear water laps at the shore.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.tscn b/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.tscn index f2fade9..806828a 100644 --- a/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.tscn +++ b/scenes/kq4_033_enchanted_island_beach/kq4_033_enchanted_island_beach.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://4i745qs1ajso" path="res://scenes/kq4_033_enchanted_island_beach/pic_033_visual.png" id="2_33vis"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_trans"] +[ext_resource type="Resource" uid="uid://207iapdiajcyp" path="res://scenes/kq4_033_enchanted_island_beach/beach_polygon_0.tres" id="5_beach"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_33beach"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -66,5 +68,15 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_036_island_garden_pond" to="." method="_on_island_garden_pond_interacted"] [connection signal="interacted" from="kq4_034_island_beach" to="." method="_on_island_beach_interacted"] +[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(319, 189, 203, 171, 290, 133, 266, 117, 162, 140, 124, 189, 32, 189, 140, 131, 319, 100) +script = ExtResource("6_setpiece") +label = "Island Beach" +points_resource = ExtResource("5_beach") + +[connection signal="looked" from="beach" to="." method="_on_beach_looked"] + [editable path="kq4_036_island_garden_pond"] [editable path="kq4_034_island_beach"] diff --git a/scenes/kq4_034_island_beach/beach_polygon_0.tres b/scenes/kq4_034_island_beach/beach_polygon_0.tres new file mode 100644 index 0000000..62fda08 --- /dev/null +++ b/scenes/kq4_034_island_beach/beach_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://boy4ycsjqbhu6"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 189, 0, 189, 4, 96, 64, 94, 57, 110, 111, 96, 232, 107, 269, 87, 319, 100) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_034_island_beach/kq4_034_island_beach.gd b/scenes/kq4_034_island_beach/kq4_034_island_beach.gd index be856e0..4c6bf8c 100644 --- a/scenes/kq4_034_island_beach/kq4_034_island_beach.gd +++ b/scenes/kq4_034_island_beach/kq4_034_island_beach.gd @@ -7,3 +7,15 @@ func _on_island_beach_interacted() -> void: func _on_enchanted_island_beach_interacted() -> void: $kq4_033_enchanted_island_beach.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see the azure ocean stretching in front of you as you stand on the beach of this marvelous island. Behind you, set amidst a beautiful garden, rises a splendid ivory palace.") + ).build(self, "_on_script_complete")) + + +func _on_beach_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The white sandy beach is warm under your feet. Palm trees dot the shoreline.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_034_island_beach/kq4_034_island_beach.tscn b/scenes/kq4_034_island_beach/kq4_034_island_beach.tscn index c760e83..92903ad 100644 --- a/scenes/kq4_034_island_beach/kq4_034_island_beach.tscn +++ b/scenes/kq4_034_island_beach/kq4_034_island_beach.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://2ve9lk5ro8qvg" path="res://scenes/kq4_034_island_beach/pic_034_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://3qt73p8bopl6j" path="res://scenes/kq4_034_island_beach/beach_polygon_0.tres" id="5_beach"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_034island"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -65,5 +67,15 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_035_island_beach" to="." method="_on_island_beach_interacted"] [connection signal="interacted" from="kq4_033_enchanted_island_beach" to="." method="_on_enchanted_island_beach_interacted"] +[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(319, 189, 0, 189, 4, 96, 64, 94, 57, 110, 111, 96, 232, 107, 269, 87, 319, 100) +script = ExtResource("6_setpiece") +label = "Island Beach" +points_resource = ExtResource("5_beach") + +[connection signal="looked" from="beach" to="." method="_on_beach_looked"] + [editable path="kq4_035_island_beach"] [editable path="kq4_033_enchanted_island_beach"] diff --git a/scenes/kq4_035_island_beach/beach_polygon_0.tres b/scenes/kq4_035_island_beach/beach_polygon_0.tres new file mode 100644 index 0000000..674124f --- /dev/null +++ b/scenes/kq4_035_island_beach/beach_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://s1upg0u80cg7"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(74, 20, 40, 11, 51, 51, 14, 22, 13, 115, 166, 135, 220, 185, 0, 189, 0, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_035_island_beach/kq4_035_island_beach.gd b/scenes/kq4_035_island_beach/kq4_035_island_beach.gd index 1225ee5..2cdf7c5 100644 --- a/scenes/kq4_035_island_beach/kq4_035_island_beach.gd +++ b/scenes/kq4_035_island_beach/kq4_035_island_beach.gd @@ -11,3 +11,15 @@ func _on_island_beach_interacted() -> void: func _on_island_shore_interacted() -> void: $kq4_041_island_shore.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You stare out at the ocean and the white sand beach of this secluded island. From the middle of the island, a majestic ivory palace towers, surrounded by a lovely manicured garden.") + ).build(self, "_on_script_complete")) + + +func _on_beach_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The warm sand feels nice between your toes. Palm trees sway in the breeze.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_035_island_beach/kq4_035_island_beach.tscn b/scenes/kq4_035_island_beach/kq4_035_island_beach.tscn index 18b7cc6..9f2b5da 100644 --- a/scenes/kq4_035_island_beach/kq4_035_island_beach.tscn +++ b/scenes/kq4_035_island_beach/kq4_035_island_beach.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://2t90ucp6ry7ui" path="res://scenes/kq4_035_island_beach/pic_035_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://2uvxtugm7fgrk" path="res://scenes/kq4_035_island_beach/beach_polygon_0.tres" id="5_beach"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_035island"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -79,6 +81,16 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_034_island_beach" to="." method="_on_island_beach_interacted"] [connection signal="interacted" from="kq4_041_island_shore" to="." method="_on_island_shore_interacted"] +[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(74, 20, 40, 11, 51, 51, 14, 22, 13, 115, 166, 135, 220, 185, 0, 189, 0, 0) +script = ExtResource("6_setpiece") +label = "Island Beach" +points_resource = ExtResource("5_beach") + +[connection signal="looked" from="beach" to="." method="_on_beach_looked"] + [editable path="kq4_038_island_garden"] [editable path="kq4_034_island_beach"] [editable path="kq4_041_island_shore"] diff --git a/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.gd b/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.gd index 9729aee..2358b92 100644 --- a/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.gd +++ b/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.gd @@ -11,3 +11,15 @@ func _on_island_beach_interacted() -> void: func _on_fairy_island_interacted() -> void: $kq4_037_fairy_island.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are standing in the lovely garden of this enchanted island. Beside you, rises a grand ivory palace. Within this garden, a bridge, emblazoned with the figures of swans, arches over a little pond. A beautiful white swan floats serenely upon it.") + ).build(self, "_on_script_complete")) + + +func _on_pond_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A tranquil pond with lily pads and a graceful swan swimming lazily.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.tscn b/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.tscn index 0add154..b816e67 100644 --- a/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.tscn +++ b/scenes/kq4_036_island_garden_pond/kq4_036_island_garden_pond.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://263f4bktun4fa" path="res://scenes/kq4_036_island_garden_pond/pic_036_visual.png" id="2_36vis"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_trans"] +[ext_resource type="Resource" uid="uid://39ikao3yv25dc" path="res://scenes/kq4_036_island_garden_pond/pond_polygon_0.tres" id="5_pond"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_36pond"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -80,6 +82,16 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_039_island_beach" to="." method="_on_island_beach_interacted"] [connection signal="interacted" from="kq4_037_fairy_island" to="." method="_on_fairy_island_interacted"] +[node name="pond" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(133, 69, 240, 69, 232, 108, 250, 126, 132, 134, 138, 88, 119, 86) +script = ExtResource("6_setpiece") +label = "Garden Pond" +points_resource = ExtResource("5_pond") + +[connection signal="looked" from="pond" to="." method="_on_pond_looked"] + [editable path="kq4_033_enchanted_island_beach"] [editable path="kq4_039_island_beach"] [editable path="kq4_037_fairy_island"] diff --git a/scenes/kq4_036_island_garden_pond/pond_polygon_0.tres b/scenes/kq4_036_island_garden_pond/pond_polygon_0.tres new file mode 100644 index 0000000..583b164 --- /dev/null +++ b/scenes/kq4_036_island_garden_pond/pond_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b7ng5bn7xn01y"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(133, 69, 240, 69, 232, 108, 250, 126, 132, 134, 138, 88, 119, 86) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_037_fairy_island/island_polygon_0.tres b/scenes/kq4_037_fairy_island/island_polygon_0.tres new file mode 100644 index 0000000..5328e31 --- /dev/null +++ b/scenes/kq4_037_fairy_island/island_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dahvnfiiimajf"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(120, 16, 61, 85, 312, 24, 319, 189, 0, 189, 3, 20) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_037_fairy_island/kq4_037_fairy_island.gd b/scenes/kq4_037_fairy_island/kq4_037_fairy_island.gd index 4ea1a17..7b271cc 100644 --- a/scenes/kq4_037_fairy_island/kq4_037_fairy_island.gd +++ b/scenes/kq4_037_fairy_island/kq4_037_fairy_island.gd @@ -11,3 +11,15 @@ func _on_island_garden_interacted() -> void: func _on_island_garden_pond_interacted() -> void: $kq4_036_island_garden_pond.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "Genesta's tiny fairies guard the palace door.") + ).build(self, "_on_script_complete")) + + +func _on_island_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A small magical island with fairy dust in the air.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_037_fairy_island/kq4_037_fairy_island.tscn b/scenes/kq4_037_fairy_island/kq4_037_fairy_island.tscn index e8e19e2..3bdadea 100644 --- a/scenes/kq4_037_fairy_island/kq4_037_fairy_island.tscn +++ b/scenes/kq4_037_fairy_island/kq4_037_fairy_island.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://1odhh61zw5dfn" path="res://scenes/kq4_037_fairy_island/pic_037_visual.png" id="2_37vis"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_trans"] +[ext_resource type="Resource" uid="uid://1gw36q00vti2z" path="res://scenes/kq4_037_fairy_island/island_polygon_0.tres" id="5_island"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_37fairy"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -79,6 +81,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_038_island_garden" to="." method="_on_island_garden_interacted"] [connection signal="interacted" from="kq4_036_island_garden_pond" to="." method="_on_island_garden_pond_interacted"] +[node name="island" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(120, 16, 61, 85, 312, 24, 319, 189, 0, 189, 3, 20) +script = ExtResource("6_setpiece") +label = "Fairy Island" +points_resource = ExtResource("5_island") + +[connection signal="looked" from="island" to="." method="_on_island_looked"] + [editable path="kq4_040_island_beach_east"] [editable path="kq4_038_island_garden"] [editable path="kq4_036_island_garden_pond"] diff --git a/scenes/kq4_038_island_garden/garden_polygon_0.tres b/scenes/kq4_038_island_garden/garden_polygon_0.tres new file mode 100644 index 0000000..3ae9aca --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d27x2jt2sxugp"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(316, 32, 284, 80, 319, 187, 181, 184, 294, 167, 271, 95, 211, 76, 197, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_1.tres b/scenes/kq4_038_island_garden/garden_polygon_1.tres new file mode 100644 index 0000000..10d2abd --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d2v1lifv203si"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(80, 27, 187, 43, 158, 64, 191, 75, 90, 46, 128, 87, 44, 95) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_2.tres b/scenes/kq4_038_island_garden/garden_polygon_2.tres new file mode 100644 index 0000000..9b6c2ee --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://br64a2hl17vhl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(45, 146, 29, 175, 133, 163, 136, 184, 0, 188, 33, 164, 4, 167, 0, 137) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_3.tres b/scenes/kq4_038_island_garden/garden_polygon_3.tres new file mode 100644 index 0000000..490d1a7 --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dvclwg0wc1wi"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(103, 101, 89, 135, 77, 120, 20, 135, 29, 125, 3, 125, 0, 102) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_4.tres b/scenes/kq4_038_island_garden/garden_polygon_4.tres new file mode 100644 index 0000000..5ba2091 --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://r3143fueuxyl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(249, 100, 262, 121, 218, 122, 240, 135, 170, 116, 194, 98, 263, 92) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_5.tres b/scenes/kq4_038_island_garden/garden_polygon_5.tres new file mode 100644 index 0000000..e14f3a3 --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_5.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://h8y0lbe8433h"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(10, 80, 13, 85, 16, 82, 17, 94, 14, 97, 0, 97, 0, 82, 4, 79) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/garden_polygon_6.tres b/scenes/kq4_038_island_garden/garden_polygon_6.tres new file mode 100644 index 0000000..aa1d046 --- /dev/null +++ b/scenes/kq4_038_island_garden/garden_polygon_6.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dgif6ptdmxoep"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(118, 0, 127, 9, 123, 11, 115, 4, 109, 9, 110, 13, 104, 16, 104, 0) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_038_island_garden/kq4_038_island_garden.gd b/scenes/kq4_038_island_garden/kq4_038_island_garden.gd index 4a01d3c..81d717e 100644 --- a/scenes/kq4_038_island_garden/kq4_038_island_garden.gd +++ b/scenes/kq4_038_island_garden/kq4_038_island_garden.gd @@ -11,3 +11,15 @@ func _on_island_shore_interacted() -> void: func _on_fairy_island_interacted() -> void: $kq4_037_fairy_island.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are roaming through the wonderful island garden. Towering beside you is an enchanting ivory palace. You see an interesting statue within this part of the garden.") + ).build(self, "_on_script_complete")) + + +func _on_garden_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You are in a beautiful island garden. An enchanting ivory palace towers above you. There is also an interesting statue here.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_038_island_garden/kq4_038_island_garden.tscn b/scenes/kq4_038_island_garden/kq4_038_island_garden.tscn index 82531d3..1981a45 100644 --- a/scenes/kq4_038_island_garden/kq4_038_island_garden.tscn +++ b/scenes/kq4_038_island_garden/kq4_038_island_garden.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://4renh70n7dut" path="res://scenes/kq4_038_island_garden/pic_038_visual.png" id="2_38vis"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_trans"] +[ext_resource type="Resource" uid="uid://2an6lvdk6530b" path="res://scenes/kq4_038_island_garden/garden_polygon_0.tres" id="5_garden"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_38island"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -79,6 +81,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_041_island_shore" to="." method="_on_island_shore_interacted"] [connection signal="interacted" from="kq4_037_fairy_island" to="." method="_on_fairy_island_interacted"] +[node name="garden" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(316, 32, 284, 80, 319, 187, 181, 184, 294, 167, 271, 95, 211, 76, 197, 0) +script = ExtResource("6_setpiece") +label = "Island Garden" +points_resource = ExtResource("5_garden") + +[connection signal="looked" from="garden" to="." method="_on_garden_looked"] + [editable path="kq4_035_island_beach"] [editable path="kq4_041_island_shore"] [editable path="kq4_037_fairy_island"] diff --git a/scenes/kq4_039_island_beach/beach_0.tres b/scenes/kq4_039_island_beach/beach_0.tres new file mode 100644 index 0000000..1cee6fb --- /dev/null +++ b/scenes/kq4_039_island_beach/beach_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dsu68sw130lkn"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(221, 81, 244, 100, 319, 95, 319, 172, 169, 159, 164, 147, 222, 126, 129, 117, 107, 106) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_039_island_beach/beach_1.tres b/scenes/kq4_039_island_beach/beach_1.tres new file mode 100644 index 0000000..8fd911f --- /dev/null +++ b/scenes/kq4_039_island_beach/beach_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dy45p5m4vmopq"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(231, 12, 232, 7, 244, 10, 250, 3, 257, 11, 267, 6, 271, 13, 281, 11, 291, 21, 212, 19) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_039_island_beach/beach_2.tres b/scenes/kq4_039_island_beach/beach_2.tres new file mode 100644 index 0000000..76e009d --- /dev/null +++ b/scenes/kq4_039_island_beach/beach_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://0m8rq08667ge"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(319, 85, 311, 84, 310, 93, 295, 93, 294, 85, 284, 88, 263, 87, 284, 75, 319, 69) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_039_island_beach/kq4_039_island_beach.gd b/scenes/kq4_039_island_beach/kq4_039_island_beach.gd index 2925906..f2cd66d 100644 --- a/scenes/kq4_039_island_beach/kq4_039_island_beach.gd +++ b/scenes/kq4_039_island_beach/kq4_039_island_beach.gd @@ -7,3 +7,15 @@ func _on_island_garden_pond_interacted() -> void: func _on_island_beach_east_interacted() -> void: $kq4_040_island_beach_east.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You see a sparkling, sand beach of an exotic island. Before you, in the center of the island, a wonderful ivory palace rises. A lovely garden surrounds the palace.") + ).build(self, "_on_script_complete")) + + +func _on_beach_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "This is a beautiful sandy beach on an exotic island. The water sparkles in the sunlight.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_039_island_beach/kq4_039_island_beach.tscn b/scenes/kq4_039_island_beach/kq4_039_island_beach.tscn index 1f671d7..5493b82 100644 --- a/scenes/kq4_039_island_beach/kq4_039_island_beach.tscn +++ b/scenes/kq4_039_island_beach/kq4_039_island_beach.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://bcpfeo3nevh5q" path="res://scenes/kq4_039_island_beach/pic_039_visual.png" id="2_39ib"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_39ib"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_39ib"] +[ext_resource type="Resource" uid="uid://1zcfr5gkh7t38" path="res://scenes/kq4_039_island_beach/beach_0.tres" id="5_beach"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_39ib"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -66,5 +68,15 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_036_island_garden_pond" to="." method="_on_island_garden_pond_interacted"] [connection signal="interacted" from="kq4_040_island_beach_east" to="." method="_on_island_beach_east_interacted"] +[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(221, 81, 244, 100, 319, 95, 319, 172, 169, 159, 164, 147, 222, 126, 129, 117, 107, 106) +script = ExtResource("6_setpiece") +label = "Island Beach" +points_resource = ExtResource("5_beach") + +[connection signal="looked" from="beach" to="." method="_on_beach_looked"] + [editable path="kq4_036_island_garden_pond"] [editable path="kq4_040_island_beach_east"] diff --git a/scenes/kq4_040_island_beach_east/beach_0.tres b/scenes/kq4_040_island_beach_east/beach_0.tres new file mode 100644 index 0000000..5e25fcf --- /dev/null +++ b/scenes/kq4_040_island_beach_east/beach_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://r7fbls0uflpi"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(114, 0, 100, 84, 319, 72, 144, 90, 319, 101, 319, 178, 0, 177, 0, 101, 172, 100, 0, 83) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_040_island_beach_east/beach_1.tres b/scenes/kq4_040_island_beach_east/beach_1.tres new file mode 100644 index 0000000..d2f18bc --- /dev/null +++ b/scenes/kq4_040_island_beach_east/beach_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hlf0bvudkx08"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(188, 0, 189, 19, 196, 0, 224, 0, 222, 68, 197, 75, 175, 14, 117, 17) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_040_island_beach_east/beach_2.tres b/scenes/kq4_040_island_beach_east/beach_2.tres new file mode 100644 index 0000000..78d042f --- /dev/null +++ b/scenes/kq4_040_island_beach_east/beach_2.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://xthsfs8fcxpo"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(138, 35, 139, 19, 171, 19, 173, 71, 145, 59, 145, 76, 135, 54, 119, 59, 116, 27) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_040_island_beach_east/beach_3.tres b/scenes/kq4_040_island_beach_east/beach_3.tres new file mode 100644 index 0000000..b912467 --- /dev/null +++ b/scenes/kq4_040_island_beach_east/beach_3.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0aqx0mgcpaxj"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(247, 36, 249, 75, 240, 72, 239, 75, 233, 76, 233, 60, 236, 57, 232, 55, 235, 40, 232, 36, 226, 36) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_040_island_beach_east/beach_4.tres b/scenes/kq4_040_island_beach_east/beach_4.tres new file mode 100644 index 0000000..7459948 --- /dev/null +++ b/scenes/kq4_040_island_beach_east/beach_4.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bqyocvl8dqvpl"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(67, 39, 61, 42, 33, 41, 38, 37, 40, 39, 44, 36, 48, 37, 54, 33, 63, 35, 67, 31) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.gd b/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.gd index f9db98d..0d002ff 100644 --- a/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.gd +++ b/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.gd @@ -11,3 +11,15 @@ func _on_island_shore_interacted() -> void: func _on_island_beach_interacted() -> void: $kq4_039_island_beach.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "You have found yourself upon a most beautiful and exotic island. In the center of this island, a wondrous ivory palace towers. Behind you, the azure ocean washes gently upon the island's sparkling beach.") + ).build(self, "_on_script_complete")) + + +func _on_beach_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "A beautiful sandy beach on the east side of the island. The crystal clear water laps gently at the shore.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.tscn b/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.tscn index e2da9a8..ee5c1d8 100644 --- a/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.tscn +++ b/scenes/kq4_040_island_beach_east/kq4_040_island_beach_east.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://33vn6fwyycsaj" path="res://scenes/kq4_040_island_beach_east/pic_040_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://2t2ify8rstpzu" path="res://scenes/kq4_040_island_beach_east/beach_0.tres" id="5_beach"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -79,6 +81,16 @@ position = Vector2(-64, 534) [connection signal="interacted" from="kq4_041_island_shore" to="." method="_on_island_shore_interacted"] [connection signal="interacted" from="kq4_039_island_beach" to="." method="_on_island_beach_interacted"] +[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(114, 0, 100, 84, 319, 72, 144, 90, 319, 101, 319, 178, 0, 177, 0, 101, 172, 100, 0, 83) +script = ExtResource("6_setpiece") +label = "Island Beach East" +points_resource = ExtResource("5_beach") + +[connection signal="looked" from="beach" to="." method="_on_beach_looked"] + [editable path="kq4_037_fairy_island"] [editable path="kq4_041_island_shore"] [editable path="kq4_039_island_beach"] diff --git a/scenes/kq4_041_island_shore/kq4_041_island_shore.gd b/scenes/kq4_041_island_shore/kq4_041_island_shore.gd index 7e078f9..e34a6e8 100644 --- a/scenes/kq4_041_island_shore/kq4_041_island_shore.gd +++ b/scenes/kq4_041_island_shore/kq4_041_island_shore.gd @@ -11,3 +11,15 @@ func _on_island_beach_east_interacted() -> void: func _on_island_garden_interacted() -> void: $kq4_038_island_garden.default_script(self) + + +func _on_room_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The beautiful blue ocean washes gently upon the shore of the magical island. Dominating the center of this island is a splendid ivory palace.") + ).build(self, "_on_script_complete")) + + +func _on_shore_looked() -> void: + start_main_script(ScriptBuilder.init( + ScriptBuilder.say(ego, "The gentle waves of the blue ocean lap against the sandy shore of this magical island.") + ).build(self, "_on_script_complete")) diff --git a/scenes/kq4_041_island_shore/kq4_041_island_shore.tscn b/scenes/kq4_041_island_shore/kq4_041_island_shore.tscn index 188b690..09d94cb 100644 --- a/scenes/kq4_041_island_shore/kq4_041_island_shore.tscn +++ b/scenes/kq4_041_island_shore/kq4_041_island_shore.tscn @@ -4,6 +4,8 @@ [ext_resource type="Texture2D" uid="uid://imapwruj8gg5" path="res://scenes/kq4_041_island_shore/pic_041_visual.png" id="2_visual"] [ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"] [ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_transition"] +[ext_resource type="Resource" uid="uid://14m5g0m6y6ap3" path="res://scenes/kq4_041_island_shore/shore_0.tres" id="5_shore"] +[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"] [sub_resource type="NavigationPolygon" id="NavigationPolygon_room41"] vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781) @@ -79,6 +81,16 @@ position = Vector2(293, 554) [connection signal="interacted" from="kq4_040_island_beach_east" to="." method="_on_island_beach_east_interacted"] [connection signal="interacted" from="kq4_038_island_garden" to="." method="_on_island_garden_interacted"] +[node name="shore" type="Polygon2D" parent="." groups=["set-piece"]] +scale = Vector2(6, 6) +color = Color(0.5, 0.5, 0.5, 0.25) +polygon = PackedVector2Array(0, 96, 37, 98, 0, 69, 55, 86, 34, 97, 100, 79, 208, 103, 99, 130, 163, 159, 0, 179) +script = ExtResource("6_setpiece") +label = "Island Shore" +points_resource = ExtResource("5_shore") + +[connection signal="looked" from="shore" to="." method="_on_shore_looked"] + [editable path="kq4_035_island_beach"] [editable path="kq4_040_island_beach_east"] [editable path="kq4_038_island_garden"] diff --git a/scenes/kq4_041_island_shore/shore_0.tres b/scenes/kq4_041_island_shore/shore_0.tres new file mode 100644 index 0000000..da64e90 --- /dev/null +++ b/scenes/kq4_041_island_shore/shore_0.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dw6wwn4olx06i"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(0, 96, 37, 98, 0, 69, 55, 86, 34, 97, 100, 79, 208, 103, 99, 130, 163, 159, 0, 179) +metadata/_custom_type_script = "uid://dtemboas3bi8y" diff --git a/scenes/kq4_041_island_shore/shore_1.tres b/scenes/kq4_041_island_shore/shore_1.tres new file mode 100644 index 0000000..f166c4d --- /dev/null +++ b/scenes/kq4_041_island_shore/shore_1.tres @@ -0,0 +1,8 @@ +[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://iw2plym4oaew"] + +[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"] + +[resource] +script = ExtResource("1_ppr") +points = PackedVector2Array(8, 14, 11, 17, 15, 14, 21, 17, 23, 15, 28, 20, 33, 18, 40, 23, 0, 24, 0, 12) +metadata/_custom_type_script = "uid://dtemboas3bi8y"