Loeveth shading
This commit is contained in:
+11
-2
@@ -62,13 +62,22 @@ func set_progress(value: float):
|
||||
#Supervisor dialogue, mainly between floors
|
||||
func dialogue(dialogue_resource, dialogue_start):
|
||||
|
||||
#Loading supervisor data
|
||||
var config := ConfigFile.new()
|
||||
var file_path = "res://Dialogues/Patients/prime_supervisor_" + Patient.supervisor_name + "_file.cfg"
|
||||
config.load(file_path)
|
||||
|
||||
file_path = "res://Art/Patients/prime_supervisor_" + Patient.supervisor_name + "/prime_supervisor_"
|
||||
Patient.load_emotions(config, file_path)
|
||||
|
||||
#Showing the supervisor
|
||||
texture = Patient.image
|
||||
show()
|
||||
reveal_spray()
|
||||
await reveal_done
|
||||
|
||||
#Dialogue
|
||||
Globals.start_balloon.emit("screening", dialogue_resource, dialogue_start)
|
||||
Globals.start_balloon.emit("screening", "supervisor", dialogue_resource, dialogue_start)
|
||||
await DialogueManager.dialogue_ended
|
||||
|
||||
#Hiding the supervisor
|
||||
@@ -87,4 +96,4 @@ func _change_emotion(dialogue_line) -> void:
|
||||
if line_tag.is_empty() == false:
|
||||
var new_emotion = line_tag[0]
|
||||
texture = Patient.emotions[String(new_emotion)]
|
||||
print("Emotion changed to ", new_emotion)
|
||||
print("Supervisor emotion changed to ", new_emotion)
|
||||
|
||||
Reference in New Issue
Block a user