change_emotion
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user