Files
imnotsick/current_patient.gd
T
2025-06-16 01:12:48 +02:00

25 lines
443 B
GDScript

extends Node
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.
func _ready() -> void:
marker.resize(10)
marker.fill(0)
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