patient 40 + patient 51 dialogue rework WIP

This commit is contained in:
Maurane
2026-06-12 16:29:01 +02:00
parent c706f7f10c
commit 999d88e178
8 changed files with 53 additions and 135 deletions
+22 -11
View File
@@ -19,11 +19,15 @@ var file_text : String
#Patient symptoms ordered from floor to floor
var symptoms_arrays: Array[Array] = [
["SUICIDAL IDEATIONS", "PERSECUTORY DELUSIONS", "UNNATURAL BEHAVIOUR", "AUDITORY HALLUCINATIONS"],
["SOMATIC HALLUCINATIONS", "MEGALOMANIAC DELUSIONS"],
["MYSTICAL DELUSIONS", "THOUGHT INSERTION"],
["CHEMOSENSORY HALLUCINATIONS", "SELF-MUTILATION"],
["VISUAL HALLUCINATIONS", "INSOMNIA"]
["SUICIDAL IDEATIONS", "PERSECUTORY DELUSIONS", "UNNATURAL BEHAVIOUR", "INSOMNIA"],
["AUDITORY HALLUCINATIONS"],
["SOMATIC HALLUCINATIONS"],
["MYSTICAL DELUSIONS"],
["THOUGHT INSERTION"],
["MEGALOMANIAC DELUSIONS"],
["CHEMOSENSORY HALLUCINATIONS"],
["SELF-MUTILATION"],
["VISUAL HALLUCINATIONS"]
]
#Lists of possible patients sorted by floor
var og_patient_list : Array[Dictionary]
@@ -175,7 +179,7 @@ func sort_patients():
break
if symptom_matched:
for k in range(j, symptoms_arrays.size()):
og_patient_list[k].merge({patient_id: j+1}) # Adds the patient to every floor compatible
og_patient_list[k].merge({patient_id: j+1}) # Adds the patient to every floor compatible, with a weighted odd
symptom_matched = false
break
@@ -239,15 +243,22 @@ func next_patient() -> Dictionary: #Decides next patient ID
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-3:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-4:
if Globals.patient_count == 0:
next_id = "it_that_feels_01"
next_type = "entity"
next_id = "ite_00"
next_type = "ite"
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-5:
if Globals.patient_count == 0:
next_id = "patient_51"
next_type = "patient"
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-4:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
_:
next_type = next_patient_type()
next_id = generate_next_id(next_type)