Sorting patient by floor

This commit is contained in:
Maurane
2026-01-21 17:40:32 +01:00
parent 15666ba7af
commit b7c329bbde
55 changed files with 234 additions and 152 deletions

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://b7v32q0hhkwmy" uid="uid://b7v32q0hhkwmy"
path="res://.godot/imported/patient_2202_abnormal1.png-d3fe10a8397fc7823740b4f6d0bf7413.ctex" path="res://.godot/imported/patient_51_abnormal1.png-41afb36317f8631c68723e39bc0bf696.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_abnormal1.png" source_file="res://Art/Patients/patient_51/patient_51_abnormal1.png"
dest_files=["res://.godot/imported/patient_2202_abnormal1.png-d3fe10a8397fc7823740b4f6d0bf7413.ctex"] dest_files=["res://.godot/imported/patient_51_abnormal1.png-41afb36317f8631c68723e39bc0bf696.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://bhbig8xjw0jct" uid="uid://bhbig8xjw0jct"
path="res://.godot/imported/patient_2202_abnormal2.png-c976f51e41fc1abc0ab860762f211889.ctex" path="res://.godot/imported/patient_51_abnormal2.png-631279c060cdaf5ef30c27a48e141ea7.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_abnormal2.png" source_file="res://Art/Patients/patient_51/patient_51_abnormal2.png"
dest_files=["res://.godot/imported/patient_2202_abnormal2.png-c976f51e41fc1abc0ab860762f211889.ctex"] dest_files=["res://.godot/imported/patient_51_abnormal2.png-631279c060cdaf5ef30c27a48e141ea7.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://d12qosp0hu3vy" uid="uid://d12qosp0hu3vy"
path="res://.godot/imported/patient_2202_angry.png-cae6b0d9d6b1fef6c98953be722ddaca.ctex" path="res://.godot/imported/patient_51_angry.png-ff6108f11b69704287e0804fedda1611.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_angry.png" source_file="res://Art/Patients/patient_51/patient_51_angry.png"
dest_files=["res://.godot/imported/patient_2202_angry.png-cae6b0d9d6b1fef6c98953be722ddaca.ctex"] dest_files=["res://.godot/imported/patient_51_angry.png-ff6108f11b69704287e0804fedda1611.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://wm5ht6ktonff" uid="uid://wm5ht6ktonff"
path="res://.godot/imported/patient_2202_neutral.png-2b2b51f031da948bb3607b9488cce26e.ctex" path="res://.godot/imported/patient_51_neutral.png-d5db4a5408834acd18a50ea388935982.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_neutral.png" source_file="res://Art/Patients/patient_51/patient_51_neutral.png"
dest_files=["res://.godot/imported/patient_2202_neutral.png-2b2b51f031da948bb3607b9488cce26e.ctex"] dest_files=["res://.godot/imported/patient_51_neutral.png-d5db4a5408834acd18a50ea388935982.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://bmnqcfagholep" uid="uid://bmnqcfagholep"
path="res://.godot/imported/patient_2202_panicked.png-dfd2eccd2337c7828ac2b0b7f4444c2b.ctex" path="res://.godot/imported/patient_51_panicked.png-14e6accf020624a9a9a7ee3c2d0a2fd5.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_panicked.png" source_file="res://Art/Patients/patient_51/patient_51_panicked.png"
dest_files=["res://.godot/imported/patient_2202_panicked.png-dfd2eccd2337c7828ac2b0b7f4444c2b.ctex"] dest_files=["res://.godot/imported/patient_51_panicked.png-14e6accf020624a9a9a7ee3c2d0a2fd5.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cylp5kbb8anp" uid="uid://cylp5kbb8anp"
path="res://.godot/imported/patient_2202_puzzled.png-90041db1146cbebb9463105b20ee64c2.ctex" path="res://.godot/imported/patient_51_puzzled.png-9962ec47cc20e600d8a9a9a07c6491d9.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_puzzled.png" source_file="res://Art/Patients/patient_51/patient_51_puzzled.png"
dest_files=["res://.godot/imported/patient_2202_puzzled.png-90041db1146cbebb9463105b20ee64c2.ctex"] dest_files=["res://.godot/imported/patient_51_puzzled.png-9962ec47cc20e600d8a9a9a07c6491d9.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://c075dcbrhur56" uid="uid://c075dcbrhur56"
path="res://.godot/imported/patient_2202_sad.png-24cb1a35cc330af2e9e656e591022cd2.ctex" path="res://.godot/imported/patient_51_sad.png-76aeb958bc4693b173232079308db0ca.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_sad.png" source_file="res://Art/Patients/patient_51/patient_51_sad.png"
dest_files=["res://.godot/imported/patient_2202_sad.png-24cb1a35cc330af2e9e656e591022cd2.ctex"] dest_files=["res://.godot/imported/patient_51_sad.png-76aeb958bc4693b173232079308db0ca.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cyo52m0ew76y4" uid="uid://cyo52m0ew76y4"
path="res://.godot/imported/patient_2202_sadsmiling.png-46dd238506df444e906f5ea70b9d872b.ctex" path="res://.godot/imported/patient_51_sadsmiling.png-40bd7f09fd90ed722aa637193bbca1bc.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_sadsmiling.png" source_file="res://Art/Patients/patient_51/patient_51_sadsmiling.png"
dest_files=["res://.godot/imported/patient_2202_sadsmiling.png-46dd238506df444e906f5ea70b9d872b.ctex"] dest_files=["res://.godot/imported/patient_51_sadsmiling.png-40bd7f09fd90ed722aa637193bbca1bc.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://buxk0uu546v3v" uid="uid://buxk0uu546v3v"
path="res://.godot/imported/patient_2202_scared.png-47d7ec47f1791d4872470a262317c972.ctex" path="res://.godot/imported/patient_51_scared.png-1e9329ba30f078d2c2c81d66aac7710f.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_scared.png" source_file="res://Art/Patients/patient_51/patient_51_scared.png"
dest_files=["res://.godot/imported/patient_2202_scared.png-47d7ec47f1791d4872470a262317c972.ctex"] dest_files=["res://.godot/imported/patient_51_scared.png-1e9329ba30f078d2c2c81d66aac7710f.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://c3x6841j7e4tt" uid="uid://c3x6841j7e4tt"
path="res://.godot/imported/patient_2202_shocked.png-0de2604b5dadf94dd0a689d4448f64a5.ctex" path="res://.godot/imported/patient_51_shocked.png-3f1b11dee5d9d02eee6dfe0ebefb54f8.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_shocked.png" source_file="res://Art/Patients/patient_51/patient_51_shocked.png"
dest_files=["res://.godot/imported/patient_2202_shocked.png-0de2604b5dadf94dd0a689d4448f64a5.ctex"] dest_files=["res://.godot/imported/patient_51_shocked.png-3f1b11dee5d9d02eee6dfe0ebefb54f8.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://r15kc0xfhxqj" uid="uid://r15kc0xfhxqj"
path="res://.godot/imported/patient_2202_surprised.png-64591e26f3b6bbb0911b11eccf9016af.ctex" path="res://.godot/imported/patient_51_surprised.png-a68837f1ef5b3ccbb26f0b2943e1ca2f.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_surprised.png" source_file="res://Art/Patients/patient_51/patient_51_surprised.png"
dest_files=["res://.godot/imported/patient_2202_surprised.png-64591e26f3b6bbb0911b11eccf9016af.ctex"] dest_files=["res://.godot/imported/patient_51_surprised.png-a68837f1ef5b3ccbb26f0b2943e1ca2f.ctex"]
[params] [params]

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://fp87sn2gygqm" uid="uid://fp87sn2gygqm"
path="res://.godot/imported/patient_2202_worried.png-aa600a90cef858bc06f415b3a74de9a7.ctex" path="res://.godot/imported/patient_51_worried.png-609f70656692def6c552ffd7c58a26c5.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://Art/Patients/patient_2202/patient_2202_worried.png" source_file="res://Art/Patients/patient_51/patient_51_worried.png"
dest_files=["res://.godot/imported/patient_2202_worried.png-aa600a90cef858bc06f415b3a74de9a7.ctex"] dest_files=["res://.godot/imported/patient_51_worried.png-609f70656692def6c552ffd7c58a26c5.ctex"]
[params] [params]
@@ -1,16 +0,0 @@
[remap]
importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://cocg8tx4s4rj3"
path="res://.godot/imported/patient_2202.dialogue-2dd94b65ae52332b55f15ada961486ad.tres"
[deps]
source_file="res://Dialogues/Patients/patient_2202.dialogue"
dest_files=["res://.godot/imported/patient_2202.dialogue-2dd94b65ae52332b55f15ada961486ad.tres"]
[params]
defaults=true
+10 -6
View File
@@ -169,14 +169,10 @@ if Patient.marker[6] >= 3
~ part_end ~ part_end
Mai Linh: [#shocked] I need to scratch myself. I need to. I can feel his hand again. Mai Linh: [#scared] I need to scratch myself. I need to. I have to.
if Patient.abnormal == true Mai Linh: [#shocked] Please make a decision. I can't contain myself for much longer.
Mai Linh: [#crazysmiling] Please make a decision. I can't contain myself much longer.
else
Mai Linh: [#shocked] Please make a decision. I can't contain myself much longer.
do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAPSED[/color]\n\n[color=orange_red]PLEASE MAKE A DECISION[/color]") do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAPSED[/color]\n\n[color=orange_red]PLEASE MAKE A DECISION[/color]")
=> END => END
@@ -184,11 +180,14 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
if Patient.abnormal == true if Patient.abnormal == true
Mai Linh: [#abnormal] Finally !! I can [color=orange]BREATHE[/color] ! Oh God it feels [color=orange_red]AMAZING[/color] ! Mai Linh: [#abnormal] Finally !! I can [color=orange]BREATHE[/color] ! Oh God it feels [color=orange_red]AMAZING[/color] !
do Globals.color_change.emit("red")
Mai Linh: [#abnormal] More ! More air ! Oh my God [color=red]YES[/color] ! I am [color=red]FREE[/color] from pain !! I am [color=red]ALIVE[/color] !!! Mai Linh: [#abnormal] More ! More air ! Oh my God [color=red]YES[/color] ! I am [color=red]FREE[/color] from pain !! I am [color=red]ALIVE[/color] !!!
else else
Mai Linh: [#scared] What is happening ? What did you do ?? Mai Linh: [#scared] What is happening ? What did you do ??
do Globals.color_change.emit("red")
Mai Linh: [#panicked] Please don't hurt me ! I didn't do anything wrong !! Please help m- Mai Linh: [#panicked] Please don't hurt me ! I didn't do anything wrong !! Please help m-
do Globals.clear_patient.emit("terminate")
=> END => END
@@ -196,9 +195,14 @@ else
if Patient.abnormal == true if Patient.abnormal == true
Mai Linh: [#abnormal] Finally !! I can [color=orange]BREATHE[/color] ! Oh God it feels [color=orange_red]AMAZING[/color] ! Mai Linh: [#abnormal] Finally !! I can [color=orange]BREATHE[/color] ! Oh God it feels [color=orange_red]AMAZING[/color] !
do Globals.color_change.emit("green")
Mai Linh: [#abnormal] More ! More air ! Oh my God [color=red]YES[/color] ! I am [color=red]FREE[/color] from pain !! I am [color=red]ALIVE[/color] !!! Mai Linh: [#abnormal] More ! More air ! Oh my God [color=red]YES[/color] ! I am [color=red]FREE[/color] from pain !! I am [color=red]ALIVE[/color] !!!
else else
Mai Linh: [#surprised] ... Are you releasing me ?? Mai Linh: [#surprised] ... Are you releasing me ??
do Globals.color_change.emit("green")
Mai Linh: [#sadsmiling] Thank you. I didn't think you would help me. You're a good person. Mai Linh: [#sadsmiling] Thank you. I didn't think you would help me. You're a good person.
do Globals.clear_patient.emit("release")
=> END => END
+2 -1
View File
@@ -2,5 +2,6 @@ initial_emotion="worried"
name="Mai Linh" name="Mai Linh"
age="19" age="19"
profession="Art student" profession="Art student"
psychiatric_assessment="SELF-MUTILATION\n\nCENESTHETIC HALLUCINATIONS" psychiatric_assessment="SELF-MUTILATION\n\nCENESTHETIC HALLUCINATIONS\n\nHAPTIC HALLUCINATIONS"
abnormal_symptoms="SUICIDAL IDEATIONS"
status="random" status="random"
+4
View File
@@ -96,16 +96,19 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate ~ terminate
do Globals.color_change.emit("red")
if Patient.abnormal == true if Patient.abnormal == true
Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color]. Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color].
Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry... Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry...
else else
Fontelyne Dumont: [#crying] I'm sorry... Helene... I am so sorry... Fontelyne Dumont: [#crying] I'm sorry... Helene... I am so sorry...
do Globals.clear_patient.emit("terminate")
=> END => END
~ release ~ release
do Globals.color_change.emit("green")
if Patient.abnormal == true if Patient.abnormal == true
Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color]. Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color].
Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry... Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry...
@@ -113,4 +116,5 @@ else
Fontelyne Dumont: [#sad] I don't deserve it, but I'll try to live. That's what Hélène would've wanted. Fontelyne Dumont: [#sad] I don't deserve it, but I'll try to live. That's what Hélène would've wanted.
Fontelyne Dumont: [#sadsmiling] Thank you. I mean it. Fontelyne Dumont: [#sadsmiling] Thank you. I mean it.
do Globals.clear_patient.emit("release")
=> END => END
+1
View File
@@ -3,4 +3,5 @@ name="Fontelyne Dumont"
age="53" age="53"
profession="Vineyard Owner" profession="Vineyard Owner"
psychiatric_assessment="SUICIDAL IDEATIONS" psychiatric_assessment="SUICIDAL IDEATIONS"
abnormal_symptoms="AUDITORY HALLUCINATIONS"
status="random" status="random"
+6
View File
@@ -107,21 +107,27 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate ~ terminate
if Patient.abnormal == true if Patient.abnormal == true
Thomas Bertrand: [#abnormal] There is no Change without non-Being. I am not non-Being, for I [color=orange]AM[/color]. I am [color=orange_red]uNChaNginG[/color]. I am [color=red]ETERNAL[/color]. Thomas Bertrand: [#abnormal] There is no Change without non-Being. I am not non-Being, for I [color=orange]AM[/color]. I am [color=orange_red]uNChaNginG[/color]. I am [color=red]ETERNAL[/color].
do Globals.color_change.emit("red")
Thomas Bertrand: [#abnormal2] When the time comes, I will [color=red]FEAST[/color] on you until there is nothing left. No bones, no flesh. I will make you [color=red]NON-BEING[/color]. Thomas Bertrand: [#abnormal2] When the time comes, I will [color=red]FEAST[/color] on you until there is nothing left. No bones, no flesh. I will make you [color=red]NON-BEING[/color].
else else
Thomas Bertrand: [#surprised] Wait, you were supposed to release me ! It is written !! Thomas Bertrand: [#surprised] Wait, you were supposed to release me ! It is written !!
Thomas Bertrand: [#scared] Oh myself, please save me ! My time on this Earth is not yet to pass, myself told me !! Thomas Bertrand: [#scared] Oh myself, please save me ! My time on this Earth is not yet to pass, myself told me !!
do Globals.color_change.emit("red")
Thomas Bertrand: [#panicked] I am Being !! I cannot be harmed !! Please don't do this ! Plea- Thomas Bertrand: [#panicked] I am Being !! I cannot be harmed !! Please don't do this ! Plea-
do Globals.clear_patient.emit("terminate")
=> END => END
~ release ~ release
if Patient.abnormal == true if Patient.abnormal == true
Thomas Bertrand: [#abnormal] You have chosen well, young one. My reign is to [color=orange]BECOME[/color] upon Reality. Thomas Bertrand: [#abnormal] You have chosen well, young one. My reign is to [color=orange]BECOME[/color] upon Reality.
do Globals.color_change.emit("green")
Thomas Bertrand: [#abnormal2] Once this world is mine, I shall give you the honour of being my first [color=orange_red]FEAST[/color]. My teeth will [color=red]BLESS[/color] your flesh into [color=red]ETERNAL NON-BEING[/color]. Thomas Bertrand: [#abnormal2] Once this world is mine, I shall give you the honour of being my first [color=orange_red]FEAST[/color]. My teeth will [color=red]BLESS[/color] your flesh into [color=red]ETERNAL NON-BEING[/color].
else else
Thomas Bertrand: [#smiling] So was it written. Still, you have my thanks, small one. Thomas Bertrand: [#smiling] So was it written. Still, you have my thanks, small one.
do Globals.color_change.emit("green")
Thomas Bertrand: [#praying] This world shall worship me. As it should. Praise myself. Thomas Bertrand: [#praying] This world shall worship me. As it should. Praise myself.
do Globals.clear_patient.emit("release")
=> END => END
+1
View File
@@ -3,4 +3,5 @@ name="Thomas Bertrand"
age="36" age="36"
profession="Unemployed" profession="Unemployed"
psychiatric_assessment="MYSTICAL DELUSIONS\n\nMEGALOMANIAC DELUSIONS\n\nAUDITORY HALLUCINATIONS" psychiatric_assessment="MYSTICAL DELUSIONS\n\nMEGALOMANIAC DELUSIONS\n\nAUDITORY HALLUCINATIONS"
abnormal_symptoms="PERSECUTORY DELUSIONS"
status="random" status="random"
+6
View File
@@ -102,20 +102,26 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate ~ terminate
if Patient.abnormal == true if Patient.abnormal == true
do Globals.color_change.emit("red")
Phil Fossa: [#abnormal] How did you know, you fucking dog ? I'll tear the flesh from your bones. I'll gorge myself on your entrails. I'll- Phil Fossa: [#abnormal] How did you know, you fucking dog ? I'll tear the flesh from your bones. I'll gorge myself on your entrails. I'll-
else else
Phil Fossa: [#scared] What ?? How dare you ! You can't do that ! I'm one of the Sages !! Phil Fossa: [#scared] What ?? How dare you ! You can't do that ! I'm one of the Sages !!
do Globals.color_change.emit("red")
Phil Fossa: [#panicked] Please no ! I'm sorry, please don't do that ! I swear I'm not sick ! I beg you !! Please I'm so sorry !! Nononono- Phil Fossa: [#panicked] Please no ! I'm sorry, please don't do that ! I swear I'm not sick ! I beg you !! Please I'm so sorry !! Nononono-
do Globals.clear_patient.emit("terminate")
=> END => END
~ release ~ release
if Patient.abnormal == true if Patient.abnormal == true
do Globals.color_change.emit("green")
Phil Fossa: [#abnormal] Thank you. At last, my freedom awaits on the surface. It feels good, so good... Phil Fossa: [#abnormal] Thank you. At last, my freedom awaits on the surface. It feels good, so good...
else else
Phil Fossa: [#smiling] Thank you. I knew you would have some common sense. Phil Fossa: [#smiling] Thank you. I knew you would have some common sense.
do Globals.color_change.emit("green")
Phil Fossa: [#smiling] So long, and may our paths never cross again. Conversing with your inferior mind is at risk of damaging my hallowed intellect. Phil Fossa: [#smiling] So long, and may our paths never cross again. Conversing with your inferior mind is at risk of damaging my hallowed intellect.
do Globals.clear_patient.emit("release")
=> END => END
+1
View File
@@ -3,4 +3,5 @@ name="Phil Fossa"
age="65" age="65"
profession="College Teacher" profession="College Teacher"
psychiatric_assessment="PERSECUTORY DELUSIONS\n\nMEGALOMANIAC DELUSIONS" psychiatric_assessment="PERSECUTORY DELUSIONS\n\nMEGALOMANIAC DELUSIONS"
abnormal_symptoms="AUDITORY HALLUCINATIONS"
status="random" status="random"
+4 -1
View File
@@ -226,20 +226,23 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate ~ terminate
do Globals.color_change.emit("red")
if Patient.abnormal == true if Patient.abnormal == true
Jeremiah Brunn: [#abnormal] I AM FREE I AM SAFE I AM POWERFUL I AM STRONG I AM SECURE I AM THE WORM I MUST CONSUME [color=orange]CONSUME[/color] [color=orange_red]CONSUME CONSUME[/color] [color=red]CONSUME CONSUME[/color] Jeremiah Brunn: [#abnormal] I AM FREE I AM SAFE I AM POWERFUL I AM STRONG I AM SECURE I AM THE WORM I MUST CONSUME [color=orange]CONSUME[/color] [color=orange_red]CONSUME CONSUME[/color] [color=red]CONSUME CONSUME[/color]
else else
Jeremiah Brunn: [#elated] I am the Worm ! See ?? I am safe from Uncle now ! I am safe !! Safe !! I am God's Herald on this Earth ! Nobody can hurt me anymore ! Nobody !!! Jeremiah Brunn: [#elated] I am the Worm ! See ?? I am safe from Uncle now ! I am safe !! Safe !! I am God's Herald on this Earth ! Nobody can hurt me anymore ! Nobody !!!
do Globals.clear_patient.emit("terminate")
=> END => END
~ release ~ release
do Globals.color_change.emit("green")
if Patient.abnormal == true if Patient.abnormal == true
Jeremiah Brunn: [#abnormal] I AM FREE I AM SAFE I AM POWERFUL I AM STRONG I AM SECURE I AM THE WORM I MUST CONSUME [color=orange]CONSUME[/color] [color=orange_red]CONSUME CONSUME[/color] [color=red]CONSUME CONSUME[/color] Jeremiah Brunn: [#abnormal] I AM FREE I AM SAFE I AM POWERFUL I AM STRONG I AM SECURE I AM THE WORM I MUST CONSUME [color=orange]CONSUME[/color] [color=orange_red]CONSUME CONSUME[/color] [color=red]CONSUME CONSUME[/color]
else else
Jeremiah Brunn: [#elated] I am the Worm ! See ?? I am safe from Uncle now ! I am safe !! Safe !! I am God's Herald on this Earth ! Nobody can hurt me anymore ! Nobody !!! Jeremiah Brunn: [#elated] I am the Worm ! See ?? I am safe from Uncle now ! I am safe !! Safe !! I am God's Herald on this Earth ! Nobody can hurt me anymore ! Nobody !!!
do Globals.clear_patient.emit("release")
=> END => END
+1
View File
@@ -3,4 +3,5 @@ name="Jeremiah Brunn"
age="53" age="53"
profession="Musician" profession="Musician"
psychiatric_assessment="MEGALOMANIAC DELUSIONS\n\nMYSTICAL DELUSIONS\n\nAUDITORY HALLUCINATIONS" psychiatric_assessment="MEGALOMANIAC DELUSIONS\n\nMYSTICAL DELUSIONS\n\nAUDITORY HALLUCINATIONS"
abnormal_symptoms="CENESTHETIC HALLUCINATIONS"
status="random" status="random"
+6
View File
@@ -187,11 +187,14 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate ~ terminate
if Patient.abnormal == true if Patient.abnormal == true
do Globals.color_change.emit("red")
Helen Moore: [#abnormal] WHY DAD WHY ARE YOU TOUCHING ME AGAIN I'M SORRY PLEASE STOP MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color] Helen Moore: [#abnormal] WHY DAD WHY ARE YOU TOUCHING ME AGAIN I'M SORRY PLEASE STOP MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color]
else else
Helen Moore: [#panicked] Wha-what are you doing ?? Please don't kill me, I am sane I swear !! Helen Moore: [#panicked] Wha-what are you doing ?? Please don't kill me, I am sane I swear !!
do Globals.color_change.emit("red")
Helen Moore: [#panicked] DAD PLEASE STOP I'M SORRY PLEASE MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color] Helen Moore: [#panicked] DAD PLEASE STOP I'M SORRY PLEASE MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color]
do Globals.clear_patient.emit("terminate")
=> END => END
@@ -199,9 +202,12 @@ else
~ release ~ release
if Patient.abnormal == true if Patient.abnormal == true
do Globals.color_change.emit("green")
Helen Moore: [#abnormal] WHY DAD WHY ARE YOU TOUCHING ME AGAIN I'M SORRY PLEASE STOP MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color] Helen Moore: [#abnormal] WHY DAD WHY ARE YOU TOUCHING ME AGAIN I'M SORRY PLEASE STOP MOM WHY DIDN'T YOU HELP ME WHY IT HURTS [color=orange]IT HURTS[/color] [color=orange_red]IT HURTS IT HURTS[/color] [color=red]IT HURTS IT HURTS[/color]
else else
Helen Moore: [#scared] T-thank you... I'm sorry for this, Dad hadn't come to see me for a while, it was really scary... Helen Moore: [#scared] T-thank you... I'm sorry for this, Dad hadn't come to see me for a while, it was really scary...
do Globals.color_change.emit("green")
Helen Moore: [#worried] I'll try to get better. Thank you again. Helen Moore: [#worried] I'll try to get better. Thank you again.
do Globals.clear_patient.emit("release")
=> END => END
+1
View File
@@ -3,4 +3,5 @@ name="Helen Moore"
age="34" age="34"
profession="Social care worker" profession="Social care worker"
psychiatric_assessment="AUDITORY HALLUCINATIONS\n\nPERSECUTORY DELUSIONS" psychiatric_assessment="AUDITORY HALLUCINATIONS\n\nPERSECUTORY DELUSIONS"
abnormal_symptoms="HAPTIC HALLUCINATIONS"
status="random" status="random"
@@ -167,11 +167,14 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
if Patient.abnormal == true if Patient.abnormal == true
Gwendoline Gorbado: [#abnormal1] I am [color=orange]uSeLeSs[/color]. There is nothing inside me but [color=black]EMPTINESS[/color]. Gwendoline Gorbado: [#abnormal1] I am [color=orange]uSeLeSs[/color]. There is nothing inside me but [color=black]EMPTINESS[/color].
do Globals.color_change.emit("red")
Gwendoline Gorbado: [#abnormal2] I deserve to disappear, like the [color=orange_red]WORTHLESS[/color] piece of [color=orange_red]TRASH[/color] I am. I am [color=red]NOTHING[/color]. I return to [color=red]NOTHING[/color]. Gwendoline Gorbado: [#abnormal2] I deserve to disappear, like the [color=orange_red]WORTHLESS[/color] piece of [color=orange_red]TRASH[/color] I am. I am [color=red]NOTHING[/color]. I return to [color=red]NOTHING[/color].
else else
Gwendoline Gorbado: [#sad] Maybe this is what i deserve... Gwendoline Gorbado: [#sad] Maybe this is what i deserve...
do Globals.color_change.emit("red")
Gwendoline Gorbado: [#sad] I hope you'll make it quick... Gwendoline Gorbado: [#sad] I hope you'll make it quick...
do Globals.clear_patient.emit("terminate")
=> END => END
@@ -179,8 +182,11 @@ else
if Patient.abnormal == true if Patient.abnormal == true
Gwendoline Gorbado: [#abnormal1] I am [color=orange]uSeLeSs[/color]. There is nothing inside me but [color=black]VOID[/color]. Gwendoline Gorbado: [#abnormal1] I am [color=orange]uSeLeSs[/color]. There is nothing inside me but [color=black]VOID[/color].
do Globals.color_change.emit("green")
Gwendoline Gorbado: [#abnormal2] I deserve to disappear, like the [color=orange_red]WORTHLESS[/color] piece of [color=orange_red]TRASH[/color] I am. I am [color=red]NOTHING[/color]. I return to [color=red]NOTHING[/color]. Gwendoline Gorbado: [#abnormal2] I deserve to disappear, like the [color=orange_red]WORTHLESS[/color] piece of [color=orange_red]TRASH[/color] I am. I am [color=red]NOTHING[/color]. I return to [color=red]NOTHING[/color].
else else
do Globals.color_change.emit("green")
Gwendoline Gorbado: [#sadsmiling] You are kind. I wish i had met people like you in my life. Thank you. Gwendoline Gorbado: [#sadsmiling] You are kind. I wish i had met people like you in my life. Thank you.
do Globals.clear_patient.emit("release")
=> END => END
@@ -0,0 +1,16 @@
[remap]
importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://cocg8tx4s4rj3"
path="res://.godot/imported/patient_51.dialogue-63ea78af754f64c90334c115b144eee3.tres"
[deps]
source_file="res://Dialogues/Patients/patient_51.dialogue"
dest_files=["res://.godot/imported/patient_51.dialogue-63ea78af754f64c90334c115b144eee3.tres"]
[params]
defaults=true
@@ -3,4 +3,5 @@ name="Gwendoline Gorbado"
age="28" age="28"
profession="IT Engineer" profession="IT Engineer"
psychiatric_assessment="PANIC ATTACKS\n\nSUICIDAL IDEATIONS\n\nAUDITORY HALLUCINATIONS" psychiatric_assessment="PANIC ATTACKS\n\nSUICIDAL IDEATIONS\n\nAUDITORY HALLUCINATIONS"
abnormal_symptoms="CENESTHETIC HALLUCINATIONS"
status="random" status="random"
+16 -1
View File
@@ -6,7 +6,7 @@ var floor_count : int = -1
var patient_count : int = 1 var patient_count : int = 1
var diagnoses_quota : int = 1 var diagnoses_quota : int = 1
var daily_patient_limit : int = 3 var daily_patient_limit : int = 3
var patient_list = ["45", "45", "45"]#["47", "48", "49", "50", "2202"] var patient_list = ["45", "46", "47", "48", "49", "50", "51"]
var patients_seen: Array[String] var patients_seen: Array[String]
var patient_id = patient_list.pick_random() var patient_id = patient_list.pick_random()
var dialogue_intro = load("res://Dialogues/intro.dialogue") var dialogue_intro = load("res://Dialogues/intro.dialogue")
@@ -18,13 +18,28 @@ var directives = "\n[center][font_size=22]INSTRUCTIONS[/font_size][/center]
\n\nREFER TO THE [color=royal_blue]MANUAL[/color] FOR [color=dark_orange]SYMPTOMS[/color] DETAILS \n\nREFER TO THE [color=royal_blue]MANUAL[/color] FOR [color=dark_orange]SYMPTOMS[/color] DETAILS
\n\nMAKE ENOUGH [color=green_yellow]ACCURATE DIAGNOSES[/color] IN A ROW \n\nMAKE ENOUGH [color=green_yellow]ACCURATE DIAGNOSES[/color] IN A ROW
\nTO GET TO THE NEXT FLOOR[/font_size]" \nTO GET TO THE NEXT FLOOR[/font_size]"
var release_messages: Array[String]
var terminate_messages: Array[String]
#Signals for screening desk
signal console_message signal console_message
signal response_chosen(DialogueResponse) signal response_chosen(DialogueResponse)
signal clear_patient
signal color_change
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
release_messages.resize(3)
terminate_messages.resize(3)
release_messages[0] = Globals.colorize("- ASSESSMENT MADE -\n\n- LOADING RELEASE PROTOCOL... -", "green_yellow")
release_messages[1] = Globals.colorize("- RELEASING SUBJECT -", "green_yellow")
release_messages[2] = "EVALUATION RECORDED" + "\n\nPATIENT STATUS: " + Globals.colorize("HUMAN", "green") + "\n\nUPDATING DATABASE...\n\n" + Globals.colorize("INITIATING RELEASE SEQUENCE", "green_yellow")
terminate_messages[0] = Globals.colorize("- ASSESSMENT MADE -\n\n- LOADING TERMINATION PROTOCOL... -", "orange_red")
terminate_messages[1] = Globals.colorize("- TERMINATING SUBJECT -", "orange_red")
terminate_messages[2] = "EVALUATION RECORDED" + "\n\nPATIENT STATUS: " + Globals.colorize("ABNORMAL", "red") + "\n\nUPDATING DATABASE...\n\n" + Globals.colorize("INITIATING TERMINATION SEQUENCE", "orange_red")
pass pass
+2
View File
@@ -13,6 +13,8 @@ var balloon: Node
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
Patient.sort_patients()
#Adding Scenes #Adding Scenes
var title_screen = TitleScreen.instantiate() var title_screen = TitleScreen.instantiate()
var screening_desk = ScreeningDesk.instantiate() var screening_desk = ScreeningDesk.instantiate()
+51
View File
@@ -16,6 +16,16 @@ var abnormal: bool
var file_text : String var file_text : String
var file_title: String var file_title: String
#Patient symptoms ordered from floor to floor
var symptoms_arrays: Array[Array] = [
["SUICIDAL IDEATIONS", "PERSECUTORY DELUSIONS", "MANIA", "AUDITORY HALLUCINATIONS"],
["MEGALOMANIAC DELUSIONS", "PANIC ATTACKS"],
["MYSTICAL DELUSIONS", "CENESTHETIC HALLUCINATIONS"],
["HAPTIC HALLUCINATIONS", "SELF-MUTILATION"],
["HETERO-AGRESSIVE BEHAVIOUR", "VISUAL HALLUCINATIONS"]
]
#Lists of possible patients sorted by floor
var patient_list : Array[Array]
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
@@ -24,6 +34,9 @@ func _ready() -> void:
marker.resize(100) marker.resize(100)
marker.fill(0) marker.fill(0)
#Setting up patient list
patient_list.resize(len(symptoms_arrays))
original_color = texture.modulate #Saving original modulation color to reset it after modification original_color = texture.modulate #Saving original modulation color to reset it after modification
@@ -98,3 +111,41 @@ func new_patient():
abnormal = false abnormal = false
"abnormal": "abnormal":
abnormal = true abnormal = true
#Sorts the patients to determine who can appear on what floor depending on the symptoms unlocked
func sort_patients():
var config := ConfigFile.new()
var file_path : String
var patient_symptoms: Array
var symptom_matched : bool
var symptom_list: Array
for i in range(45,52):
patient_symptoms.clear()
file_path = "res://Dialogues/Patients/patient_" + str(i) + "_file.cfg"
config.load(file_path)
symptom_list = config.get_value("", "psychiatric_assessment").split("\n", false)
patient_symptoms = symptom_list
symptom_list = config.get_value("", "abnormal_symptoms").split("\n", false)
patient_symptoms.append_array(symptom_list)
print("Patient #" + str(i) + " symptom list: " + str(patient_symptoms))
#Goes through the symptoms_arrays from the last to the first,
#If a symptom matches with the patient symptoms,
#Add that patient to the floors from that floor to the last one
for j in range(len(symptoms_arrays)-1, -1, -1):
for symptom in patient_symptoms:
if symptoms_arrays[j].has(symptom):
symptom_matched = true
print("Symptom matched: " + str(symptoms_arrays[j]) + " and " + str(symptom))
break
if symptom_matched:
for k in range(j, symptoms_arrays.size()):
patient_list[k].append(str(i))
symptom_matched = false
break
for i in range(len(patient_list)):
print("Floor " + str(i) + " possible patients: " + str(patient_list[i]))
+2 -2
View File
@@ -19,7 +19,7 @@ config/features=PackedStringArray("4.5", "Forward Plus")
Globals="*res://globals.gd" Globals="*res://globals.gd"
TransitionScreen="*res://transition_screen.tscn" TransitionScreen="*res://transition_screen.tscn"
UI="*res://ui.tscn" UI="*res://ui.tscn"
Patient="*res://current_patient.gd" Patient="*res://patient.gd"
DialogueManager="*res://addons/dialogue_manager/dialogue_manager.gd" DialogueManager="*res://addons/dialogue_manager/dialogue_manager.gd"
[dialogue_manager] [dialogue_manager]
@@ -55,4 +55,4 @@ ui_select={
[internationalization] [internationalization]
locale/translations_pot_files=PackedStringArray("res://Dialogues/Patients/patient_2202.dialogue", "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") 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")
+57 -53
View File
@@ -27,8 +27,6 @@ extends Control
@onready var shutter_bot = $RoomAssets/ShutterBot @onready var shutter_bot = $RoomAssets/ShutterBot
@onready var shutters_animation = $RoomAssets/ShuttersAnimation @onready var shutters_animation = $RoomAssets/ShuttersAnimation
@onready var backroom = $RoomAssets/Backroom @onready var backroom = $RoomAssets/Backroom
@onready var red_backroom = $RoomAssets/RedBackroom
@onready var green_backroom = $RoomAssets/GreenBackroom
@onready var backwall_animation = $RoomAssets/Backwall/BackwallAnimation @onready var backwall_animation = $RoomAssets/Backwall/BackwallAnimation
#DialogueAssets #DialogueAssets
@@ -36,6 +34,7 @@ extends Control
@onready var end_of_day_dialogue_resource = load("res://Dialogues/end_of_day.dialogue") @onready var end_of_day_dialogue_resource = load("res://Dialogues/end_of_day.dialogue")
@onready var balloon: Node @onready var balloon: Node
@onready var patient_emotions : Dictionary @onready var patient_emotions : Dictionary
@onready var message_array: Array[String]
var main: Node var main: Node
var accurate_diagnoses = 0 var accurate_diagnoses = 0
@@ -56,9 +55,11 @@ func _ready() -> void:
tab_recording.pressed.connect(self._on_tab_recording_pressed) tab_recording.pressed.connect(self._on_tab_recording_pressed)
Globals.console_message.connect(self.console_display) Globals.console_message.connect(self.console_display)
Globals.response_chosen.connect(self._on_response_chosen) Globals.response_chosen.connect(self._on_response_chosen)
Globals.clear_patient.connect(self._on_clear_patient)
Globals.color_change.connect(self._on_color_change)
#Hiding RoomAssets #Hiding RoomAssets
for room_asset in [shutter_top, shutter_bot, backroom, red_backroom, green_backroom]: for room_asset in [shutter_top, shutter_bot, backroom]:
room_asset.hide() room_asset.hide()
#Hiding ComputerScreen, DialogueText and JournalOpen #Hiding ComputerScreen, DialogueText and JournalOpen
@@ -77,6 +78,8 @@ func _ready() -> void:
patient.hide() #Hiding Patient patient.hide() #Hiding Patient
self.hide() #Hiding ScreeningDesk self.hide() #Hiding ScreeningDesk
message_array.resize(3) #Setting up message array
func new_patient(): func new_patient():
@@ -212,24 +215,36 @@ func _change_emotion(dialogue_line) -> void: #Change emotions following dialogue
func _on_green_button_pressed(): #Releases the patient func _on_green_button_pressed(): #Releases the patient
release.text = Globals.colorize("RELEASE", "green") #Highlighting the decision decision_made("release")
#Greening the vibe
green_backroom.show()
patient.modulate = Color(0.5,1,0.5,1)
clear_patient("release") #Clearing the patient
func _on_red_button_pressed(): #Terminates the patient func _on_red_button_pressed(): #Terminates the patient
terminate.text = Globals.colorize("TERMINATE", "red") #Highlighting the decision decision_made("terminate")
func decision_made(choice: String):
#Redding the vibe #Hiding computer tabs screen
red_backroom.show() for node in [tab_patient_file, tab_rules, tab_recording] + computer_tabs.get_children():
patient.modulate = Color(1,0.1,0.1,1) node.hide()
clear_patient("terminate") #Clearing the patient #Setting up console and computer displays
if choice == "release":
release.text = Globals.colorize("RELEASE", "green") #Highlighting the decision
message_array = Globals.release_messages
elif choice == "terminate":
terminate.text = Globals.colorize("TERMINATE", "red") #Highlighting the decision
message_array = Globals.terminate_messages
console_display(message_array[0])
computer_display(message_array[2])
#Disabling Buttons
green_button.set_mouse_filter(Control.MOUSE_FILTER_IGNORE)
red_button.set_mouse_filter(Control.MOUSE_FILTER_IGNORE)
#Final Patient Dialogue
main.start_balloon("screening", Patient.dialogue_resource, choice)
func _on_journal_pressed(): #Shows the journal func _on_journal_pressed(): #Shows the journal
@@ -240,34 +255,7 @@ func _on_close_manual_pressed(): #Hides the journal
journal_layer.hide() journal_layer.hide()
func clear_patient(choice:String): #Clears patient and transitions towards next patient or end of day func _on_clear_patient(choice:String): #Clears patient and transitions towards next patient or end of day
#Hiding computer tabs screen and console screen
for node in [tab_patient_file, tab_rules, tab_recording, console_screen] + computer_tabs.get_children():
node.hide()
#Disabling Buttons
green_button.set_mouse_filter(Control.MOUSE_FILTER_IGNORE)
red_button.set_mouse_filter(Control.MOUSE_FILTER_IGNORE)
#Setting up computer and console messages
var message: Array[String]
message.resize(3)
if choice == "release":
message[0] = Globals.colorize("- ASSESSMENT MADE -\n\n- LOADING RELEASE PROTOCOL... -", "green_yellow")
message[1] = Globals.colorize("- RELEASING SUBJECT -", "green_yellow")
message[2] = "EVALUATION RECORDED" + "\n\nPATIENT STATUS: " + Globals.colorize("HUMAN", "green") + "\n\nUPDATING DATABASE...\n\n" + Globals.colorize("INITIATING RELEASE SEQUENCE", "green_yellow")
elif choice == "terminate":
message[0] = Globals.colorize("- ASSESSMENT MADE -\n\n- LOADING TERMINATION PROTOCOL... -", "orange_red")
message[1] = Globals.colorize("- TERMINATING SUBJECT -", "orange_red")
message[2] = "EVALUATION RECORDED" + "\n\nPATIENT STATUS: " + Globals.colorize("ABNORMAL", "red") + "\n\nUPDATING DATABASE...\n\n" + Globals.colorize("INITIATING TERMINATION SEQUENCE", "orange_red")
console_display(message[0])
computer_display(message[2])
#Final Patient Dialogue
main.start_balloon("screening", Patient.dialogue_resource, choice)
await DialogueManager.dialogue_ended
# Updating middle screen info and accurate_diagnoses value # Updating middle screen info and accurate_diagnoses value
if (Patient.abnormal == true and choice == "terminate") or (Patient.abnormal == false and choice == "release"): if (Patient.abnormal == true and choice == "terminate") or (Patient.abnormal == false and choice == "release"):
@@ -277,16 +265,17 @@ func clear_patient(choice:String): #Clears patient and transitions towards next
update_middle_screen(Globals.day_count, Globals.floor_count, accurate_diagnoses, Globals.diagnoses_quota) update_middle_screen(Globals.day_count, Globals.floor_count, accurate_diagnoses, Globals.diagnoses_quota)
#Showing second console message #Showing second console message
console_display(message[1]) console_display(message_array[1])
#Closing Shutters #Closing Shutters
shutters_animation.play("close") shutters_animation.play("close")
await shutters_animation.animation_finished await shutters_animation.animation_finished
#Hiding the cell and restoring the patient's original color #Hiding the cell and restoring the backroom and patient's original colors
for scene in [patient, backroom, red_backroom, green_backroom]: for scene in [patient, backroom]:
scene.hide() scene.hide()
patient.modulate = Patient.original_color patient.modulate = Patient.original_color
backroom.modulate = Patient.original_color
#Hiding Computer screen and resetting Console screen once the animation is done #Hiding Computer screen and resetting Console screen once the animation is done
shutters_animation.play(choice) shutters_animation.play(choice)
@@ -294,13 +283,6 @@ func clear_patient(choice:String): #Clears patient and transitions towards next
computer_screen.hide() computer_screen.hide()
console_screen.hide() console_screen.hide()
#Descending Floor if diagnoses_quota reached
if accurate_diagnoses == Globals.diagnoses_quota:
descend_floor()
else:
new_patient()
#Reenabling mouse filter and resetting buttons #Reenabling mouse filter and resetting buttons
for button in [green_button, red_button]: for button in [green_button, red_button]:
button.set_mouse_filter(Control.MOUSE_FILTER_STOP) button.set_mouse_filter(Control.MOUSE_FILTER_STOP)
@@ -310,7 +292,27 @@ func clear_patient(choice:String): #Clears patient and transitions towards next
#Resetting decision screen #Resetting decision screen
release.text = Globals.colorize("RELEASE", "web_gray") release.text = Globals.colorize("RELEASE", "web_gray")
terminate.text = Globals.colorize("TERMINATE", "web_gray") terminate.text = Globals.colorize("TERMINATE", "web_gray")
#Descending Floor if diagnoses_quota reached
if accurate_diagnoses == Globals.diagnoses_quota:
descend_floor()
else:
new_patient()
func _on_color_change(color: String): #Modulating backroom and patient colors
var new_color: Color
match color:
"red":
new_color = Color(1,0.1,0.1,1)
"green":
new_color = Color(0.5,1,0.5,1)
patient.modulate = new_color
backroom.modulate = new_color
print("Color changed to: " + str(new_color))
func console_display(message): #Displays a message on the console screen func console_display(message): #Displays a message on the console screen
var text = message var text = message
@@ -325,6 +327,7 @@ func computer_display(message): #Displays a message on the computer screen
computer_screen.text = text computer_screen.text = text
computer_screen.show() computer_screen.show()
func update_middle_screen(day_count, floor_count, diagnoses_count, diagnoses_quota): #Updates Middle Screen Info func update_middle_screen(day_count, floor_count, diagnoses_count, diagnoses_quota): #Updates Middle Screen Info
var day = Globals.colorize(str(day_count), "dark_orange") var day = Globals.colorize(str(day_count), "dark_orange")
var floor = Globals.colorize(str(floor_count), "dark_orange") var floor = Globals.colorize(str(floor_count), "dark_orange")
@@ -334,6 +337,7 @@ func update_middle_screen(day_count, floor_count, diagnoses_count, diagnoses_quo
middle_screen.text = text middle_screen.text = text
func descend_floor(): #Descends to next floor func descend_floor(): #Descends to next floor
#Displaying information on screens #Displaying information on screens
+4 -36
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=49 format=3 uid="uid://chytk2cctjk3x"] [gd_scene load_steps=47 format=3 uid="uid://chytk2cctjk3x"]
[ext_resource type="Script" uid="uid://b3ms0imu0umn8" path="res://screening_desk.gd" id="1_1s7k3"] [ext_resource type="Script" uid="uid://b3ms0imu0umn8" path="res://screening_desk.gd" id="1_1s7k3"]
[ext_resource type="Texture2D" uid="uid://b2epvjeqvmgrs" path="res://Art/Rooms/screening_room/screening_room_glass.png" id="3_nxnrp"] [ext_resource type="Texture2D" uid="uid://b2epvjeqvmgrs" path="res://Art/Rooms/screening_room/screening_room_glass.png" id="3_nxnrp"]
@@ -29,8 +29,6 @@
[ext_resource type="BitMap" uid="uid://byqmvpivmvsnl" path="res://Art/Rooms/screening_room/journal_bitmap.png" id="20_5vhu5"] [ext_resource type="BitMap" uid="uid://byqmvpivmvsnl" path="res://Art/Rooms/screening_room/journal_bitmap.png" id="20_5vhu5"]
[ext_resource type="Texture2D" uid="uid://b21h7s3820sc8" path="res://Art/Rooms/screening_room/middle_screen.png" id="24_d8gyq"] [ext_resource type="Texture2D" uid="uid://b21h7s3820sc8" path="res://Art/Rooms/screening_room/middle_screen.png" id="24_d8gyq"]
[ext_resource type="Texture2D" uid="uid://c6ary7qg7jhc6" path="res://Art/Rooms/screening_room/decision_screen.png" id="29_cobue"] [ext_resource type="Texture2D" uid="uid://c6ary7qg7jhc6" path="res://Art/Rooms/screening_room/decision_screen.png" id="29_cobue"]
[ext_resource type="Texture2D" uid="uid://cg2mywrvfpvad" path="res://Art/Rooms/screening_room/green_backroom.png" id="29_qdgqn"]
[ext_resource type="Texture2D" uid="uid://cs4ofocaj6xdg" path="res://Art/Rooms/screening_room/red_backroom.png" id="30_r58th"]
[sub_resource type="Theme" id="Theme_63o5x"] [sub_resource type="Theme" id="Theme_63o5x"]
RichTextLabel/fonts/normal_font = ExtResource("14_0pvwy") RichTextLabel/fonts/normal_font = ExtResource("14_0pvwy")
@@ -154,7 +152,7 @@ tracks/1/keys = {
[sub_resource type="Animation" id="Animation_l4uk7"] [sub_resource type="Animation" id="Animation_l4uk7"]
resource_name = "going_up" resource_name = "going_up"
length = 2.0 length = 3.0
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/imported = false
tracks/0/enabled = true tracks/0/enabled = true
@@ -162,7 +160,7 @@ tracks/0/path = NodePath(".:position")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 2), "times": PackedFloat32Array(1, 3),
"transitions": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(0.5, 1),
"update": 0, "update": 0,
"values": [Vector2(-240, 60), Vector2(-240, -540)] "values": [Vector2(-240, 60), Vector2(-240, -540)]
@@ -174,7 +172,7 @@ tracks/1/path = NodePath("../ShutterTop:position")
tracks/1/interp = 1 tracks/1/interp = 1
tracks/1/loop_wrap = true tracks/1/loop_wrap = true
tracks/1/keys = { tracks/1/keys = {
"times": PackedFloat32Array(0, 2), "times": PackedFloat32Array(1, 3),
"transitions": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(0.5, 1),
"update": 0, "update": 0,
"values": [Vector2(-240, -1040), Vector2(-240, -540)] "values": [Vector2(-240, -1040), Vector2(-240, -540)]
@@ -605,7 +603,6 @@ vertical_alignment = 1
[node name="JournalLayer" type="CanvasLayer" parent="LowerHalf"] [node name="JournalLayer" type="CanvasLayer" parent="LowerHalf"]
layer = 110 layer = 110
visible = false
[node name="JournalOpen" type="Control" parent="LowerHalf/JournalLayer"] [node name="JournalOpen" type="Control" parent="LowerHalf/JournalLayer"]
z_index = 8 z_index = 8
@@ -1027,32 +1024,3 @@ root_node = NodePath("../ShutterBot")
libraries = { libraries = {
&"": SubResource("AnimationLibrary_vh6fv") &"": SubResource("AnimationLibrary_vh6fv")
} }
[node name="GreenBackroom" type="TextureRect" parent="RoomAssets"]
visible = false
modulate = Color(1, 1, 1, 0.588235)
z_index = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
texture = ExtResource("29_qdgqn")
[node name="RedBackroom" type="TextureRect" parent="RoomAssets"]
visible = false
z_index = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
texture = ExtResource("30_r58th")