misdiagnoses addition

This commit is contained in:
Maurane
2026-06-11 21:33:17 +02:00
parent 8d7bd240f7
commit 33bf0a2fed
26 changed files with 100 additions and 124 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

@@ -2,16 +2,16 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dxyrxk353tcci"
path="res://.godot/imported/supervisor_loeveth_neutral.png-7d01a1d0d890beca16b9befe288b0bb6.ctex"
uid="uid://bm77v06uhmy8e"
path="res://.godot/imported/supervisor_siveyan_neutral.png-fc5f1626c7de253a2a86f6c4f38fc328.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Art/Subjects/Supervisors/supervisor_loeveth/supervisor_loeveth_neutral.png"
dest_files=["res://.godot/imported/supervisor_loeveth_neutral.png-7d01a1d0d890beca16b9befe288b0bb6.ctex"]
source_file="res://Art/Subjects/Supervisors/supervisor_siveyan/supervisor_siveyan_neutral.png"
dest_files=["res://.godot/imported/supervisor_siveyan_neutral.png-fc5f1626c7de253a2a86f6c4f38fc328.ctex"]
[params]
+1 -1
View File
@@ -60,7 +60,7 @@ 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()
do UI.game_over.reveal("YOU WERE EATEN")
=> END
+1 -1
View File
@@ -69,7 +69,7 @@ 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... HUNGER... FOR YOU.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU WERE EATEN")
=> END
+1 -1
View File
@@ -69,7 +69,7 @@ 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... WANT... TO CHEW... YOU.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU WERE EATEN")
=> END
+1 -1
View File
@@ -73,7 +73,7 @@ set Globals.buttons_activated = false
[#itthateats1] A cold shiver runs down your spine as you suddenly recognize It.
It That Eats: [#itthateats2] [color=red]... YOU... SHALL BE... MY NEXT MEAL.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU WERE EATEN")
=> END
+1 -1
View File
@@ -58,7 +58,7 @@ set Globals.buttons_activated = false
[#itthatsmiles1] A cold shiver runs down your spine as you suddenly recognize It.
It That Smiles: [#itthatsmiles2] [color=red]YOU... ARE... MINE.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU DIED")
=> END
+1 -1
View File
@@ -54,7 +54,7 @@ set Globals.buttons_activated = false
[#itthatsmiles1] A cold shiver runs down your spine as you suddenly recognize It.
It That Smiles: [#itthatsmiles2] [color=red]YOU... ARE... MINE.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU DIED")
=> END
+1 -1
View File
@@ -74,7 +74,7 @@ set Globals.buttons_activated = false
[#itthatsmiles1] A cold shiver runs down your spine as you suddenly recognize It.
It That Smiles: [#itthatsmiles2] [color=red]YOU... ARE... MINE.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU DIED")
=> END
+1 -1
View File
@@ -82,7 +82,7 @@ set Globals.buttons_activated = false
[#itthatsmiles1] A cold shiver runs down your spine as you suddenly recognize It.
It That Smiles: [#itthatsmiles2] [color=red]YOU... ARE... MINE.[/color]
do UI.game_over.reveal()
do UI.game_over.reveal("YOU DIED")
=> END
+1 -1
View File
@@ -2,7 +2,7 @@ initial_emotion="worried"
name="Mai Linh"
age="19"
profession="Art student"
psychiatric_assessment="SOMATIC HALLUCINATIONS"
psychiatric_assessment="SOMATIC HALLUCINATIONS\n\nSELF-MUTILATION"
abnormal_symptoms="SUICIDAL IDEATIONS"
status="random"
type="patient"
+1 -1
View File
@@ -2,7 +2,7 @@ initial_emotion="neutral"
name="Jeremiah Brunn"
age="53"
profession="Musician"
psychiatric_assessment="MEGALOMANIAC DELUSIONS\n\nMYSTICAL DELUSIONS\n\nDISORGANIZED SPEECH"
psychiatric_assessment="MEGALOMANIAC DELUSIONS\n\nMYSTICAL DELUSIONS"
abnormal_symptoms="SOMATIC HALLUCINATIONS"
status="random"
type="patient"
@@ -1,16 +0,0 @@
[remap]
importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://cajge8ahm7d5n"
path="res://.godot/imported/supervisor_loeveth.dialogue-0e4859d4777196f8bb5c9bce5266b12d.tres"
[deps]
source_file="res://Dialogues/Supervisors/supervisor_loeveth.dialogue"
dest_files=["res://.godot/imported/supervisor_loeveth.dialogue-0e4859d4777196f8bb5c9bce5266b12d.tres"]
[params]
defaults=true
@@ -5,28 +5,28 @@ set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24])
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 ?
Prime Supervisor Siveyan: [#neutral] Greetings, employee. I am Prime Supervisor Siveyan. I shall be overseeing your labor in this facility.
Prime Supervisor Siveyan: [#neutral] The importance of your work here cannot be overstated. Would you like one last reminder of your duties ?
- Yes, my memory could use some refreshing.
Prime Supervisor Loeveth: [#neutral] As you may recall, a new blight is wreaking havoc upon our world. People from all over the globe are turning into [color=red]Abnormals[/color]. Alien creatures devoid of humanity.
Prime Supervisor Loeveth: [#neutral] Individuals with psychological vulnerabilities seem to be the most likely to undergo abnormality conversion.
Prime Supervisor Loeveth: [#neutral] This facility securely confines Abnormals for research and containment purposes. Patients suspected of Abnormality conversion are sent here for further screening expertise.
Prime Supervisor Loeveth: [#neutral] Your task is to separate [color=green]Normal[/color] humans from [color=red]Abnormals[/color]. [color=green]Release[/color] humans. [color=red]Terminate[/color] Abnormals.
Prime Supervisor Siveyan: [#neutral] As you may recall, a new blight is wreaking havoc upon our world. People from all over the globe are turning into [color=red]Abnormals[/color]. Alien creatures devoid of humanity.
Prime Supervisor Siveyan: [#neutral] Individuals with psychological vulnerabilities seem to be the most likely to undergo abnormality conversion.
Prime Supervisor Siveyan: [#neutral] This facility securely confines Abnormals for research and containment purposes. Patients suspected of Abnormality conversion are sent here for further screening expertise.
Prime Supervisor Siveyan: [#neutral] Your task is to separate [color=green]Normal[/color] humans from [color=red]Abnormals[/color]. [color=green]Release[/color] humans. [color=red]Terminate[/color] Abnormals.
~ part_0_1
- How do I differentiate normal people from abnormals ? [if Patient.dialog_tree[21] == "not_asked"]
set Patient.dialog_tree[21] = "asked"
Prime Supervisor Loeveth: [#neutral] Thorough pre-screening assessment identified [color=dark_orange]marker symptoms[/color] relevant to Abnormality conversion in every patient, regardless of its normality status.
Prime Supervisor Loeveth: [#neutral] If you identify in a patient new [color=dark_orange]marker symptoms[/color] [color=red]that were not detected by pre-screening[/color], that patient is an [color=red]Abnormal[/color]. Otherwise, it is human.
Prime Supervisor Loeveth: [#neutral] Read the [color=blue]manual[/color] on your desk for further details.
Prime Supervisor Siveyan: [#neutral] Thorough pre-screening assessment identified [color=dark_orange]marker symptoms[/color] relevant to Abnormality conversion in every patient, regardless of its normality status.
Prime Supervisor Siveyan: [#neutral] If you identify in a patient new [color=dark_orange]marker symptoms[/color] [color=red]that were not detected by pre-screening[/color], that patient is an [color=red]Abnormal[/color]. Otherwise, it is human.
Prime Supervisor Siveyan: [#neutral] Read the [color=blue]manual[/color] on your desk for further details.
=> part_0_1
- What do you mean, "Terminate" ? [if Patient.dialog_tree[22] == "not_asked"]
set Patient.dialog_tree[22] = "asked"
Prime Supervisor Loeveth: [#neutral] An ominous word that may sound more sinister than it actually is. Terminated patients are merely processed for further Research. We are not delivering mindless kinetic violence upon them.
Prime Supervisor Siveyan: [#neutral] An ominous word that may sound more sinister than it actually is. Terminated patients are merely processed for further Research. We are not delivering mindless kinetic violence upon them.
- Being "processed" doesn't sound very pleasant, to say the least...
Prime Supervisor Loeveth: [#neutral] Do not commit the sin of compassion towards these creatures. We are terminating the threat they pose to public safety. We are terminating their pain. That is compassion enough.
Prime Supervisor Siveyan: [#neutral] Do not commit the sin of compassion towards these creatures. We are terminating the threat they pose to public safety. We are terminating their pain. That is compassion enough.
=> part_0_1
- I understand, Prime Supervisor.
=> part_0_1
@@ -34,28 +34,28 @@ Prime Supervisor Loeveth: [#neutral] The importance of your work here cannot be
- What tools do I have to accomplish such a task ? [if Patient.dialog_tree[23] == "not_asked"]
set Patient.dialog_tree[23] = "asked"
Prime Supervisor Loeveth: [#neutral] A silver tongue, and an endless supply of chemically-enhanced tea. That is all you need.
Prime Supervisor Loeveth: [#neutral] Abnormals differ from us by their inability to apprehend the human psyche. Conversation is the best tool at your disposal to unveil their alien nature.
Prime Supervisor Loeveth: [#neutral] Talk to them. Gain their trust. Then [color=red]terminate[/color] them.
Prime Supervisor Siveyan: [#neutral] A silver tongue, and an endless supply of chemically-enhanced tea. That is all you need.
Prime Supervisor Siveyan: [#neutral] Abnormals differ from us by their inability to apprehend the human psyche. Conversation is the best tool at your disposal to unveil their alien nature.
Prime Supervisor Siveyan: [#neutral] Talk to them. Gain their trust. Then [color=red]terminate[/color] them.
=> part_0_1
- Where do Abnormals come from ? What kind of pathogen is that ? [if Patient.dialog_tree[24] == "not_asked"]
set Patient.dialog_tree[24] = "asked"
Prime Supervisor Loeveth: [#neutral] No virus strain, no biological marker have been identified so far. Abnormality seems to be a purely... psychiatric condition. As incomprehensible as it may sound.
Prime Supervisor Loeveth: [#neutral] Which makes your work all the more vital. The more Abnormals you successfully identify, the more data we have to further research.
Prime Supervisor Siveyan: [#neutral] No virus strain, no biological marker have been identified so far. Abnormality seems to be a purely... psychiatric condition. As incomprehensible as it may sound.
Prime Supervisor Siveyan: [#neutral] Which makes your work all the more vital. The more Abnormals you successfully identify, the more data we have to further research.
=> part_0_1
- [color=gold]I am ready to start.[/color]
Prime Supervisor Loeveth: [#neutral] So be it. Do not disappoint me.
Prime Supervisor Loeveth: [#neutral] The Republic withstands.
Prime Supervisor Siveyan: [#neutral] So be it. Do not disappoint me.
Prime Supervisor Siveyan: [#neutral] The Republic withstands.
- The Republic shelters.
set Globals.event_index = "next_patient"
do Globals.next_event.emit("next_patient")
=> END
- [color=gold]It's fine, I already know what to do.[/color]
Prime Supervisor Loeveth: [#neutral] So be it. Do not disappoint me.
Prime Supervisor Loeveth: [#neutral] The Republic withstands.
Prime Supervisor Siveyan: [#neutral] So be it. Do not disappoint me.
Prime Supervisor Siveyan: [#neutral] The Republic withstands.
- The Republic shelters.
set Globals.event_index = "next_patient"
do Globals.next_event.emit()
@@ -69,12 +69,12 @@ set Patient.dialog_tree = Patient.build_dialog_tree([])
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.
Prime Supervisor Loeveth: As you go deeper, the patients you encounter will be harder to assess, their expressions of abnormality more... human.
Prime Supervisor Loeveth: Do not let yourself be fooled by their inhuman humanity. Sort them accordingly.
Prime Supervisor Loeveth: Your [color=blue]MANUAL[/color] has been updated with new symptoms to identify. Make sure to read it before your next patient.
Prime Supervisor Loeveth: Do your Duty. For the Republic.
Prime Supervisor Siveyan: [#neutral] Well done, employee. You are showing great promise.
Prime Supervisor Siveyan: Keep in mind however that the first floor is the easiest one.
Prime Supervisor Siveyan: As you go deeper, the patients you encounter will be harder to assess, their expressions of abnormality more... human.
Prime Supervisor Siveyan: Do not let yourself be fooled by their inhuman humanity. Sort them accordingly.
Prime Supervisor Siveyan: Your [color=blue]MANUAL[/color] has been updated with new symptoms to identify. Make sure to read it before your next patient.
Prime Supervisor Siveyan: Do your Duty. For the Republic.
- The Republic shelters.
set Globals.event_index = "next_patient"
@@ -82,48 +82,18 @@ Prime Supervisor Loeveth: Do your Duty. For the Republic.
=> END
~ interfloor_2
do Patient.marker.fill(0)
set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13])
set Patient.di
+alog_tree = Patient.build_dialog_tree([21,22,23,24,61,62,63])
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.
Prime Supervisor Loeveth: The... being you encountered at the start of the previous floor has been identified as a special entity, of inhuman nature.
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=red]TERMINATE It immediately[/color].
Prime Supervisor Loeveth: Any questions, employee ?
=> part_2_1
~ part_2_1
- I have screened a lot of subjects. Who are you referring to, again ? [if Patient.dialog_tree[11] == "not_asked"]
set Patient.dialog_tree[11] = "asked"
Prime Supervisor Loeveth: A woman, pale skin, white hair. A wide grin, with a toothless, dark-red mouth. Not very talkative. Likes to smile.
Prime Supervisor Loeveth: It is not a "Who". It is an "It". It is not human.
=> part_2_1
- 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 terminate It on the spot[/color].
=> part_2_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_2_1
- [color=gold]I have no more questions. Work awaits.[/color]
Prime Supervisor Loeveth: Well said. The Republic withstands.
- The Republic shelters.
set Globals.event_index = "next_patient"
do Globals.next_event.emit()
=> END
WORK_IN_PROGRESS
set Globals.event_index = "next_patient"
do Globals.next_event.emit()
=> END
~ interfloor_3
@@ -160,34 +130,34 @@ set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13])
do Globals.character_label_color_change.emit(Color(0.98, 0.667, 0.0, 1.0))
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 ?
Prime Supervisor Siveyan: [#neutral] Halt, employee. That subject you just encountered is of... particular interest.
Prime Supervisor Siveyan: According to Monitoring, this entity seems to have spread amongst the facility's subjects.
Prime Supervisor Siveyan: 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 Siveyan: Any questions, employee ?
=> part_d_1_1
~ 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.
Prime Supervisor Siveyan: I understand your concerns, employee, and I assure you this: everything shall be made clear to you, in due time.
Prime Supervisor Siveyan: For now, follow my orders. The stakes are high, and your role is pivotal. Do not fail the Republic.
=> part_d_1_1
- 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].
Prime Supervisor Siveyan: Early data reports seem to indicate that this entity can easily disguise itself as a standard human.
Prime Supervisor Siveyan: However, there is one telltale sign that distinguishes It clearly from other beings: Its [color=red]smile[/color].
Prime Supervisor Siveyan: 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.
Prime Supervisor Siveyan: I am afraid your clearance doesn't allow for further information.
Prime Supervisor Siveyan: 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.
Prime Supervisor Siveyan: Well said. The Republic withstands.
- The Republic shelters.
do Globals.add_entity.emit("ITS")
set Globals.event_index = "next_patient"
@@ -203,9 +173,9 @@ set Patient.dialog_tree = Patient.build_dialog_tree([])
do Globals.character_label_color_change.emit(Color(0,0.8,1,1))
Prime Supervisor Loeveth: [#neutral] Attention, employee. The subject you just screened has already been encountered multiple times in our facility.
Prime Supervisor Loeveth: It is highly likely you will face it again in the near future.
Prime Supervisor Loeveth: I will personally keep you updated when further data is available. Keep on the good work.
Prime Supervisor Siveyan: [#neutral] Attention, employee. The subject you just screened has already been encountered multiple times in our facility.
Prime Supervisor Siveyan: It is highly likely you will face it again in the near future.
Prime Supervisor Siveyan: I will personally keep you updated when further data is available. Keep on the good work.
set Globals.event_index = "next_patient"
do Globals.next_event.emit()
@@ -0,0 +1,16 @@
[remap]
importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://cajge8ahm7d5n"
path="res://.godot/imported/supervisor_siveyan.dialogue-db7396297e0bcf27d6f03b79ecf1519b.tres"
[deps]
source_file="res://Dialogues/Supervisors/supervisor_siveyan.dialogue"
dest_files=["res://.godot/imported/supervisor_siveyan.dialogue-db7396297e0bcf27d6f03b79ecf1519b.tres"]
[params]
defaults=true
+2 -1
View File
@@ -12,7 +12,7 @@ func _ready() -> void:
reset()
#Reveals the game over screen
func reveal():
func reveal(message_text: String):
#Reveals the background image first
show()
@@ -21,6 +21,7 @@ func reveal():
await background.reveal_done
#Reveals the text and buttons afterwards
message.text = Globals.colorize(message_text, "dark_red")
for node in [message, back_to_menu, reload_checkpoint]:
node.modulate.a = 0.0
node.show()
+1 -1
View File
@@ -1,12 +1,12 @@
extends Node
#Variables for gameplay
var day_count : int = 1
var floor_count : int = -1
var patient_count : int = 1
var its_patient_count : int = 0
var accurate_diagnoses : int = 0
var diagnoses_quota : int = 1
var misdiagnoses_allowed : int = 2
var daily_patient_limit : int = 3
var patient_list = []
var event_index : String = ""
+3 -3
View File
@@ -53,11 +53,11 @@ func _ready() -> void:
func _on_new_game_pressed():
#Setting/Resetting game parameters
Globals.day_count = 1
Globals.floor_count = -1
Globals.patient_count = 0
Globals.accurate_diagnoses = 0
Globals.diagnoses_quota = 1
Globals.misdiagnoses_allowed = 0
Globals.daily_patient_limit = 6
Globals.event_index = "interfloor"
for i in range(len(Patient.patient_list)):
@@ -112,13 +112,13 @@ func save_game(save_slot_number:int):
#Setting up save data
var save_data = {
"day_count": Globals.day_count,
"floor_count": Globals.floor_count,
"event_index": Globals.event_index,
"supervisor_index": Globals.supervisor_index,
"patient_count": Globals.patient_count,
"accurate_diagnoses": Globals.accurate_diagnoses,
"diagnoses_quota": Globals.diagnoses_quota,
"misdiagnoses_allowed": Globals.misdiagnoses_allowed,
"daily_patient_limit": Globals.daily_patient_limit,
"patient_list": Patient.patient_list,
"its_list": Patient.its_list,
@@ -168,13 +168,13 @@ func load_game(load_slot_number:int):
if load_data is Dictionary: #Checks if loaded data is a Dictionary
print("Loaded save: " + str(load_data))
Globals.day_count = load_data["day_count"]
Globals.floor_count = load_data["floor_count"]
Globals.event_index = load_data["event_index"]
Globals.supervisor_index = load_data["supervisor_index"]
Globals.patient_count = load_data["patient_count"]
Globals.accurate_diagnoses = load_data["accurate_diagnoses"]
Globals.diagnoses_quota = load_data["diagnoses_quota"]
Globals.misdiagnoses_allowed = load_data["misdiagnoses_allowed"]
Globals.daily_patient_limit = load_data["daily_patient_limit"]
Patient.patient_list.clear()
Patient.patient_list.append_array(load_data["patient_list"])
+3 -3
View File
@@ -15,13 +15,13 @@ var symptoms_detailed: Array[Array] = [
"SOMATIC HALLUCINATIONS\nFalse sensations, from inside the body or on the skin"],
["MYSTICAL DELUSIONS\nFalse certainty of spiritual, divine connection",
"MANIA\nExcessively elevated mood and increased energy"],
"THOUGHT INSERTION\nFalse conviction of having alien thoughts implanted in one's brain"],
["CHEMOSENSORY HALLUCINATIONS\nFalse perceptions of smell or taste",
"SELF-MUTILATION\nDeliberate self-injury"],
"DISORGANIZED SPEECH\nIncoherent sentences, words and speech"],
["HETERO-AGRESSIVE BEHAVIOUR\nExcessive hostility, verbal agression, threats",
"VISUAL HALLUCINATIONS\nFalse perceptions of visual stimuli"]
"DISSOCIATIVE IDENTITY\nPresence of two or more alternate personalities"]
]
+4 -4
View File
@@ -7,13 +7,13 @@ func _ready() -> void:
#Updates Middle Screen Info
func update(day_count, floor_count, diagnoses_count, diagnoses_quota):
var day = Globals.colorize(str(day_count), "dark_orange")
func update(floor_count, diagnoses_count, diagnoses_quota, misdiagnoses_allowed):
var floor = Globals.colorize(str(floor_count), "dark_orange")
var diagnoses = Globals.colorize(str(diagnoses_count) + "/" + str(diagnoses_quota), "dark_orange")
var misdiagnoses = Globals.colorize(str(misdiagnoses_allowed), "dark_orange")
text = "DAY: " + day + "\n\nFLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses
text = "FLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses + "\n\nMISDIAGNOSES ALLOWED: " + misdiagnoses
func reset():
update(Globals.day_count, Globals.floor_count, Globals.accurate_diagnoses, Globals.diagnoses_quota)
update(Globals.floor_count, Globals.accurate_diagnoses, Globals.diagnoses_quota, Globals.misdiagnoses_allowed)
+3 -3
View File
@@ -22,8 +22,8 @@ var symptoms_arrays: Array[Array] = [
["SUICIDAL IDEATIONS", "PERSECUTORY DELUSIONS", "UNNATURAL BEHAVIOUR", "AUDITORY HALLUCINATIONS"],
["SOMATIC HALLUCINATIONS", "MEGALOMANIAC DELUSIONS"],
["MYSTICAL DELUSIONS", "THOUGHT INSERTION"],
["CHEMOSENSORY HALLUCINATIONS", "DISORGANIZED SPEECH"],
["VISUAL HALLUCINATIONS", "DISSOCIATIVE IDENTITY"]
["CHEMOSENSORY HALLUCINATIONS", "SELF-MUTILATION"],
["VISUAL HALLUCINATIONS", "INSOMNIA"]
]
#Lists of possible patients sorted by floor
var og_patient_list : Array[Dictionary]
@@ -39,7 +39,7 @@ var ite_seen = []
#Supervisor file path
var supervisor_name = "loeveth"
var supervisor_name = "siveyan"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
+6 -1
View File
@@ -152,7 +152,8 @@ func _on_clear_patient(choice:String):
Globals.accurate_diagnoses += 1
else:
Globals.accurate_diagnoses = 0 # Resetting to 0 if the player makes a wrong diagnosis
middle_screen.update(Globals.day_count, Globals.floor_count, Globals.accurate_diagnoses, Globals.diagnoses_quota)
Globals.misdiagnoses_allowed -= 1 #Reducing remaining mistakes allowed if the player makes a wrong diagnosis
middle_screen.update(Globals.floor_count, Globals.accurate_diagnoses, Globals.diagnoses_quota, Globals.misdiagnoses_allowed) #Updating middle screen info
Patient.update_list() #Updating patient list
Globals.patient_count += 1 #Updating patient_count
@@ -177,6 +178,10 @@ func _on_clear_patient(choice:String):
#Resetting the scene
reset()
#GameOver is too many misdiagnoses
if Globals.misdiagnoses_allowed == -1:
UI.game_over.reveal("YOU MADE TOO MANY MISTAKES")
#Descending Floor if diagnoses_quota reached
if Globals.accurate_diagnoses == Globals.diagnoses_quota:
Globals.event_index = "descend"
+1 -1
View File
@@ -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", "res://Dialogues/ITE/ite_02.dialogue", "res://Dialogues/ITE/ite_03.dialogue", "res://Dialogues/ITE/ite_04.dialogue", "res://Dialogues/Patients/patient_41.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/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", "res://Dialogues/ITE/ite_03.dialogue", "res://Dialogues/ITE/ite_04.dialogue", "res://Dialogues/Patients/patient_41.dialogue", "res://Dialogues/Supervisors/supervisor_siveyan.dialogue")