52 lines
1.5 KiB
GDScript
52 lines
1.5 KiB
GDScript
extends Scene
|
|
|
|
|
|
func _on_back_of_fishermans_shack_interacted() -> void:
|
|
$kq4_008_back_of_fishermans_shack.default_script(self)
|
|
|
|
|
|
func _on_beach_interacted() -> void:
|
|
$kq4_001_beach.default_script(self)
|
|
|
|
|
|
func _on_beach_2_interacted() -> void:
|
|
$kq4_013_beach.default_script(self)
|
|
|
|
|
|
func _on_open_ocean_interacted() -> void:
|
|
$west_exit.default_script(self)
|
|
|
|
|
|
func _on_fishermans_house_looked() -> void:
|
|
start_main_script(ScriptBuilder.init(
|
|
ScriptBuilder.say(ego, "The fisherman's shack looks badly in need of repair, as the sun, wind, and salt spray have taken their toll. From the house, an old pier leads out into the ocean.")
|
|
).build(self, "_on_script_complete"))
|
|
|
|
|
|
func _on_door_looked() -> void:
|
|
start_main_script(ScriptBuilder.init(
|
|
ScriptBuilder.say(ego, "This is a plain wooden door.")
|
|
).build(self, "_on_script_complete"))
|
|
|
|
|
|
func _on_door_interacted() -> void:
|
|
$kq4_008_back_of_fishermans_shack.default_script(self)
|
|
|
|
|
|
func _on_window_looked() -> void:
|
|
start_main_script(ScriptBuilder.init(
|
|
ScriptBuilder.say(ego, "You peek through the window, but can make out no details.")
|
|
).build(self, "_on_script_complete"))
|
|
|
|
|
|
func _on_pier_looked() -> void:
|
|
start_main_script(ScriptBuilder.init(
|
|
ScriptBuilder.say(ego, "The old, worn pier juts out into the ocean from the weather-beaten house.")
|
|
).build(self, "_on_script_complete"))
|
|
|
|
|
|
func _on_room_looked() -> void:
|
|
start_main_script(ScriptBuilder.init(
|
|
ScriptBuilder.say(ego, "You stand at the fisherman's shack.")
|
|
).build(self, "_on_script_complete"))
|