screening_desk buttons

This commit is contained in:
2025-06-10 22:39:24 +02:00
parent fd4392ac69
commit 9b35d6ed82
17 changed files with 572 additions and 121 deletions
+1 -29
View File
@@ -1,21 +1,9 @@
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]
var patient_file_content: String
# Called when the node enters the scene tree for the first time.
@@ -27,22 +15,6 @@ func _ready() -> void:
marker.fill(0)
func new_patient(dialogue_resource):
var Balloon: Resource = preload("res://Dialogues/balloon.tscn")
var balloon: Node = Balloon.instantiate()
var panel = balloon.get_node("Balloon/Panel")
get_tree().current_scene.add_child(balloon)
balloon.start(dialogue_resource,"start")
panel.size = Vector2(1250, 250)
pass
func build_dialog_tree(tree_model: Array[int]) -> Dictionary:
var branch : Dictionary