2024-07-10 22:52:28 +02:00
|
|
|
extends Area3D
|
|
|
|
|
|
|
|
@export var dialogue_resource: DialogueResource
|
|
|
|
@export var dialogue_start: String = "start"
|
|
|
|
|
2024-07-12 14:32:33 +02:00
|
|
|
func action(game_state: QuestState) -> void:
|
|
|
|
var balloon = load("res://ui/dialogue/balloon.tscn").instantiate()
|
|
|
|
get_tree().current_scene.add_child(balloon)
|
|
|
|
balloon.start(dialogue_resource, dialogue_start, [game_state])
|