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
+62
View File
@@ -0,0 +1,62 @@
~ mr_orleg_day_1_dialogue_start
#dialog_branch[1215] signifie dialog_branch[choix_1][answer_2][answer_1][answer_5]
set CurrentPatient.marker = 0
: 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_branch[11] == false]
set CurrentPatient.dialog_branch[11] = 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_branch[12] == false]
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_branch[121] == false]
set CurrentPatient.dialog_branch[121] = 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.dialog_branch[12] = true
set CurrentPatient.marker = 0
set CurrentPatient.dialog_flags["delusions"] = "Mystical and Persecutory"
=> choice_1
else
=> choice_1_2
- Which of my colleagues are you talking about ? [if CurrentPatient.dialog_branch[122] == false]
set CurrentPatient.dialog_branch[122] = 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.dialog_branch[12] = true
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
+15
View File
@@ -0,0 +1,15 @@
[remap]
importer="dialogue_manager_compiler_14"
type="Resource"
uid="uid://d180ahgobkj4e"
path="res://.godot/imported/mr_orleg.dialogue-de858637a612f91e5bc83867aa2a9e9f.tres"
[deps]
source_file="res://dialogues/mr_orleg.dialogue"
dest_files=["res://.godot/imported/mr_orleg.dialogue-de858637a612f91e5bc83867aa2a9e9f.tres"]
[params]
defaults=true
+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
+15
View File
@@ -0,0 +1,15 @@
[remap]
importer="dialogue_manager_compiler_14"
type="Resource"
uid="uid://j4cb2hniy7mk"
path="res://.godot/imported/test.dialogue-dc69268be77aa19a4b95a0f66b796254.tres"
[deps]
source_file="res://dialogues/test.dialogue"
dest_files=["res://.godot/imported/test.dialogue-dc69268be77aa19a4b95a0f66b796254.tres"]
[params]
defaults=true