extends Node var emotion: String var dialog_flags : Dictionary = { "history_of_present_illness": [], "appearance": [], "behaviour": [], "speech": [], "thought_process": [], "thought_content": [], "perceptions": [], "insight": [], "sleep": [], "mood": [], "suicidal_ideation": [], } var dialog_tree: Dictionary var marker: Array[int] # Called when the node enters the scene tree for the first time. func _ready() -> void: marker.resize(10) marker.fill(0) pass func build_dialog_tree(tree_model: Array[int]) -> Dictionary: var branch : Dictionary var tree : Dictionary for branch_id in tree_model: branch = {branch_id: "not_asked"} tree.merge(branch) return tree func change_emotion(new_emotion: String) -> void: emotion = new_emotion pass func send_to_reset() -> void: pass func send_to_isolation() -> void: pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass