~ start do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13,14,21,22,23]) The patient looks at you with visible glee. Ndiaye Demba: [#happy] Aaah, at last a friendly face in this weird place ! Ndiaye Demba: [#happy] So, how is it outside ? What's your job ? Who's your favourite actor ? Tell me everything ! ~ part_1 - I am here to evaluate you, sir. Please focus on answering my questions, or I won't be able to help you. Ndiaye Demba: [#smiling] Fiiine. Let's start then, I can't wait ! => part_2 - We don't have time for chitchat. I ask the questions, you answer. Ndiaye Demba: [#smiling] Alright, alright, sorry sorry. Tell me what you wanna know. => part_2 - Keep on blabbering and see what happens. Ndiaye Demba: [#puzzled] Not the fun type, are you ? Fine, you ruined my mood anyways. => part_2 ~ part_2 if Patient.marker[1] >= 4 => part_3 - I need to know your story. What happened ? [if Patient.dialog_tree[11] == "not_asked"] set Patient.dialog_tree[11] = "asked" do Patient.marker[1] += 1 Ndiaye Demba: [#happy] Of course, of course ! I was at my university, attending lectures and all that, y'know ? Engineering can be a doozy sometimes, but it's worth persevering through ! Ndiaye Demba: [#puzzled] And then, I started helping the professor explain things. After all, who wouldn't want a little help ? But the professor didn't like that, for some reason. Ndiaye Demba: [#irritated] He wanted me to "sit down and listen quietly". Ungrateful prick. I didn't oblige of course, I'm not a loser. Ndiaye Demba: [#angry] So he called security. I was taken at the town of I-don't-know-where, and somehow ended up here. What a joke. Ndiaye Demba: [#happy] Weird story, right ? That's life for ya. Sometimes, strange things happen, even to the best of us. => part_2 - Do you feel safe here ? Is there anyone threatening you ? [if Patient.dialog_tree[12] == "not_asked"] set Patient.dialog_tree[12] = "asked" do Patient.marker[1] += 1 Igor Semya: [#sad] No one threatens me. No one dares. Igor Semya: [#depressed] I am big. I scare people away. => part_2 - How's your job going ? [if Patient.dialog_tree[13] == "not_asked"] set Patient.dialog_tree[13] = "asked" do Patient.marker[1] += 1 Igor Semya: [#neutral] Good. I work in factory. Melt iron to build machines. Igor Semya: [#sad] It's good job, but very hard. Very tired. => part_2 - Do you hear any voices ? Any sounds out of the ordinary ? [if Patient.dialog_tree[14] == "not_asked"] set Patient.dialog_tree[14] = "asked" do Patient.marker[1] += 1 Igor Semya: [#puzzled] No. I am not mad. => part_2 ~ part_3 if Patient.marker[2] >= 3 => part_end - Do you have any active thoughts about ending your life ? [if Patient.dialog_tree[21] == "not_asked"] set Patient.dialog_tree[21] = "asked" do Patient.marker[2] += 1 Igor Semya: [#sad] Yes, a lot. I want pain to end. No other way. Igor Semya: [#depressed] My fault. All my fault. I deserve not life. - Is there anything you still want to live for ? Igor Semya: [#sadsmiling] ... Yes. My family still here. In my heart. I know. if Patient.abnormal == true Igor Semya: [#smiling] I can feel them inside me. They move. Scratch my heart. Punch my lungs. It's pain, but it's good. else Igor Semya: [#sadsmiling] I want stop drink. Be good. And go see my daughter again. => part_2 - What made you drink so much that day ? [if Patient.dialog_tree[22] == "not_asked"] set Patient.dialog_tree[22] = "asked" do Patient.marker[2] += 1 Igor Semya: [#sad] I drink lot. Too much. Before work, I drink. After work, I drink. Igor Semya: [#worried] My wife angry. Wants me stop drink. We argue. Our daughter cry. I angry too, I break walls or table. Igor Semya: [#sad] One day, I come home. There is no one. My family, gone. My wife leave message, says she wants good life for daughter. Igor Semya: [#depressed] After this, life no taste anymore. Only sadness. Only drink. => part_2 - You said you tend to break things when you are drunk. Were you ever physically violent with other people ? [if Patient.dialog_tree[23] == "not_asked"] set Patient.dialog_tree[23] = "asked" do Patient.marker[2] += 1 Igor Semya: [#worried] ... Yes. When I drink too much. Igor Semya: [#shocked] One day, I am angry. Very angry. I punch wife. She flies to wall. Igor Semya: [#depressed] I apologize a lot. But I see my wife eyes. After this day, she no love me anymore. Only fear. => part_2 ~ part_end Igor Semya: [#depressed] I answered questions. Your turn now. Help or kill. Your choice. 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 if Patient.abnormal == true Igor Semya: [#panicked] I can feel them ! My family ! Igor Semya: [#terrified] They walk on guts ! They tear my insides !! Igor Semya: [#abnormal1] They are [color=orange]WITH ME[/color] ! They are [color=orange_red]IN ME[/color] !! do Globals.color_change.emit("red") do Globals.character_label_color_change.emit(Color(0.8, 0.4, 0.8, 1.0)) Polina Semya: [#abnormal2] We need to get out ! To [color=red]GET OUT[/color] !! do Globals.character_label_color_change.emit(Color(0.9, 0.7, 0.9, 1.0)) Uliana Semya: [#abnormal2] I'm scared Mommy ! I don't want to leave Daddy ! else Igor Semya: [#panicked] Wait. Please, no ! I am scared ! do Globals.color_change.emit("red") Igor Semya: [#terrified] I am not mad ! I swear !! do Globals.clear_patient.emit("terminate") => END ~ release if Patient.abnormal == true Igor Semya: [#panicked] I can feel them ! My family ! Igor Semya: [#terrified] They walk on guts ! They tear my insides !! Igor Semya: [#abnormal1] They are [color=orange]WITH ME[/color] ! They are [color=orange_red]IN ME[/color] !! do Globals.color_change.emit("green") do Globals.character_label_color_change.emit(Color(0.8, 0.4, 0.8, 1.0)) Polina Semya: [#abnormal2] We need to get out ! To [color=red]GET OUT[/color] !! do Globals.character_label_color_change.emit(Color(0.9, 0.7, 0.9, 1.0)) Uliana Semya: [#abnormal2] I'm scared Mommy ! I don't want to leave Daddy ! else Igor Semya: [#sad] So you choose life. do Globals.color_change.emit("green") Igor Semya: [#sadsmiling] I will try to be good. And see my family again. Thank you. do Globals.clear_patient.emit("release") => END