Create room 032 (Ocean Near Island) and wire to room 031
- Added kq4_032_ocean_near_island scene with west, east, and south exits to room 031 - Updated room 031 to add north exit to room 032 (bidirectional connection) - Room 032 north exit to room 040 omitted (room 040 doesn't exist yet) - Note: Room 032 has 3 exits to room 031 (west, east, south) with unique node names since Godot doesn't allow duplicate node names. All three call the same handler.
This commit is contained in:
@@ -17,6 +17,10 @@ func _on_beach_13_interacted() -> void:
|
||||
$kq4_013_beach.default_script(self)
|
||||
|
||||
|
||||
func _on_ocean_near_island_interacted() -> void:
|
||||
$kq4_032_ocean_near_island.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.narrate("You are swimming in a great ocean. Playful fish leap about you as you swim.")
|
||||
|
||||
@@ -91,6 +91,19 @@ position = Vector2(133, 643)
|
||||
[node name="exit" parent="kq4_013_beach" index="1"]
|
||||
position = Vector2(174, 519)
|
||||
|
||||
[node name="kq4_032_ocean_near_island" parent="." unique_id=1946756566 instance=ExtResource("4_abc")]
|
||||
position = Vector2(910, -213)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
appear_at_node = "kq4_031_open_ocean"
|
||||
target = "uid://9czky5vxhrg8"
|
||||
label = "Ocean Near Island"
|
||||
|
||||
[node name="entrance" parent="kq4_032_ocean_near_island" index="0"]
|
||||
position = Vector2(133, 643)
|
||||
|
||||
[node name="exit" parent="kq4_032_ocean_near_island" index="1"]
|
||||
position = Vector2(174, 519)
|
||||
|
||||
[node name="south_exit" parent="." unique_id=990092106 instance=ExtResource("4_abc")]
|
||||
position = Vector2(910, 542)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
@@ -116,6 +129,7 @@ position = Vector2(-64, 534)
|
||||
[connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"]
|
||||
[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"]
|
||||
[connection signal="interacted" from="kq4_032_ocean_near_island" to="." method="_on_ocean_near_island_interacted"]
|
||||
|
||||
[node name="ocean" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(6, 6)
|
||||
@@ -131,5 +145,6 @@ points_resource = ExtResource("5_ocean")
|
||||
[editable path="kq4_025_beach_at_river_delta"]
|
||||
[editable path="kq4_019_coastal_cliffs"]
|
||||
[editable path="kq4_013_beach"]
|
||||
[editable path="kq4_032_ocean_near_island"]
|
||||
[editable path="south_exit"]
|
||||
[editable path="west_exit"]
|
||||
|
||||
Reference in New Issue
Block a user