~ start do Patient.marker.fill(0) set Patient.dialog_tree = Patient.build_dialog_tree([11,12,13,14,21,22,23]) The patient gazes down at you from a towering height. Igor Semya: [#neutral] You are here to help, I know. Igor Semya: [#neutral] Ask questions. I answer. ~ part_1 if Patient.marker[1] >= 4 => part_2 - What events led you to be here ? [if Patient.dialog_tree[11] == "not_asked"] set Patient.dialog_tree[11] = "asked" do Patient.marker[1] += 1 Igor Semya: [#neutral] I go to bar. I drink a lot. I get drunk. I break things. Igor Semya: [#neutral] Police come, arrest me. Then they bring me here, do not know why. => part_1 - 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_1 - 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_1 - 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_1 ~ part_2 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