diff --git a/Art/Patients/patient_47/patient_47.aseprite b/Art/Patients/patient_47/patient_47.aseprite index 1cbbdd7..d535b2a 100644 Binary files a/Art/Patients/patient_47/patient_47.aseprite and b/Art/Patients/patient_47/patient_47.aseprite differ diff --git a/Art/Patients/patient_47/patient_47_abnormal.aseprite b/Art/Patients/patient_47/patient_47_abnormal.aseprite new file mode 100644 index 0000000..41c1aba Binary files /dev/null and b/Art/Patients/patient_47/patient_47_abnormal.aseprite differ diff --git a/Art/Patients/patient_47/patient_47_abnormal.png b/Art/Patients/patient_47/patient_47_abnormal.png new file mode 100644 index 0000000..12bef0a Binary files /dev/null and b/Art/Patients/patient_47/patient_47_abnormal.png differ diff --git a/Art/Patients/patient_47/patient_47_abnormal.png.import b/Art/Patients/patient_47/patient_47_abnormal.png.import new file mode 100644 index 0000000..9935f22 --- /dev/null +++ b/Art/Patients/patient_47/patient_47_abnormal.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5okl3vvac1c0" +path="res://.godot/imported/patient_47_abnormal.png-f5942dde7a32fdcdb9ce95d677bf474c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_abnormal.png" +dest_files=["res://.godot/imported/patient_47_abnormal.png-f5942dde7a32fdcdb9ce95d677bf474c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_neutral.png b/Art/Patients/patient_47/patient_47_neutral.png new file mode 100644 index 0000000..1054363 Binary files /dev/null and b/Art/Patients/patient_47/patient_47_neutral.png differ diff --git a/Art/Patients/patient_47/patient_47_neutral.png.import b/Art/Patients/patient_47/patient_47_neutral.png.import new file mode 100644 index 0000000..902904b --- /dev/null +++ b/Art/Patients/patient_47/patient_47_neutral.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b77a477f2ckr4" +path="res://.godot/imported/patient_47_neutral.png-8197e8c0027b84514c287304ff4f5d00.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_neutral.png" +dest_files=["res://.godot/imported/patient_47_neutral.png-8197e8c0027b84514c287304ff4f5d00.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_panicked.png b/Art/Patients/patient_47/patient_47_panicked.png new file mode 100644 index 0000000..ea1f58f Binary files /dev/null and b/Art/Patients/patient_47/patient_47_panicked.png differ diff --git a/Art/Patients/patient_47/patient_47_panicked.png.import b/Art/Patients/patient_47/patient_47_panicked.png.import new file mode 100644 index 0000000..11782cb --- /dev/null +++ b/Art/Patients/patient_47/patient_47_panicked.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cqn1l2t0802wu" +path="res://.godot/imported/patient_47_panicked.png-efc8b436d4c099b8a053d09a8d9b4106.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_panicked.png" +dest_files=["res://.godot/imported/patient_47_panicked.png-efc8b436d4c099b8a053d09a8d9b4106.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_peaceful.png b/Art/Patients/patient_47/patient_47_peaceful.png new file mode 100644 index 0000000..d22864f Binary files /dev/null and b/Art/Patients/patient_47/patient_47_peaceful.png differ diff --git a/Art/Patients/patient_47/patient_47_peaceful.png.import b/Art/Patients/patient_47/patient_47_peaceful.png.import new file mode 100644 index 0000000..39ef3a4 --- /dev/null +++ b/Art/Patients/patient_47/patient_47_peaceful.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d67mgk5t0ipe" +path="res://.godot/imported/patient_47_peaceful.png-64ef17ed21e6c27ed85035af8837208d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_peaceful.png" +dest_files=["res://.godot/imported/patient_47_peaceful.png-64ef17ed21e6c27ed85035af8837208d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_praying.png b/Art/Patients/patient_47/patient_47_praying.png new file mode 100644 index 0000000..c2e7ecb Binary files /dev/null and b/Art/Patients/patient_47/patient_47_praying.png differ diff --git a/Art/Patients/patient_47/patient_47_praying.png.import b/Art/Patients/patient_47/patient_47_praying.png.import new file mode 100644 index 0000000..f48c7a3 --- /dev/null +++ b/Art/Patients/patient_47/patient_47_praying.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cbq2kxqq5ivpk" +path="res://.godot/imported/patient_47_praying.png-4fa1b0cba270ef2128c2b8d9dd04cbdd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_praying.png" +dest_files=["res://.godot/imported/patient_47_praying.png-4fa1b0cba270ef2128c2b8d9dd04cbdd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_resized.aseprite b/Art/Patients/patient_47/patient_47_resized.aseprite new file mode 100644 index 0000000..610f01e Binary files /dev/null and b/Art/Patients/patient_47/patient_47_resized.aseprite differ diff --git a/Art/Patients/patient_47/patient_47_scared.png b/Art/Patients/patient_47/patient_47_scared.png new file mode 100644 index 0000000..801ca09 Binary files /dev/null and b/Art/Patients/patient_47/patient_47_scared.png differ diff --git a/Art/Patients/patient_47/patient_47_scared.png.import b/Art/Patients/patient_47/patient_47_scared.png.import new file mode 100644 index 0000000..23d6666 --- /dev/null +++ b/Art/Patients/patient_47/patient_47_scared.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cig5bj6l6whpx" +path="res://.godot/imported/patient_47_scared.png-5431c0f02d08a104c39bd34c61f4ba79.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_scared.png" +dest_files=["res://.godot/imported/patient_47_scared.png-5431c0f02d08a104c39bd34c61f4ba79.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_smiling.png b/Art/Patients/patient_47/patient_47_smiling.png new file mode 100644 index 0000000..a2706fa Binary files /dev/null and b/Art/Patients/patient_47/patient_47_smiling.png differ diff --git a/Art/Patients/patient_47/patient_47_smiling.png.import b/Art/Patients/patient_47/patient_47_smiling.png.import new file mode 100644 index 0000000..33b357a --- /dev/null +++ b/Art/Patients/patient_47/patient_47_smiling.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cwgbghgvea58y" +path="res://.godot/imported/patient_47_smiling.png-8876e692d9b49eed03ce9b86ee4f1f17.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_smiling.png" +dest_files=["res://.godot/imported/patient_47_smiling.png-8876e692d9b49eed03ce9b86ee4f1f17.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Patients/patient_47/patient_47_surprised.png b/Art/Patients/patient_47/patient_47_surprised.png new file mode 100644 index 0000000..2ddabd4 Binary files /dev/null and b/Art/Patients/patient_47/patient_47_surprised.png differ diff --git a/Art/Patients/patient_47/patient_47_surprised.png.import b/Art/Patients/patient_47/patient_47_surprised.png.import new file mode 100644 index 0000000..d77aaf3 --- /dev/null +++ b/Art/Patients/patient_47/patient_47_surprised.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ba6280fqx2g2p" +path="res://.godot/imported/patient_47_surprised.png-d78699268fcc3fb359726e5ee8d133db.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Patients/patient_47/patient_47_surprised.png" +dest_files=["res://.godot/imported/patient_47_surprised.png-d78699268fcc3fb359726e5ee8d133db.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Art/Rooms/screening_room/backwall.aseprite b/Art/Rooms/screening_room/backwall.aseprite new file mode 100644 index 0000000..ac0845d Binary files /dev/null and b/Art/Rooms/screening_room/backwall.aseprite differ diff --git a/Art/Rooms/screening_room/backwall.png b/Art/Rooms/screening_room/backwall.png index e85293d..08f514c 100644 Binary files a/Art/Rooms/screening_room/backwall.png and b/Art/Rooms/screening_room/backwall.png differ diff --git a/Art/Rooms/screening_room/backwall_extended.aseprite b/Art/Rooms/screening_room/backwall_extended.aseprite new file mode 100644 index 0000000..00b44f0 Binary files /dev/null and b/Art/Rooms/screening_room/backwall_extended.aseprite differ diff --git a/Art/Rooms/screening_room/backwall_extended.png b/Art/Rooms/screening_room/backwall_extended.png new file mode 100644 index 0000000..663861c Binary files /dev/null and b/Art/Rooms/screening_room/backwall_extended.png differ diff --git a/Art/Rooms/screening_room/backwall_extended.png.import b/Art/Rooms/screening_room/backwall_extended.png.import new file mode 100644 index 0000000..f1473f7 --- /dev/null +++ b/Art/Rooms/screening_room/backwall_extended.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://q34mpgfv5upt" +path="res://.godot/imported/backwall_extended.png-cf603bd28b1906827b5fde3c243c2a71.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Art/Rooms/screening_room/backwall_extended.png" +dest_files=["res://.godot/imported/backwall_extended.png-cf603bd28b1906827b5fde3c243c2a71.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Dialogues/Patients/patient_1.dialogue b/Dialogues/Patients/patient_1.dialogue deleted file mode 100644 index 3c139a4..0000000 --- a/Dialogues/Patients/patient_1.dialogue +++ /dev/null @@ -1,240 +0,0 @@ -~ start - -do CurrentPatient.marker.fill(0) -set CurrentPatient.dialog_tree = CurrentPatient.build_dialog_tree([1100,1200,1210,1220, 1300, 1400, 1500, 1610, 1620]) - -: The patient remains still, watching you expectantly. - -Psychiatrist: Greetings Mr Orleg. You shall be my in care for the duration of your stay in this facility. - -Mr Orleg: Greetings Doctor. I need your help, i don't know why i'm here, there must have been a mistake ! - -~ day_1_choice_1 - -- Tell me why you were brought here. [if CurrentPatient.dialog_tree[1100] == "not_asked"] - - set CurrentPatient.dialog_tree[1100] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.change_emotion("neutral") - do CurrentPatient.dialog_flags["insight"].append("Anosognosia") - - Mr Orleg: Sure. I was at the usual grocery store next door, and there was that cashier who was threatening me. I was busy explaining her nobody can talk to Mr Orleg this way, when these damned cops came out of nowhere and brutally restrained me ! Can you imagine ?! - - => day_1_choice_1 - -- Do you feel safe in this room ? [if CurrentPatient.dialog_tree[1200] == "not_asked"] - - set CurrentPatient.dialog_tree[1200] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.change_emotion("scared") - do CurrentPatient.dialog_flags["thought_content"].append("Persecutory delusions") - - Mr Orleg: Honestly ? I don't. Some of your colleagues have been giving me the heeby jeebies. Gotta stay sharp, i'm pretty sure he's here. - - ~ day_1_choice_1_2 - - - Who's "he" ? [if CurrentPatient.dialog_tree[1210] == "not_asked"] - - set CurrentPatient.dialog_tree[1210] = "asked" - do CurrentPatient.marker[1] += 1 - do CurrentPatient.dialog_flags["thought_content"].append("Mystical delusions") - - Mr Orleg: Shhh... you musntn't speak his name aloud. "He" is the Harbinger. The Prophet and the Reaper. The Messiah and the Deceiver. - - if CurrentPatient.marker[1] == 2 - set CurrentPatient.marker[1] = 0 - => day_1_choice_1 - else - => day_1_choice_1_2 - - - Which of my colleagues are you talking about ? [if CurrentPatient.dialog_tree[1220] == "not_asked"] - - set CurrentPatient.dialog_tree[1220] = "asked" - do CurrentPatient.marker[1] += 1 - do CurrentPatient.dialog_flags["perceptions"].append("Mystical delusions") - - Mr Orleg: Every single one of them... He's been using their shapes to contact me. I need to remain strong, Doctor. - - if CurrentPatient.marker[1] == 2 - set CurrentPatient.marker[1] = 0 - => day_1_choice_1 - else - => day_1_choice_1_2 - -- How has your sleep been recently ? [if CurrentPatient.dialog_tree[1300] == "not_asked"] - - set CurrentPatient.dialog_tree[1300] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.change_emotion("neutral") - do CurrentPatient.dialog_flags["sleep"].append("Insomnia") - - Mr Orleg: Hard to keep my eyes shut lately, i'll admit. I definitely could use some rest. - - => day_1_choice_1 - -- How are you feeling lately ? [if CurrentPatient.dialog_tree[1400] == "not_asked"] - - set CurrentPatient.dialog_tree[1400] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.change_emotion("neutral") - do CurrentPatient.dialog_flags["mood"].append("Euthymia") - - Mr Orleg: I'm feeling rather fine, actually. My life's quite enjoyable, except for the whole "i'm locked in here cause people think i'm crazy" situation. You've got to help me Doctor. - - - Have you had any thoughts about wanting to end your life ? - - do CurrentPatient.dialog_flags["suicidal_ideation"].append("None") - - Mr Orleg: I would never dare end the life God has given me. - - => day_1_choice_1 - -- Examine [if CurrentPatient.dialog_tree[1500] == "not_asked"] - - set CurrentPatient.dialog_tree[1500] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.dialog_flags["appearance"].append("Fixed gaze") - - : The patient appears to be calm and collected. His garment is clean, if a bit crumpled. His gaze switches back and forth between a wide-eyed focus on your face, and vacantly staring at the wall. - - => day_1_choice_1 - -- Don't you feel anxious about this otherwordly being targeting you ? [if CurrentPatient.marker[0] == 5] - - set CurrentPatient.marker[0] = 0 - do CurrentPatient.change_emotion("happy") - do CurrentPatient.dialog_flags["thought_process"].append("Ideo-affective dissociation") - do CurrentPatient.dialog_flags["thought_content"].append("Megalomaniac delusions") - - Mr Orleg: Not really. I'm protected by God. No one can hurt me. - - ~ day_1_choice_1_6 - - - How do you know God protects you ? [if CurrentPatient.dialog_tree[1610] == "not_asked"] - - set CurrentPatient.dialog_tree[1610] = "asked" - set CurrentPatient.marker[2] += 1 - do CurrentPatient.dialog_flags["perceptions"].append("Intra-psychic auditory hallucinations") - - Mr Orleg: He shares his Will with me directly inside my head. We have a special connection. - - if CurrentPatient.marker[2] == 2 - set CurrentPatient.marker[2] = 0 - => day_1_choice_2 - else - => day_1_choice_1_6 - - - Have you ever seen God or this evil being with your own eyes ? [if CurrentPatient.dialog_tree[1620] == "not_asked"] - - set CurrentPatient.dialog_tree[1620] = "asked" - set CurrentPatient.marker[2] += 1 - - Mr Orleg: Never. I don't need to see them to know they're here. - - if CurrentPatient.marker[2] == 2 - set CurrentPatient.marker[2] = 0 - => day_1_choice_2 - else - => day_1_choice_1_6 - -~ day_1_choice_2 - -- Send to Reset - - Psychiatrist: You are in need of psychiatric care, Mr Orleg. My colleagues here will take you to the resetting room for adequate treatment. - - do CurrentPatient.change_emotion("scared") - - Mr Orleg: You can't do that Doctor ! This is a mistake ! - - Mr Orleg: I swear i'm not crazy ! - - do CurrentPatient.send_to_reset() - - => END - -- Send to Isolation - - Psychiatrist: I have assessed that you are currently unstable, Mr Orleg. You may be dangerous to other people, and even to yourself. We are going to Isolate you to ensure your safety. - - do CurrentPatient.change_emotion("scared") - - Mr Orleg: What ?? Th- This can't be... - - Mr Orleg: Please, have mercy... - - do CurrentPatient.send_to_isolation - - => END - -- End the evaluation - - Psychiatrist: Thank you for answering my questions, Mr Orleg. You are to remain here for further observation. - - do CurrentPatient.change_emotion("angry") - - Mr Orleg: I knew it. You are just like the others, faking compassion for profit. You disgust me. - - Psychiatrist: I am here to help you, I just need more time to make the right decision. Please be patient, sir. - - Mr Orleg: This whole thing's a joke... - - => END - -=> END - - - -~ mr_orleg_day_2_dialogue_start - -do CurrentPatient.marker.fill(0) -set CurrentPatient.dialog_tree = CurrentPatient.build_dialog_tree([1100,1200,1210,1220, 1300, 1400, 1500, 1610, 1620]) - -: The patient is hurriedly mumbling something to himself in hushed tones. He abruptly stops as you step in, fixing you with an unnerving stare. - -Mr Orleg: Back for round 2, I presume ? Ask away, Doc. - -~ day_2_choice_1 - -- How was your first night here ? [if CurrentPatient.dialog_tree[1100] == "not_asked"] - - set CurrentPatient.dialog_tree[1100] = "asked" - do CurrentPatient.marker[0] += 1 - do CurrentPatient.change_emotion("scared") - do CurrentPatient.dialog_flags["insight"].append("Insomnia") - do CurrentPatient.dialog_flags["thought_content"].append("Persecutory delusions") - - Mr Orleg: I couldn't get my eyes shut. The Deceiver never rests. I could feel him breathing on my skin in the dark. It felt cold, so cold... - - ~ day_2_choice_1_1 - - - You told me you felt safe under God's protection. Is it still the case ? [if CurrentPatient.dialog_tree[1110] == "not_asked"] - - set CurrentPatient.dialog_tree[1110] = "asked" - do CurrentPatient.marker[1] += 1 - do CurrentPatient.dialog_flags["thought_content"].append("Mystical delusions") - - Mr Orleg: Yes, I still feel his Holy Presence within me, but it's getting fainter and fainter... This place is cursed. I need to get out of here fast. - - if CurrentPatient.marker[1] == 2 - set CurrentPatient.marker[1] = 0 - => day_2_choice_1 - else - => day_2_choice_1_1 - - - Were you able to see the Deceiver ? How did you know it was Him in your room last night ? [if CurrentPatient.dialog_tree[1120] == "not_asked"] - - set CurrentPatient.dialog_tree[1120] = "asked" - do CurrentPatient.marker[1] += 1 - do CurrentPatient.dialog_flags["perceptions"].append("Mystical delusions") - - Mr Orleg: Because I KNOW it ! It starts with yellow water dripping from the ceilings, flowing more and more... the smell ! Gods, the smell... - - if CurrentPatient.marker[1] == 2 - set CurrentPatient.marker[1] = 0 - => day_2_choice_1 - else - => day_2_choice_1_1 - - => day_2_choice_1 - diff --git a/Dialogues/Patients/patient_1.dialogue.import b/Dialogues/Patients/patient_1.dialogue.import deleted file mode 100644 index 583dc43..0000000 --- a/Dialogues/Patients/patient_1.dialogue.import +++ /dev/null @@ -1,16 +0,0 @@ -[remap] - -importer="dialogue_manager" -importer_version=15 -type="Resource" -uid="uid://dh8ce25f0hs24" -path="res://.godot/imported/patient_1.dialogue-83dd5799156f714a590eef7ba3d9a0fe.tres" - -[deps] - -source_file="res://Dialogues/Patients/patient_1.dialogue" -dest_files=["res://.godot/imported/patient_1.dialogue-83dd5799156f714a590eef7ba3d9a0fe.tres"] - -[params] - -defaults=true diff --git a/Dialogues/Patients/patient_47.dialogue b/Dialogues/Patients/patient_47.dialogue new file mode 100644 index 0000000..9639f50 --- /dev/null +++ b/Dialogues/Patients/patient_47.dialogue @@ -0,0 +1,24 @@ +~ start + +do Patient.marker.fill(0) +set Patient.dialog_tree = Patient.build_dialog_tree([11,12,21,22]) + + + +do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAPSED[/color]\n\n[color=orange_red]PLEASE MAKE A DECISION[/color]") + +=> END + + +~ terminate + + + +=> END + + +~ release + + + +=> END \ No newline at end of file diff --git a/Dialogues/Patients/patient_47.dialogue.import b/Dialogues/Patients/patient_47.dialogue.import new file mode 100644 index 0000000..cb0e508 --- /dev/null +++ b/Dialogues/Patients/patient_47.dialogue.import @@ -0,0 +1,16 @@ +[remap] + +importer="dialogue_manager" +importer_version=15 +type="Resource" +uid="uid://m8v2nfsdmi8p" +path="res://.godot/imported/patient_47.dialogue-70a630bf1eec4144740803659c96165c.tres" + +[deps] + +source_file="res://Dialogues/Patients/patient_47.dialogue" +dest_files=["res://.godot/imported/patient_47.dialogue-70a630bf1eec4144740803659c96165c.tres"] + +[params] + +defaults=true diff --git a/Dialogues/Patients/patient_47_file.cfg b/Dialogues/Patients/patient_47_file.cfg new file mode 100644 index 0000000..6630c14 --- /dev/null +++ b/Dialogues/Patients/patient_47_file.cfg @@ -0,0 +1,6 @@ +initial_emotion="peaceful" +name="Tancrede Montaigu" +age="36" +profession="Unemployed" +psychiatric_assessment="MYSTICAL DELUSIONS\n\nMEGALOMANIAC DELUSIONS\n\nAUDITORY HALLUCINATIONS" +status="random" diff --git a/Dialogues/balloon_big.tscn b/Dialogues/balloon_big.tscn deleted file mode 100644 index ad2f977..0000000 --- a/Dialogues/balloon_big.tscn +++ /dev/null @@ -1,153 +0,0 @@ -[gd_scene load_steps=9 format=3 uid="uid://cqo7nnv6ovmbj"] - -[ext_resource type="Script" uid="uid://bopx5vxrplpny" path="res://Dialogues/balloon.gd" id="1_trhxk"] -[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="3_ek02p"] -[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="5_s4c7i"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_spyqn"] -bg_color = Color(0, 0, 0, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(0.329412, 0.329412, 0.329412, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ri4m3"] -bg_color = Color(0.121569, 0.121569, 0.121569, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(1, 1, 1, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e0njw"] -bg_color = Color(0, 0, 0, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(0.6, 0.6, 0.6, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uy0d5"] -bg_color = Color(0, 0, 0, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="Theme" id="Theme_qq3yp"] -default_font_size = 20 -Button/styles/disabled = SubResource("StyleBoxFlat_spyqn") -Button/styles/focus = SubResource("StyleBoxFlat_ri4m3") -Button/styles/hover = SubResource("StyleBoxFlat_e0njw") -Button/styles/normal = SubResource("StyleBoxFlat_e0njw") -MarginContainer/constants/margin_bottom = 15 -MarginContainer/constants/margin_left = 30 -MarginContainer/constants/margin_right = 30 -MarginContainer/constants/margin_top = 15 -Panel/styles/panel = SubResource("StyleBoxFlat_uy0d5") - -[node name="ExampleBalloon" type="CanvasLayer"] -layer = 100 -script = ExtResource("1_trhxk") - -[node name="Balloon" type="Control" parent="."] -unique_name_in_owner = true -layout_mode = 3 -anchors_preset = 0 -offset_top = 820.0 -offset_right = 1920.0 -offset_bottom = 1070.0 -size_flags_horizontal = 0 -size_flags_vertical = 0 -mouse_filter = 2 -mouse_force_pass_scroll_events = false -theme = SubResource("Theme_qq3yp") - -[node name="Panel" type="Panel" parent="Balloon"] -clip_children = 2 -layout_mode = 1 -offset_left = 10.0 -offset_right = 1910.0 -offset_bottom = 250.0 -mouse_force_pass_scroll_events = false - -[node name="Dialogue" type="MarginContainer" parent="Balloon/Panel"] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -mouse_filter = 2 - -[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue"] -layout_mode = 2 - -[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/VBoxContainer"] -unique_name_in_owner = true -modulate = Color(1, 1, 1, 0.501961) -layout_mode = 2 -mouse_filter = 1 -theme_override_font_sizes/normal_font_size = 25 -bbcode_enabled = true -text = "Character" -fit_content = true -scroll_active = false - -[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("3_ek02p")] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 3 -theme_override_font_sizes/normal_font_size = 30 -theme_override_font_sizes/bold_font_size = 30 -theme_override_font_sizes/bold_italics_font_size = 30 -theme_override_font_sizes/italics_font_size = 30 -theme_override_font_sizes/mono_font_size = 30 -text = "Dialogue..." - -[node name="Responses" type="MarginContainer" parent="Balloon"] -layout_mode = 1 -anchors_preset = 7 -anchor_left = 0.5 -anchor_top = 1.0 -anchor_right = 0.5 -anchor_bottom = 1.0 -offset_left = -105.0 -offset_top = -666.0 -offset_right = 536.0 -offset_bottom = -253.0 -grow_horizontal = 2 -grow_vertical = 0 - -[node name="ResponsesMenu" type="VBoxContainer" parent="Balloon/Responses" node_paths=PackedStringArray("response_template")] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 8 -theme_override_constants/separation = 2 -script = ExtResource("5_s4c7i") -response_template = NodePath("ResponseExample") - -[node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"] -layout_mode = 2 -text = "Response example" - -[connection signal="gui_input" from="Balloon" to="." method="_on_balloon_gui_input"] -[connection signal="gui_input" from="Balloon/Panel" to="." method="_on_balloon_gui_input"] -[connection signal="response_selected" from="Balloon/Responses/ResponsesMenu" to="." method="_on_responses_menu_response_selected"] diff --git a/Dialogues/balloon_test.tscn b/Dialogues/balloon_screening.tscn similarity index 90% rename from Dialogues/balloon_test.tscn rename to Dialogues/balloon_screening.tscn index c29d3b0..824f775 100644 --- a/Dialogues/balloon_test.tscn +++ b/Dialogues/balloon_screening.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=11 format=3 uid="uid://7uw7j7ymucjx"] -[ext_resource type="Script" uid="uid://bopx5vxrplpny" path="res://Dialogues/balloon.gd" id="1_okgs6"] -[ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="2_d4irk"] -[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="3_sg5qg"] -[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="5_cd5om"] +[ext_resource type="Script" uid="uid://bopx5vxrplpny" path="res://Dialogues/balloon.gd" id="1_qpb08"] +[ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="2_iaaie"] +[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="3_7nttf"] +[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="4_n1yqk"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sfbl0"] content_margin_top = 20.0 @@ -45,7 +45,7 @@ Panel/styles/panel = SubResource("StyleBoxEmpty_cypdp") [node name="ExampleBalloon" type="CanvasLayer"] layer = 100 -script = ExtResource("1_okgs6") +script = ExtResource("1_qpb08") [node name="Balloon" type="Control" parent="."] unique_name_in_owner = true @@ -98,14 +98,14 @@ theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_constants/shadow_outline_size = 0 theme_override_constants/outline_size = 0 -theme_override_fonts/normal_font = ExtResource("2_d4irk") +theme_override_fonts/normal_font = ExtResource("2_iaaie") theme_override_font_sizes/normal_font_size = 24 bbcode_enabled = true text = "Character" fit_content = true scroll_active = false -[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("3_sg5qg")] +[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("3_7nttf")] unique_name_in_owner = true clip_contents = false layout_mode = 2 @@ -115,7 +115,7 @@ theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_constants/line_separation = 10 theme_override_constants/shadow_outline_size = 6 theme_override_constants/outline_size = 12 -theme_override_fonts/normal_font = ExtResource("2_d4irk") +theme_override_fonts/normal_font = ExtResource("2_iaaie") theme_override_font_sizes/normal_font_size = 24 text = "Dialogue..." @@ -141,12 +141,12 @@ theme_override_constants/margin_bottom = 28 unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 2 -script = ExtResource("5_cd5om") +script = ExtResource("4_n1yqk") response_template = NodePath("ResponseExample") [node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"] layout_mode = 2 -theme_override_fonts/font = ExtResource("2_d4irk") +theme_override_fonts/font = ExtResource("2_iaaie") theme_override_font_sizes/font_size = 16 text = "What brought you here ?" autowrap_mode = 2 diff --git a/addons/godot-git-plugin/win64/~libgit_plugin.windows.editor.x86_64.dll b/addons/godot-git-plugin/win64/~libgit_plugin.windows.editor.x86_64.dll deleted file mode 100644 index 47bbb1d..0000000 Binary files a/addons/godot-git-plugin/win64/~libgit_plugin.windows.editor.x86_64.dll and /dev/null differ diff --git a/confirmation_dialog.tscn b/confirmation_dialog.tscn index d177f19..56d6eb7 100644 --- a/confirmation_dialog.tscn +++ b/confirmation_dialog.tscn @@ -47,6 +47,9 @@ size_flags_stretch_ratio = 3.0 theme_override_fonts/normal_font = ExtResource("1_6ucym") theme_override_font_sizes/normal_font_size = 25 bbcode_enabled = true +text = "Are you sure you want to make this choice ?" +horizontal_alignment = 1 +vertical_alignment = 1 [node name="MarginContainer" type="MarginContainer" parent="ConfirmationDialog/MarginContainer/VBoxContainer"] layout_mode = 2 diff --git a/current_patient.gd b/current_patient.gd index 579103c..701c3d8 100644 --- a/current_patient.gd +++ b/current_patient.gd @@ -71,7 +71,8 @@ func new_patient(): #Loading Face Emotions var face: Resource var emotion_branch: Dictionary - var emotion_list = ["neutral", "puzzled", "smiling", "laughing", "happy", "elated", "maniac", "irritated", "angry", + var emotion_list = ["neutral", "peaceful", "praying", "puzzled", + "smiling", "laughing", "happy", "elated", "maniac", "irritated", "angry", "sad", "crying", "worried", "scared", "shocked", "panicked", "suspicious", "abnormal"] emotions.clear() #Clearing previous patient emotions diff --git a/globals.gd b/globals.gd index e5ee7bc..21ca01e 100644 --- a/globals.gd +++ b/globals.gd @@ -4,18 +4,20 @@ var is_transitioning : bool = false var day_count : int = 1 var floor_count : int = -1 var patient_count : int = 1 -var diagnoses_quota : int = 4 +var diagnoses_quota : int = 1 var daily_patient_limit : int = 3 var patient_list = ["48", "49", "50", "2202"] var patients_seen: Array[String] var patient_id = patient_list.pick_random() var dialogue_intro = load("res://Dialogues/intro.dialogue") var dialogue_recovery = load("res://Dialogues/recovery.dialogue") -var directives = "[center][font_size=22]INSTRUCTIONS[/font_size][/center] -\n\n\n[color=forest_green]RELEASE[/color] HUMANS, [color=red]TERMINATE[/color] ABNORMALS -\n\nIF A SUBJECT PRESENTS [color=dark_orange]SYMPTOMS[/color] UNDETECTED BY PRE-SCREENING, [color=red]IT IS NOT HUMAN[/color] -\n\nREFER TO THE [color=red]MANUAL[/color] ON THE DESK FOR MORE INFORMATION ON [color=dark_orange]SYMPTOMS[/color] -\n\nMAKE ENOUGH [color=green_yellow]ACCURATE DIAGNOSES[/color] IN A ROW TO GET TO THE NEXT FLOOR" +var directives = "\n[center][font_size=22]INSTRUCTIONS[/font_size][/center] +\n\n[font_size=18][color=forest_green]RELEASE[/color] HUMANS, [color=red]TERMINATE[/color] ABNORMALS +\n\nIF A SUBJECT HAS [color=dark_orange]SYMPTOMS[/color] IT SHOULDN'T HAVE, +\n [color=red]IT IS NOT HUMAN[/color] +\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 +\nTO GET TO THE NEXT FLOOR[/font_size]" signal console_message signal response_chosen(DialogueResponse) diff --git a/main_hub.gd b/main_hub.gd index d874160..ae63d2e 100644 --- a/main_hub.gd +++ b/main_hub.gd @@ -49,7 +49,7 @@ func _on_new_game_pressed(): Globals.day_count = 1 # DISABLED FOR NOW SINCE THERE'S NO INTRO ANYMORE #Offering to skip the introduction - #var choice_text = "[center]Do you wish to skip the introduction ?[/center]" + #var choice_text = "Do you wish to skip the introduction ?" #UI.ask_confirmation(start_day, play_intro, choice_text) start_day() @@ -94,26 +94,6 @@ func start_day(): await TransitionScreen.transition_finished - -#Ends the day and starts the next one -func _on_recovery_pressed(): - - #Transitioning to the bedroom - var scenes_to_hide: Array[Node] = [$ScreeningDesk.end_of_day_controls, $ScreeningDesk] - var scenes_to_show: Array[Node] = [$Bedroom] - TransitionScreen.transition("big", scenes_to_hide, scenes_to_show) - await TransitionScreen.transition_finished - - #End of day dialogue - start_balloon("big", Globals.dialogue_recovery, "end_of_day_" + str(Globals.day_count)) - await DialogueManager.dialogue_ended - - #Start of the next day - Globals.day_count += 1 - start_day() - - - #Saves game state on the selected save slot func save_game(save_slot_number:int): @@ -254,18 +234,18 @@ func update_slots(): #Starts a balloon dialogue -func start_balloon(panel_size:String, dialogue_resource: Resource, start_title: String): +func start_balloon(balloon_type:String, dialogue_resource: Resource, start_title: String): #Clearing previous balloon clear_balloon() #Instantiating a custom balloon - var Balloon: Resource = load("res://Dialogues/balloon_" + panel_size + ".tscn") + var Balloon: Resource = load("res://Dialogues/balloon_" + balloon_type + ".tscn") balloon = Balloon.instantiate() get_tree().current_scene.add_child(balloon) #Connects emotion signals if needed - if panel_size == "test": + if balloon_type == "screening": DialogueManager.got_dialogue.connect($ScreeningDesk._change_emotion) DialogueManager.got_dialogue.connect($ScreeningDesk._recording_text) diff --git a/project.godot b/project.godot index f6f225c..c108dc7 100644 --- a/project.godot +++ b/project.godot @@ -55,4 +55,4 @@ ui_select={ [internationalization] -locale/translations_pot_files=PackedStringArray("res://Dialogues/Patients/patient_1.dialogue", "res://Dialogues/Patients/patient_2202.dialogue", "res://Dialogues/Patients/patient_50.dialogue", "res://Dialogues/Patients/patient_49.dialogue", "res://Dialogues/Patients/patient_48.dialogue") +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") diff --git a/screening_desk.gd b/screening_desk.gd index 4afb26d..971d73f 100644 --- a/screening_desk.gd +++ b/screening_desk.gd @@ -29,6 +29,7 @@ extends Control @onready var backroom = $RoomAssets/Backroom @onready var red_backroom = $RoomAssets/RedBackroom @onready var green_backroom = $RoomAssets/GreenBackroom +@onready var backwall_animation = $RoomAssets/Backwall/BackwallAnimation #DialogueAssets @onready var patient_dialogue_resource: Resource @@ -88,10 +89,15 @@ func new_patient(): func _on_call_next_patient_pressed(): #Brings in next patient and sets up the desk controls - #Hiding the computer screen + #Hiding the next_patient button and shows transition messages on computer and console var scenes_to_hide = [next_patient] for scenes in scenes_to_hide: scenes.hide() + var message : String + message = "TARGET ID : " + Globals.colorize("#" + Globals.patient_id, "orange_red") + "\n\n" + "COMPUTING CELL TRANSLATION..." + computer_display(message) + message = Globals.colorize("- BRINGING IN NEXT PATIENT -", "dark_orange") + console_display(message) #ShuttersIncoming shutters_animation.play("incoming") @@ -117,8 +123,9 @@ func _on_call_next_patient_pressed(): #Brings in next patient and sets up the de terminate.text = Globals.colorize("TERMINATE", "dark_red") #Starting Dialogue and hiding console screen + computer_screen.hide() console_screen.hide() - main.start_balloon("test", Patient.dialogue_resource, "start") + main.start_balloon("screening", Patient.dialogue_resource, "start") #Showing Computer Tabs and showing Patient File by default for node in [tab_patient_file, tab_rules, tab_recording]: @@ -255,12 +262,14 @@ func clear_patient(choice:String): #Clears patient and transitions towards next #Final Patient Dialogue - main.start_balloon("test", Patient.dialogue_resource, choice) + 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"): accurate_diagnoses += 1 + else: + accurate_diagnoses = 0 # Resetting to 0 if the player makes a wrong diagnosis update_middle_screen(Globals.day_count, Globals.floor_count, accurate_diagnoses, Globals.diagnoses_quota) #Showing second console message @@ -281,20 +290,13 @@ func clear_patient(choice:String): #Clears patient and transitions towards next console_display(Globals.directives) computer_screen.hide() - #Updating patient count - Globals.patient_count += 1 - if Globals.patient_count <= Globals.daily_patient_limit: - print("daily_limit not reached") + #Descending Floor if diagnoses_quota reached + if accurate_diagnoses == Globals.diagnoses_quota: + descend_floor() else: - print("daily_limit reached") - - if Globals.patient_count <= Globals.daily_patient_limit: - #Setting Up Next Patient new_patient() next_patient.show() - else: - Globals.patient_count = 1 - end_day.show() + #Reenabling mouse filter and resetting buttons for button in [green_button, red_button]: @@ -328,3 +330,32 @@ func update_middle_screen(day_count, floor_count, diagnoses_count, diagnoses_quo var text = "DAY: " + day + "\n\nFLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses middle_screen.text = text + +func descend_floor(): #Descends to next floor + + #Displaying information on screens + var message : String + message = Globals.colorize("DIAGNOSES QUOTA REACHED", "green_yellow") + "\n\n" + "SECURITY CLEARANCE UPDATED" + "\n\n" + Globals.colorize("ACCESS TO NEXT FLOOR AUTHORIZED", "green") + computer_display(message) + message = Globals.colorize("- DESCENT PROTOCOL INITIATED -\n\n- TRANSLATING TO NEXT FLOOR -", "dark_orange") + console_display(message) + + #Descending animation + backwall_animation.play("going_down_1") + await backwall_animation.animation_finished + backwall_animation.play("going_down_2") + await backwall_animation.animation_finished + + #Updating middle screen info + Globals.floor_count -= 1 + accurate_diagnoses = 0 + Globals.diagnoses_quota += 1 + update_middle_screen(Globals.day_count, Globals.floor_count, accurate_diagnoses, Globals.diagnoses_quota) + + #Hiding screen messages + computer_screen.hide() + console_screen.hide() + + #Setting up new patient + new_patient() + next_patient.show() diff --git a/screening_desk.tscn b/screening_desk.tscn index 9ea22df..6feb84a 100644 --- a/screening_desk.tscn +++ b/screening_desk.tscn @@ -1,8 +1,8 @@ -[gd_scene load_steps=53 format=3 uid="uid://chytk2cctjk3x"] +[gd_scene load_steps=49 format=3 uid="uid://chytk2cctjk3x"] [ext_resource type="Script" uid="uid://b3ms0imu0umn8" path="res://screening_desk.gd" id="1_1s7k3"] -[ext_resource type="Texture2D" uid="uid://1lm8p2lk2u5c" path="res://Art/Patients/patient_48/patient_48_neutral.png" id="3_63o5x"] [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://d67mgk5t0ipe" path="res://Art/Patients/patient_47/patient_47_peaceful.png" id="3_w70jd"] [ext_resource type="Texture2D" uid="uid://by34irl73n8pb" path="res://Art/Rooms/screening_room/backroom.png" id="4_fij8w"] [ext_resource type="Texture2D" uid="uid://ds1whnmwt7xjt" path="res://Art/Rooms/screening_room/screening_room.png" id="5_aa8r5"] [ext_resource type="Texture2D" uid="uid://4qtc0tkq2wba" path="res://Art/Rooms/screening_room/shutter_top.png" id="6_1rj24"] @@ -21,9 +21,7 @@ [ext_resource type="Texture2D" uid="uid://dja217ihoi5rb" path="res://Art/Rooms/screening_room/green_button_hover.png" id="12_rpmuh"] [ext_resource type="Texture2D" uid="uid://kfq5b58sicqf" path="res://Art/Rooms/screening_room/red_button_pressed.png" id="13_lq4cy"] [ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="14_0pvwy"] -[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="15_l8po4"] [ext_resource type="Texture2D" uid="uid://c35f0aquvroje" path="res://Art/Rooms/screening_room/red_button_hover.png" id="15_pbvyq"] -[ext_resource type="Script" uid="uid://bb52rsfwhkxbn" path="res://addons/dialogue_manager/dialogue_responses_menu.gd" id="16_16ney"] [ext_resource type="Texture2D" uid="uid://4tgfgi4earv1" path="res://Art/Rooms/screening_room/journal_unpressed.png" id="17_7o31y"] [ext_resource type="Texture2D" uid="uid://djhhkejop4636" path="res://Art/Rooms/screening_room/tea_cup.png" id="17_son5s"] [ext_resource type="Texture2D" uid="uid://1djtmkdqtplt" path="res://Art/Rooms/screening_room/journal_pressed.png" id="18_gv516"] @@ -37,65 +35,6 @@ [sub_resource type="Theme" id="Theme_63o5x"] RichTextLabel/fonts/normal_font = ExtResource("14_0pvwy") -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_spyqn"] -bg_color = Color(0, 0, 0, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(0.329412, 0.329412, 0.329412, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ri4m3"] -bg_color = Color(0.121569, 0.121569, 0.121569, 1) -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(1, 1, 1, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e0njw"] -border_width_left = 3 -border_width_top = 3 -border_width_right = 3 -border_width_bottom = 3 -border_color = Color(0.6, 0.6, 0.6, 1) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vou70"] -bg_color = Color(0.6, 0.6, 0.6, 0) -border_width_left = 1 -border_width_top = 1 -border_width_right = 1 -border_width_bottom = 1 -expand_margin_bottom = 6.0 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4ait8"] -bg_color = Color(0, 0, 0, 1) - -[sub_resource type="Theme" id="Theme_kfxnd"] -default_font_size = 20 -Button/constants/outline_size = 3 -Button/styles/disabled = SubResource("StyleBoxFlat_spyqn") -Button/styles/focus = SubResource("StyleBoxFlat_ri4m3") -Button/styles/hover = SubResource("StyleBoxFlat_e0njw") -Button/styles/normal = SubResource("StyleBoxFlat_vou70") -MarginContainer/constants/margin_bottom = 15 -MarginContainer/constants/margin_left = 30 -MarginContainer/constants/margin_right = 30 -MarginContainer/constants/margin_top = 15 -Panel/styles/panel = SubResource("StyleBoxFlat_4ait8") - [sub_resource type="Theme" id="Theme_dahej"] default_font = ExtResource("14_0pvwy") RichTextLabel/colors/default_color = Color(0, 0, 0, 1) @@ -132,6 +71,60 @@ Button/styles/hover = SubResource("StyleBoxFlat_3lob0") Button/styles/normal = SubResource("StyleBoxFlat_wj8aa") Button/styles/pressed = SubResource("StyleBoxFlat_5jbc5") +[sub_resource type="Animation" id="Animation_ub1ft"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Backwall:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(0, -2160)] +} + +[sub_resource type="Animation" id="Animation_63o5x"] +resource_name = "going_down" +length = 4.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Backwall:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 2), +"transitions": PackedFloat32Array(2.5, 1), +"update": 0, +"values": [Vector2(0, -2160), Vector2(0, -4320)] +} + +[sub_resource type="Animation" id="Animation_ylm1s"] +resource_name = "going_down_2" +length = 4.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Backwall:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 3), +"transitions": PackedFloat32Array(0.3, 1), +"update": 0, +"values": [Vector2(0, 0), Vector2(0, -2160)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ylm1s"] +_data = { +&"RESET": SubResource("Animation_ub1ft"), +&"going_down_1": SubResource("Animation_63o5x"), +&"going_down_2": SubResource("Animation_ylm1s") +} + [sub_resource type="Animation" id="Animation_hai4a"] length = 0.001 tracks/0/type = "value" @@ -355,95 +348,9 @@ offset_top = -450.0 offset_right = 300.0 grow_horizontal = 2 grow_vertical = 0 -texture = ExtResource("3_63o5x") +texture = ExtResource("3_w70jd") stretch_mode = 3 -[node name="Balloon" type="Control" parent="."] -unique_name_in_owner = true -visible = false -z_index = 6 -anchors_preset = 0 -offset_left = 1267.0 -offset_top = 730.0 -offset_right = 1267.0 -offset_bottom = 730.0 -size_flags_horizontal = 0 -size_flags_vertical = 0 -mouse_filter = 2 -mouse_force_pass_scroll_events = false -theme = SubResource("Theme_kfxnd") - -[node name="Panel" type="Panel" parent="Balloon"] -clip_children = 2 -layout_mode = 1 -offset_left = -11.0 -offset_top = -9.0 -offset_right = 617.0 -offset_bottom = 186.0 -mouse_force_pass_scroll_events = false - -[node name="Dialogue" type="MarginContainer" parent="Balloon/Panel"] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -mouse_filter = 2 - -[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue"] -layout_mode = 2 - -[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/VBoxContainer"] -unique_name_in_owner = true -modulate = Color(1, 1, 1, 0.501961) -layout_mode = 2 -mouse_filter = 1 -theme_override_fonts/normal_font = ExtResource("14_0pvwy") -theme_override_font_sizes/normal_font_size = 16 -bbcode_enabled = true -text = "Character" -fit_content = true -scroll_active = false - -[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("15_l8po4")] -layout_mode = 2 -size_flags_vertical = 3 -theme_override_fonts/normal_font = ExtResource("14_0pvwy") -theme_override_font_sizes/normal_font_size = 18 -theme_override_font_sizes/bold_font_size = 18 -theme_override_font_sizes/bold_italics_font_size = 18 -theme_override_font_sizes/italics_font_size = 18 -theme_override_font_sizes/mono_font_size = 18 -text = "Dialogue..." - -[node name="Responses" type="MarginContainer" parent="Balloon"] -layout_mode = 1 -anchors_preset = 7 -anchor_left = 0.5 -anchor_top = 1.0 -anchor_right = 0.5 -anchor_bottom = 1.0 -offset_left = -11.0 -offset_top = 186.0 -offset_right = 616.0 -offset_bottom = 326.0 -grow_horizontal = 2 -grow_vertical = 0 - -[node name="ResponsesMenu" type="VBoxContainer" parent="Balloon/Responses" node_paths=PackedStringArray("response_template")] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 8 -theme_override_constants/separation = 2 -script = ExtResource("16_16ney") -response_template = NodePath("ResponseExample") - -[node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"] -layout_mode = 2 -theme_override_fonts/font = ExtResource("14_0pvwy") -text = "Response example" - [node name="LowerHalf" type="Control" parent="."] z_index = 6 layout_mode = 1 @@ -674,18 +581,25 @@ theme_override_constants/margin_bottom = 28 custom_minimum_size = Vector2(600, 200) layout_mode = 2 theme_override_fonts/normal_font = ExtResource("14_0pvwy") -theme_override_font_sizes/normal_font_size = 20 +theme_override_font_sizes/normal_font_size = 18 bbcode_enabled = true text = "[center][font_size=22]INSTRUCTIONS[/font_size][/center] [color=forest_green]RELEASE[/color] HUMANS, [color=red]TERMINATE[/color] ABNORMALS -IF A SUBJECT PRESENTS [color=dark_orange]SYMPTOMS[/color] UNDETECTED BY PRE-SCREENING, [color=red]IT IS NOT HUMAN[/color] -REFER TO THE [color=royal_blue]MANUAL[/color] ON THE DESK FOR MORE INFORMATION ON [color=dark_orange]SYMPTOMS[/color] +IF A SUBJECT HAS [color=dark_orange]SYMPTOMS[/color] IT SHOULDN'T HAVE, -MAKE ENOUGH [color=green_yellow]ACCURATE DIAGNOSES[/color] IN A ROW TO GET TO THE NEXT FLOOR" + [color=red]IT IS NOT HUMAN[/color] + + +REFER TO THE [color=royal_blue]MANUAL[/color] FOR [color=dark_orange]SYMPTOMS[/color] DETAILS + + +MAKE ENOUGH [color=green_yellow]ACCURATE DIAGNOSES[/color] IN A ROW + +TO GET TO THE NEXT FLOOR" horizontal_alignment = 1 vertical_alignment = 1 @@ -1058,6 +972,8 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +offset_top = -2160.0 +offset_bottom = 2160.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 @@ -1065,6 +981,12 @@ size_flags_vertical = 3 mouse_filter = 2 texture = ExtResource("6_5772r") +[node name="BackwallAnimation" type="AnimationPlayer" parent="RoomAssets/Backwall"] +root_node = NodePath("../..") +libraries = { +&"": SubResource("AnimationLibrary_ylm1s") +} + [node name="ShutterTop" type="TextureRect" parent="RoomAssets"] z_index = 3 layout_mode = 1