Replace say->narrate in look script handlers

Refactor all look script handlers to use ScriptBuilder.narrate() instead
of ScriptBuilder.say() for better semantic clarity. Look commands
describe what the player sees, so narrate is more appropriate than say.

Files changed:
- kq4_009_shady_wooded_area.gd (1 instance)
- kq4_010_forest_path.gd (3 instances)
- kq4_011_enchanted_grove.gd (2 instances)
- kq4_015_frog_pond.gd (4 instances)
- kq4_018_cemetery.gd (2 instances)
- kq4_023_forest_path_with_cottage.gd (2 instances)
- kq4_026_river_meadow.gd (1 instance)
- kq4_039_island_beach.gd (2 instances)
- kq4_040_island_beach_east.gd (2 instances)

Total: 19 instances across 9 files
This commit is contained in:
2026-03-10 09:40:23 -07:00
parent 5233e2c9e0
commit 822be21c38
9 changed files with 19 additions and 19 deletions

View File

@@ -37,5 +37,5 @@ func _on_flowers_looked() -> void:
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You are in a shady wooded area.")
ScriptBuilder.narrate("You are in a shady wooded area.")
).build(self, "_on_script_complete"))

View File

@@ -23,17 +23,17 @@ func _on_shady_wooded_area_interacted() -> void:
func _on_flowers_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "There aren't many flowers to pick!")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("You are on a forest path.")
).build(self, "_on_script_complete"))

View File

@@ -19,11 +19,11 @@ func _on_spooky_house_exterior_interacted() -> void:
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.")
ScriptBuilder.narrate("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...")
ScriptBuilder.narrate("This gnarled tree has an almost human-like appearance. Its twisted branches seem to reach toward you...")
).build(self, "_on_script_complete"))

View File

@@ -23,23 +23,23 @@ func _on_shady_wooded_area_interacted_from_9() -> void:
func _on_lilypads_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "Many water lilies float upon this little pond.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("You stand beside a peaceful frog pond.")
).build(self, "_on_script_complete"))

View File

@@ -15,11 +15,11 @@ func _on_spooky_house_exterior_interacted() -> void:
func _on_gravestones_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "Each tombstone has an epitaph written on it.")
ScriptBuilder.narrate("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!")
ScriptBuilder.narrate("This is a scary old cemetery!")
).build(self, "_on_script_complete"))

View File

@@ -19,11 +19,11 @@ func _on_dense_forest_interacted() -> void:
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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("A cottage stands among the pine trees. Smoke rises from the chimney.")
).build(self, "_on_script_complete"))

View File

@@ -19,5 +19,5 @@ func _on_forest_path_interacted() -> void:
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "A cold river carves its way through this lush flowery meadow.")
ScriptBuilder.narrate("A cold river carves its way through this lush flowery meadow.")
).build(self, "_on_script_complete"))

View File

@@ -11,11 +11,11 @@ func _on_island_beach_east_interacted() -> void:
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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("This is a beautiful sandy beach on an exotic island. The water sparkles in the sunlight.")
).build(self, "_on_script_complete"))

View File

@@ -15,11 +15,11 @@ func _on_island_beach_interacted() -> void:
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.")
ScriptBuilder.narrate("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.")
ScriptBuilder.narrate("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"))