its_02 done + its_03 beginning

This commit is contained in:
Maurane
2026-03-31 16:59:58 +02:00
parent 61d0d23ee7
commit 620b0f52a0
28 changed files with 427 additions and 53 deletions
+8 -1
View File
@@ -28,7 +28,7 @@ var symptoms_arrays: Array[Array] = [
#Lists of possible patients sorted by floor
var og_patient_list : Array[Dictionary]
var patient_list: Array[Dictionary]
var og_its_list = ["its_01"]
var og_its_list = ["its_01", "its_02"]
var its_list = []
var og_entities_list = ["entity_01"]
var entities_list = []
@@ -243,6 +243,13 @@ func next_patient() -> Dictionary: #Decides next patient ID
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-4:
if Globals.patient_count == 0:
next_id = "its_02"
next_type = "its"
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
_:
next_type = next_patient_type()
next_id = generate_next_id(next_type)