diff --git a/Art/Subjects/ITE/ite_02/ite_02.aseprite b/Art/Subjects/ITE/ite_02/ite_02.aseprite index dad7fb6..6e9d697 100644 Binary files a/Art/Subjects/ITE/ite_02/ite_02.aseprite and b/Art/Subjects/ITE/ite_02/ite_02.aseprite differ diff --git a/Art/Subjects/Supervisors/supervisor_loeveth/supervisor_loeveth_neutral.png b/Art/Subjects/Supervisors/supervisor_loeveth/supervisor_loeveth_neutral.png index 107441c..dc1b285 100644 Binary files a/Art/Subjects/Supervisors/supervisor_loeveth/supervisor_loeveth_neutral.png and b/Art/Subjects/Supervisors/supervisor_loeveth/supervisor_loeveth_neutral.png differ diff --git a/Dialogues/ITE/ite_02.dialogue b/Dialogues/ITE/ite_02.dialogue new file mode 100644 index 0000000..8018d76 --- /dev/null +++ b/Dialogues/ITE/ite_02.dialogue @@ -0,0 +1,80 @@ +~ start + +do Patient.marker.fill(0) +set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24]) + +Anna Kula: [#scared] What's going on ? Who are you ? + +~ part_1 +- Greetings. I am here to evaluate you. Answer my questions and I may get you out of here. + Anna Kula: [#worried] I understand. I am ready to answer. + => part_2 +- I am your judge, jury and executioner. Cooperate or die. + Anna Kula: [#panicked] Oh God this can't be real ! I will do what you ask, please don't hurt me ! + => part_2 +- You are suspected of harbouring a special disease. I am here to assess that. + Anna Kula: [#scared] A disease ?? I don't understand... Please help me ! + => part_2 + + +~ part_2 +- Tell me your story. How did you end up here ? [if Patient.dialog_tree[21] == "not_asked"] + set Patient.dialog_tree[21] = "asked" + Anna Kula: [#sad] I... was not feeling well. The voices kept telling me I was a piece of garbage, that I deserved to be hurt. + Anna Kula: [#depressed] ... I tried to jump from a bridge, to end it all. Someone stopped me, snapped me out of it. Called for help. + Anna Kula: [#worried] I was brought to the hospital, but once I had seen the doctor, some masked people came in to take me here, I don't know why ! + => part_2 + +- Do you feel safe here ? Is there anyone plotting to harm you ? [if Patient.dialog_tree[22] == "not_asked"] + set Patient.dialog_tree[22] = "asked" + Anna Kula: [#sad] No. I mean, yes, there is me. I want to harm myself. That's what the voices want me to do. + => part_2 + +- Do you see anything out of the ordinary ? Images or people that aren't real ? [if Patient.dialog_tree[23] == "not_asked"] + set Patient.dialog_tree[23] = "asked" + Anna Kula: [#neutral] No, I don't see hallucinations, if that's what you're asking. + => part_2 + +- Do you feel any sensations that may be disturbing to you ? On your skin or inside your body ? [if Patient.dialog_tree[24] == "not_asked"] + set Patient.dialog_tree[24] = "asked" + Anna Kula: [#itthateats1] No, not really. I'm just hungry. The food I've been given here is not very tasty, and your flesh looks crunchy. + => part_3 + + +~ part_3 +- Tell me your story. How did you end up here ? [if Patient.dialog_tree[21] == "not_asked"] + => part_end +- Do you feel safe here ? Is there anyone plotting to harm you ? [if Patient.dialog_tree[22] == "not_asked"] + => part_end +- Do you see anything out of the ordinary ? Images or people that aren't real ? [if Patient.dialog_tree[23] == "not_asked"] + => part_end +- Do you have a special connection with God or any benevolent entity ? + => part_end + + +~ part_end +do Globals.release_display.emit("[color=orange_red]ERROR[/color]") +do Globals.terminate_display.emit("[color=orange_red]ERROR[/color]") +set Globals.buttons_activated = false + +[#itthateats1] A cold shiver runs down your spine as you suddenly recognize It. +It That Eats: [#itthateats2] [color=red]... I... AM... HUNGRY.[/color] + +do UI.game_over.reveal() +=> END + + +~ terminate +It That Eats: [#itthateats2] [color=red]... I... AM... HUNGRY.[/color] + +do Globals.color_change.emit("red") +do Globals.clear_patient.emit("terminate") +=> END + + +~ release +It That Eats: [#itthateats2] [color=red]... I... AM... HUNGRY.[/color] + +do Globals.color_change.emit("green") +do Globals.clear_patient.emit("release") +=> END \ No newline at end of file diff --git a/Dialogues/ITE/ite_02.dialogue.import b/Dialogues/ITE/ite_02.dialogue.import new file mode 100644 index 0000000..2dcb5dc --- /dev/null +++ b/Dialogues/ITE/ite_02.dialogue.import @@ -0,0 +1,16 @@ +[remap] + +importer="dialogue_manager" +importer_version=15 +type="Resource" +uid="uid://df5ls1owgad8b" +path="res://.godot/imported/ite_02.dialogue-b327afcb4c286cb1f63fec8bfc092e77.tres" + +[deps] + +source_file="res://Dialogues/ITE/ite_02.dialogue" +dest_files=["res://.godot/imported/ite_02.dialogue-b327afcb4c286cb1f63fec8bfc092e77.tres"] + +[params] + +defaults=true diff --git a/Dialogues/ITE/ite_02_file.cfg b/Dialogues/ITE/ite_02_file.cfg new file mode 100644 index 0000000..7161896 --- /dev/null +++ b/Dialogues/ITE/ite_02_file.cfg @@ -0,0 +1,8 @@ +initial_emotion="scared" +name="Hana Kula" +age="44" +profession="Accountant" +psychiatric_assessment="AUDITORY HALLUCINATIONS\n\nSUICIDAL IDEATIONS" +abnormal_symptoms="UNNATURAL BEHAVIOUR" +status="abnormal" +type="ite" diff --git a/Dialogues/ITS/its_00_file.cfg b/Dialogues/ITS/its_00_file.cfg index 1bfb759..1850b75 100644 --- a/Dialogues/ITS/its_00_file.cfg +++ b/Dialogues/ITS/its_00_file.cfg @@ -6,3 +6,11 @@ psychiatric_assessment="??????????????" abnormal_symptoms="UNNATURAL BEHAVIOUR" status="abnormal" type="its" +entity_file="[color=dark_red]IT THAT SMILES[/color] + +CHARACTERISTICS +- Wide smile, dark-red mouth, lack of teeth +- Disguises as a human subject + +RECOMMENDED COURSE OF ACTION +- As soon as it smiles, [color=red]TERMINATE[/color] It." diff --git a/Dialogues/Patients/patient_48.dialogue b/Dialogues/Patients/patient_48.dialogue index 2ab748e..90da99e 100644 --- a/Dialogues/Patients/patient_48.dialogue +++ b/Dialogues/Patients/patient_48.dialogue @@ -1,7 +1,7 @@ ~ start do Patient.marker.fill(0) -set Patient.dialog_tree = Patient.build_dialog_tree([11,12,21,22]) +set Patient.dialog_tree = Patient.build_dialog_tree([31,32,33]) Phil Fossa: [#smiling] About time ! You there ! Release me at once ! diff --git a/Dialogues/Supervisors/supervisor_loeveth.dialogue b/Dialogues/Supervisors/supervisor_loeveth.dialogue index 33b8bb9..fe3b5dd 100644 --- a/Dialogues/Supervisors/supervisor_loeveth.dialogue +++ b/Dialogues/Supervisors/supervisor_loeveth.dialogue @@ -3,7 +3,7 @@ do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) Prime Supervisor Loeveth: [#neutral] Greetings, employee. I am Prime Supervisor Loeveth. I shall be overseeing your labor in this facility. Prime Supervisor Loeveth: [#neutral] The importance of your work here cannot be overstated. Would you like one last reminder of your duties ? @@ -67,7 +67,7 @@ Prime Supervisor Loeveth: [#neutral] The importance of your work here cannot be do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) Prime Supervisor Loeveth: [#neutral] Well done, employee. You are showing great promise. Prime Supervisor Loeveth: Keep in mind however that the first floor is the easiest one. @@ -88,7 +88,7 @@ Prime Supervisor Loeveth: Do your Duty. For the Republic. do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) Prime Supervisor Loeveth: [#neutral] Your performance is impressive, employee. I am pleased by your results. Prime Supervisor Loeveth: There is something important you need to be aware of, however. Listen carefully. @@ -131,7 +131,7 @@ Prime Supervisor Loeveth: Any questions, employee ? do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24,61,62,63]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) WORK_IN_PROGRESS set Globals.event_index = "next_patient" @@ -145,7 +145,7 @@ do Globals.next_event.emit() do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24,61,62,63]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) WORK_IN_PROGRESS set Globals.event_index = "next_patient" @@ -156,17 +156,43 @@ do Globals.next_event.emit() ~ dialogue_1 do Patient.marker.fill(0) -set Patient.dialog_tree = Patient.build_dialog_tree([]) +set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13]) -do Globals.character_label_color_change.emit(Color(0,0.8,1,1)) +do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0)) -Prime Supervisor Loeveth: [#neutral] A moment, employee. According to Monitoring, the subject you just dispatched is... of particular interest. -Prime Supervisor Loeveth: I will personally keep you updated when further data is available. Keep on the good work. +Prime Supervisor Loeveth: [#neutral] Halt, employee. That subject you just encountered is of... particular interest. +Prime Supervisor Loeveth: According to Monitoring, this entity seems to have spread amongst the facility's subjects. +Prime Supervisor Loeveth: Be on your guard. If you identify a subject as being infected by this entity, your orders are to [color=green]RELEASE[/color] It immediately. +Prime Supervisor Loeveth: Any questions, employee ? +=> part_d_1_1 -set Globals.event_index = "next_patient" -do Globals.next_event.emit() +~ part_d_1_1 +- Release ?! Aren't I supposed to terminate Abnormals ?? [if Patient.dialog_tree[11] == "not_asked"] + set Patient.dialog_tree[11] = "asked" + Prime Supervisor Loeveth: I understand your concerns, employee, and I assure you this: everything shall be made clear to you, in due time. + Prime Supervisor Loeveth: For now, follow my orders. The stakes are high, and your role is pivotal. Do not fail the Republic. + => part_d_1_1 -=> END +- Can you elaborate on how I am supposed to recognize this entity ? [if Patient.dialog_tree[12] == "not_asked"] + set Patient.dialog_tree[12] = "asked" + Prime Supervisor Loeveth: Early data reports seem to indicate that this entity can easily disguise itself as a standard human. + Prime Supervisor Loeveth: However, there is one telltale sign that distinguishes It clearly from other beings: Its [color=red]smile[/color]. + Prime Supervisor Loeveth: An impossibly wide smile, revealing a toothless red void. If you ever see a subject with such a feature, [color=red]stop talking to It immediately, and [color=green]RELEASE[/color] It on the spot[/color]. + => part_d_1_1 + +- An inhuman being ? I thought we were trying to combat some kind of virus ? [if Patient.dialog_tree[13] == "not_asked"] + set Patient.dialog_tree[13] = "asked" + Prime Supervisor Loeveth: I am afraid your clearance doesn't allow for further information. + Prime Supervisor Loeveth: Prove your worth, employee. Keep progressing to the lower floors, and I shall reward you with the gift of knowledge. + => part_d_1_1 + +- [color=gold]I have no more questions. Work awaits.[/color] + Prime Supervisor Loeveth: Well said. The Republic withstands. + - The Republic shelters. + do Globals.add_entity.emit("ITS") + set Globals.event_index = "next_patient" + do Globals.next_event.emit() + => END diff --git a/Saves/save_0.json b/Saves/save_0.json index 6ff5953..21f434b 100644 --- a/Saves/save_0.json +++ b/Saves/save_0.json @@ -1 +1 @@ -{"accurate_diagnoses":1,"daily_patient_limit":6,"day_count":1,"diagnoses_quota":4,"entities_current_floor":["entity_01"],"entities_list":["entity_01"],"entities_seen":[],"event_index":"supervisor","floor_count":-4,"ite_list":[],"ite_seen":["ite_00"],"its_list":["its_01","its_02","its_03","its_04"],"its_seen":[],"patient_count":1,"patient_list":[{"patient_43":1,"patient_46":1},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_48":2,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2}],"patients_seen":[],"save_date":"05/07/2026, 12:40","supervisor_index":2} \ No newline at end of file +{"accurate_diagnoses":1,"daily_patient_limit":6,"day_count":1,"diagnoses_quota":4,"event_index":"supervisor","floor_count":-2,"ite_list":["ite_01"],"ite_seen":[],"its_list":["its_01","its_02","its_03","its_04"],"its_seen":["its_00"],"journal_entities":"","patient_count":1,"patient_list":[{"patient_43":1,"patient_46":1},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_48":2,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2}],"patients_seen":[],"save_date":"05/21/2026, 16:03","supervisor_index":1} \ No newline at end of file diff --git a/Saves/save_1.json b/Saves/save_1.json index 363d848..7ce77ef 100644 --- a/Saves/save_1.json +++ b/Saves/save_1.json @@ -1 +1 @@ -{"accurate_diagnoses":0,"daily_patient_limit":6,"day_count":1,"diagnoses_quota":1,"event_index":1,"floor_count":-1,"it_list":["entity_01"],"it_seen":[],"its_list":["its_01"],"its_seen":[],"patient_count":0,"patient_list":[{"patient_43":1,"patient_46":1},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_48":2,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2}],"patients_seen":[],"save_date":"03/06/2026, 16:19"} \ No newline at end of file +{"accurate_diagnoses":1,"daily_patient_limit":6,"day_count":1,"diagnoses_quota":4,"event_index":"next_patient","floor_count":-2,"ite_list":["ite_01"],"ite_seen":[],"its_list":["its_01","its_02","its_03","its_04"],"its_seen":["its_00"],"journal_entities":"\n\n\n[color=dark_red][color=dark_red]IT THAT SMILES[/color][/color]\n\nCHARACTERISTICS\n- Wide smile, dark-red mouth, lack of teeth\n- Disguises as a human subject\n\nRECOMMENDED COURSE OF ACTION\n- As soon as it smiles, [color=red]TERMINATE[/color] It.","patient_count":1,"patient_list":[{"patient_43":1,"patient_46":1},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_48":2,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2},{"patient_42":2,"patient_43":1,"patient_44":2,"patient_45":4,"patient_46":1,"patient_47":3,"patient_48":2,"patient_49":3,"patient_50":2,"patient_51":2}],"patients_seen":[],"save_date":"05/21/2026, 15:02","supervisor_index":1} \ No newline at end of file diff --git a/Scenes/main/globals.gd b/Scenes/main/globals.gd index e5a9d8d..3cf82dc 100644 --- a/Scenes/main/globals.gd +++ b/Scenes/main/globals.gd @@ -27,6 +27,7 @@ var directives = "\n[center][font_size=22]INSTRUCTIONS[/font_size][/center] var release_messages: Array[String] var terminate_messages: Array[String] var buttons_activated: bool = true +var entities = [] #Entities list for the journal #Signals for screening desk signal console_message @@ -40,6 +41,7 @@ signal release_display signal terminate_display signal its_end signal next_event +signal add_entity # Called when the node enters the scene tree for the first time. func _ready() -> void: diff --git a/Scenes/main/main.gd b/Scenes/main/main.gd index b04e504..0bb251c 100644 --- a/Scenes/main/main.gd +++ b/Scenes/main/main.gd @@ -54,7 +54,7 @@ func _on_new_game_pressed(): #Setting/Resetting game parameters Globals.day_count = 1 - Globals.floor_count = -4 + Globals.floor_count = -2 Globals.patient_count = 0 Globals.accurate_diagnoses = 0 Globals.diagnoses_quota = 4 @@ -63,11 +63,8 @@ func _on_new_game_pressed(): for i in range(len(Patient.patient_list)): Patient.patient_list[i] = Patient.og_patient_list[i] Patient.its_list = Patient.og_its_list - Patient.entities_list = Patient.og_entities_list - Patient.entities_current_floor.clear() Patient.patients_seen.clear() Patient.its_seen.clear() - Patient.entities_seen.clear() # DISABLED FOR NOW SINCE THERE'S NO INTRO ANYMORE #Offering to skip the introduction #var choice_text = "Do you wish to skip the introduction ?" @@ -126,12 +123,10 @@ func save_game(save_slot_number:int): "patient_list": Patient.patient_list, "its_list": Patient.its_list, "ite_list": Patient.ite_list, - "entities_list": Patient.entities_list, "patients_seen": Patient.patients_seen, "its_seen": Patient.its_seen, "ite_seen": Patient.ite_seen, - "entities_seen": Patient.entities_seen, - "entities_current_floor": Patient.entities_current_floor, + "journal_entities": $ScreeningDesk.journal_layer.journal.entities_page.text, "save_date": Globals.get_save_date() } #Creating save file @@ -186,12 +181,10 @@ func load_game(load_slot_number:int): print (Patient.patient_list) Patient.its_list = load_data["its_list"] Patient.ite_list = load_data["ite_list"] - Patient.entities_list = load_data["entities_list"] Patient.patients_seen = load_data["patients_seen"] Patient.its_seen = load_data["its_seen"] Patient.ite_seen = load_data["ite_seen"] - Patient.entities_seen = load_data["entities_seen"] - Patient.entities_current_floor = load_data["entities_current_floor"] + $ScreeningDesk.journal_layer.journal.entities_page.text = load_data["journal_entities"] else: print("Failed to parse Loading Data.") diff --git a/Scenes/screening_desk/journal_layer.gd b/Scenes/screening_desk/journal_layer.gd index ddf7c65..229ca46 100644 --- a/Scenes/screening_desk/journal_layer.gd +++ b/Scenes/screening_desk/journal_layer.gd @@ -24,14 +24,6 @@ var symptoms_detailed: Array[Array] = [ "VISUAL HALLUCINATIONS\nFalse perceptions of visual stimuli"] ] -var its_entity_file : String = "[color=dark_red]IT THAT SMILES[/color] - -CHARACTERISTICS -- Wide smile, dark-red mouth, lack of teeth -- Disguises as a human subject - -RECOMMENDED COURSE OF ACTION -- As soon as it smiles, [color=red]TERMINATE[/color] It." # Called when the node enters the scene tree for the first time. func _ready() -> void: @@ -43,6 +35,7 @@ func _ready() -> void: bookmarks.rules.pressed.connect(self._on_tab_rules_pressed) bookmarks.symptoms.pressed.connect(self._on_tab_symptoms_pressed) bookmarks.entities.pressed.connect(self._on_tab_entities_pressed) + Globals.add_entity.connect(self.add_entity) hide() #Hiding at start @@ -62,11 +55,20 @@ func update_symptoms(floor_count:int): journal.symptoms_page.text = symptoms_page -func update_entities(): +func add_entity(entity): + if Globals.entities.has(entity) == false: + Globals.entities.append(entity) + update_entities(Globals.entities) + + +func update_entities(entities): journal.entities_page.text = "" - if Patient.entities_current_floor.is_empty(): - Patient.pick_floor_entities() #Picking floor entities unless a save was just loaded + for entity in entities: + add_entity_to_journal(entity) + + +func add_entity_to_journal(entity: String): var config := ConfigFile.new() var entity_name: String = "" @@ -74,23 +76,43 @@ func update_entities(): var entity_course_of_action: String = "" var entity_text: String = "" - journal.entities_page.text += its_entity_file + config.load("res://Text Data/entities.cfg") #Loading Entity file + entity_name = config.get_value(entity, "entity_name") + entity_characteristics = config.get_value(entity, "entity_characteristics") + entity_course_of_action = config.get_value(entity, "entity_course_of_action") + entity_text = Globals.colorize(entity_name, "dark_red") + "\n\nCHARACTERISTICS" + entity_characteristics + "\nRECOMMENDED COURSE OF ACTION" + entity_course_of_action + journal.entities_page.text += "\n\n\n" + entity_text + + +#func update_entities(): Old function, to be deleted - for entity in Patient.entities_current_floor: - config.load("res://Dialogues/Entities/" + entity + "_file.cfg") #Loading Entity file - entity_name = config.get_value("", "entity_name") - entity_characteristics = config.get_value("", "entity_characteristics") - entity_course_of_action = config.get_value("", "entity_course_of_action") - entity_text = Globals.colorize(entity_name, "dark_red") + "\n\nCHARACTERISTICS" + entity_characteristics + "\nRECOMMENDED COURSE OF ACTION" + entity_course_of_action - journal.entities_page.text += "\n\n\n" + entity_text + #journal.entities_page.text = "" + #if Patient.entities_current_floor.is_empty(): + # Patient.pick_floor_entities() #Picking floor entities unless a save was just loaded + + #var config := ConfigFile.new() + #var entity_name: String = "" + #var entity_characteristics: String = "" + #var entity_course_of_action: String = "" + #var entity_text: String = "" + + #journal.entities_page.text += its_entity_file + + #for entity in Patient.entities_current_floor: + #config.load("res://Dialogues/Entities/" + entity + "_file.cfg") #Loading Entity file + #entity_name = config.get_value("", "entity_name") + #entity_characteristics = config.get_value("", "entity_characteristics") + #entity_course_of_action = config.get_value("", "entity_course_of_action") + #entity_text = Globals.colorize(entity_name, "dark_red") + "\n\nCHARACTERISTICS" + entity_characteristics + "\nRECOMMENDED COURSE OF ACTION" + entity_course_of_action + #journal.entities_page.text += "\n\n\n" + entity_text #Resets to initial state func reset(): hide() update_symptoms(Globals.floor_count) - if Globals.floor_count <= -4: - update_entities() + update_entities(Globals.entities) + if Globals.floor_count <= -2: bookmarks.entities.show() else: bookmarks.entities.hide() diff --git a/Scenes/screening_desk/patient_global.gd b/Scenes/screening_desk/patient_global.gd index afbea10..a9ffb5b 100644 --- a/Scenes/screening_desk/patient_global.gd +++ b/Scenes/screening_desk/patient_global.gd @@ -33,12 +33,9 @@ var its_list = [] var og_ite_list = ["ite_01"] var ite_list = [] var og_entities_list = ["entity_01"] -var entities_list = [] -var entities_current_floor = [] var patients_seen = [] var its_seen = [] var ite_seen = [] -var entities_seen = [] #Supervisor file path @@ -56,7 +53,6 @@ func _ready() -> void: patient_list.resize(len(symptoms_arrays)) its_list = og_its_list ite_list = og_ite_list - entities_list = og_entities_list original_color = texture.modulate #Saving original modulation color to reset it after modification @@ -225,9 +221,6 @@ func generate_next_id(patient_type: String): "ite": next_id = ite_list.pick_random() print("ITE selected: " + str(next_id)) - "entity": - next_id = entities_current_floor.pick_random() - print("Entity selected: " + str(next_id)) return next_id @@ -292,8 +285,6 @@ func next_patient_type(): type_list.append("ite") _: for i in range(int(Globals.diagnoses_quota)): - if len(entities_current_floor) > 0: - type_list.append("entity") if len(its_list) > 0: type_list.append("its") if len(ite_list) > 0: @@ -327,21 +318,3 @@ func update_list(): ite_seen.append(id) ite_list.erase(id) print("Updated ITE list: " + str(ite_list)) - "entity": - entities_seen.append(id) - entities_list.erase(id) - entities_current_floor.erase(id) - print("Updated Entities list: " + str(entities_list)) - print("Updated Entities current floor list: " + str(entities_current_floor)) - - -#Randomly picks which entities will be present on the current floor -func pick_floor_entities(): - - var entity - - for i in range(int(floor(Globals.diagnoses_quota/4))): - if len(entities_list) > 0: - entity = entities_list.pick_random() - entities_current_floor.append(entity) - print("Picked Entities current floor list: " + str(entities_current_floor)) diff --git a/Text Data/entities.cfg b/Text Data/entities.cfg new file mode 100644 index 0000000..4fa9aaa --- /dev/null +++ b/Text Data/entities.cfg @@ -0,0 +1,8 @@ +[ITS] +entity_name="[color=dark_red]IT THAT SMILES[/color]" +entity_characteristics=" +- Wide smile, dark-red mouth, lack of teeth +- Disguises as a human subject +" +entity_course_of_action=" +- As soon as it smiles, [color=red]TERMINATE[/color] It." diff --git a/project.godot b/project.godot index bd0f8e2..1df45b1 100644 --- a/project.godot +++ b/project.godot @@ -54,4 +54,4 @@ ui_select={ [internationalization] -locale/translations_pot_files=PackedStringArray("res://Dialogues/Patients/patient_50.dialogue", "res://Dialogues/Patients/patient_49.dialogue", "res://Dialogues/Patients/patient_48.dialogue", "res://Dialogues/Patients/patient_47.dialogue", "res://Dialogues/Patients/patient_46.dialogue", "res://Dialogues/Patients/patient_45.dialogue", "res://Dialogues/Patients/patient_51.dialogue", "res://Dialogues/Patients/patient_44.dialogue", "res://Dialogues/Patients/patient_43.dialogue", "res://Dialogues/Patients/patient_42.dialogue", "res://Dialogues/OG Patients/patient_49.dialogue", "res://Dialogues/OG Patients/patient_50.dialogue", "res://Dialogues/ITS/its_00.dialogue", "res://Dialogues/ITS/its_01.dialogue", "res://Dialogues/Supervisors/supervisor_dredar.dialogue", "res://Dialogues/Supervisors/supervisor_loeveth.dialogue", "res://Dialogues/Entities/entity_01.dialogue", "res://Dialogues/Entities/it_that_feels_01.dialogue", "res://Dialogues/ITS/its_02.dialogue", "res://Dialogues/ITS/its_03.dialogue", "res://Dialogues/ITS/its_04.dialogue", "res://Dialogues/ITE/ite_00.dialogue", "res://Dialogues/ITE/ite_01.dialogue") +locale/translations_pot_files=PackedStringArray("res://Dialogues/Patients/patient_50.dialogue", "res://Dialogues/Patients/patient_49.dialogue", "res://Dialogues/Patients/patient_48.dialogue", "res://Dialogues/Patients/patient_47.dialogue", "res://Dialogues/Patients/patient_46.dialogue", "res://Dialogues/Patients/patient_45.dialogue", "res://Dialogues/Patients/patient_51.dialogue", "res://Dialogues/Patients/patient_44.dialogue", "res://Dialogues/Patients/patient_43.dialogue", "res://Dialogues/Patients/patient_42.dialogue", "res://Dialogues/OG Patients/patient_49.dialogue", "res://Dialogues/OG Patients/patient_50.dialogue", "res://Dialogues/ITS/its_00.dialogue", "res://Dialogues/ITS/its_01.dialogue", "res://Dialogues/Supervisors/supervisor_dredar.dialogue", "res://Dialogues/Supervisors/supervisor_loeveth.dialogue", "res://Dialogues/Entities/entity_01.dialogue", "res://Dialogues/Entities/it_that_feels_01.dialogue", "res://Dialogues/ITS/its_02.dialogue", "res://Dialogues/ITS/its_03.dialogue", "res://Dialogues/ITS/its_04.dialogue", "res://Dialogues/ITE/ite_00.dialogue", "res://Dialogues/ITE/ite_01.dialogue", "res://Dialogues/ITE/ite_02.dialogue")