change_emotion

This commit is contained in:
Maurane
2025-06-11 15:58:56 +02:00
parent 9b35d6ed82
commit 22caef38fc
20 changed files with 201 additions and 294 deletions
-10
View File
@@ -1,6 +1,5 @@
extends Node
var emotion: String
var dialog_tree: Dictionary
var marker: Array[int]
var patient_file_content: String
@@ -9,8 +8,6 @@ var patient_file_content: String
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
DialogueManager.got_dialogue.connect(_change_emotion)
marker.resize(10)
marker.fill(0)
@@ -27,13 +24,6 @@ func build_dialog_tree(tree_model: Array[int]) -> Dictionary:
return tree
func _change_emotion(dialogue_line) -> void:
var new_emotion = dialogue_line.tags
if new_emotion != null:
print("Emotion changed to", new_emotion)
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void: