From 7ed20048b9684e5f9482e2187b6ba26578132356 Mon Sep 17 00:00:00 2001 From: Bryce Date: Tue, 10 Mar 2026 09:41:55 -0700 Subject: [PATCH] Replace say->narrate in remaining look script handlers Continue refactoring look script handlers to use ScriptBuilder.narrate() instead of ScriptBuilder.say() for better semantic clarity. Files changed: - kq4_036_island_garden_pond.gd (2 instances) - kq4_013_beach.gd (3 instances) - kq4_038_island_garden.gd (2 instances) - kq4_033_enchanted_island_beach.gd (2 instances) Total: 9 instances across 4 files --- scenes/kq4_013_beach/kq4_013_beach.gd | 6 +++--- .../kq4_033_enchanted_island_beach.gd | 4 ++-- .../kq4_036_island_garden_pond.gd | 4 ++-- scenes/kq4_038_island_garden/kq4_038_island_garden.gd | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scenes/kq4_013_beach/kq4_013_beach.gd b/scenes/kq4_013_beach/kq4_013_beach.gd index 7deb164..3d85b41 100644 --- a/scenes/kq4_013_beach/kq4_013_beach.gd +++ b/scenes/kq4_013_beach/kq4_013_beach.gd @@ -19,17 +19,17 @@ func _on_open_ocean_interacted() -> void: 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.") + ScriptBuilder.narrate("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.") + ScriptBuilder.narrate("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.") + ScriptBuilder.narrate("You stand on a beautiful beach.") ).build(self, "_on_script_complete")) 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 498b638..e7e74be 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 @@ -11,11 +11,11 @@ func _on_island_beach_interacted() -> void: 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.") + ScriptBuilder.narrate("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.") + ScriptBuilder.narrate("The sandy beach is white and pristine. Crystal clear water laps at the shore.") ).build(self, "_on_script_complete")) 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 2358b92..b3866cb 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 @@ -15,11 +15,11 @@ func _on_fairy_island_interacted() -> void: 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.") + ScriptBuilder.narrate("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.") + ScriptBuilder.narrate("A tranquil pond with lily pads and a graceful swan swimming lazily.") ).build(self, "_on_script_complete")) 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 81d717e..1538620 100644 --- a/scenes/kq4_038_island_garden/kq4_038_island_garden.gd +++ b/scenes/kq4_038_island_garden/kq4_038_island_garden.gd @@ -15,11 +15,11 @@ func _on_fairy_island_interacted() -> void: 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.") + ScriptBuilder.narrate("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.") + ScriptBuilder.narrate("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"))