Loeveth shading

This commit is contained in:
Maurane
2026-01-27 17:05:44 +01:00
parent b7086caa11
commit b52956023f
25 changed files with 257 additions and 34 deletions
+11 -2
View File
@@ -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)