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
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user