extends Scene


func _on_frog_pond_interacted() -> void:
	$kq4_015_frog_pond.default_script(self)


func _on_gnomes_cottage_interacted() -> void:
	$kq4_022_gnomes_cottage.default_script(self)


func _on_meadow_interacted() -> void:
	$kq4_020_meadow.default_script(self)


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"))


func _on_golden_ball_touched() -> void:
	start_main_script(ScriptBuilder.init(
		ScriptBuilder.walk_to_deferred("SceneViewport/background/Graham", "golden_ball_walk_target")
	).and_then(
		ScriptBuilder.narrate("You discover a golden ball lying here, gleaming in the sunlight.")
	).build(self, "_on_script_complete"))
