début de coding

This commit is contained in:
2025-02-25 01:32:10 +01:00
commit 76312b34d9
135 changed files with 15611 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
~ mr_orleg_day_1_dialogue_start
set CurrentPatient.marker = 0
do CurrentPatient.build_dialog_tree([110,120,121,122,130,210,220,230,310,320,330])
: 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 !
~ choice_1
- Tell me why you were brought here. [if CurrentPatient.dialog_tree[1][1]["completed"] == false]
set CurrentPatient.dialog_tree[1][1]["completed"] = true
do CurrentPatient.change_emotion("neutral")
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 ?!
=> choice_1
- Do you feel safe in this room ? [if CurrentPatient.dialog_tree[1][2]["completed"] == false]
set CurrentPatient.dialog_tree[1][2]["completed"] = true
do CurrentPatient.change_emotion("scared")
set CurrentPatient.dialog_flags["delusions"] = "Mystical and Persecutory"
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.
~ choice_1_2
- Who's "he" ? [if CurrentPatient.dialog_tree[1][2][1]["completed"] == false]
set CurrentPatient.dialog_tree[1][2][1]["completed"] = true
do CurrentPatient.marker += 1
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 == 2
set CurrentPatient.marker = 0
=> choice_1
else
=> choice_1_2
- Which of my colleagues are you talking about ? [if CurrentPatient.dialog_tree[1][2][2]["completed"] == false]
set CurrentPatient.dialog_tree[1][2][2]["completed"] = true
do CurrentPatient.marker += 1
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 == 2
set CurrentPatient.marker = 0
=> choice_1
else
=> choice_1_2
- Have you ever been hospitalized in Psychiatry before ?
- Do you have any relatives suffering from a psychiatric condition ?
- Did you sleep well last night ?
- Start again => mr_orleg_day_1_dialogue_start
- End the conversation => END
=> END