UI code reorganizing

This commit is contained in:
2026-03-04 00:24:25 +01:00
parent 75d130fc88
commit 150fffadb9
17 changed files with 349 additions and 416 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
initial_emotion="worried"
name="Samia Al-Adouani"
age="31"
profession="Violonist"
profession="Violinist"
psychiatric_assessment="AUDITORY HALLUCINATIONS"
abnormal_symptoms="SUICIDAL IDEATIONS"
status="random"
+6 -6
View File
@@ -44,18 +44,18 @@ Thomas Bertrand: [#peaceful] Ask your questions, young one.
~ part_2
if Patient.marker[0] == 5
if Patient.marker[2] >= 5
=> part_3
- Why are you praying ? [if Patient.dialog_tree[21] == "not_asked"]
set Patient.dialog_tree[21] = "asked"
do Patient.marker[0] += 1
do Patient.marker[2] += 1
Thomas Bertrand: [#neutral] I am reinforcing my faith, child. Pray begets belief, and belief begets knowledge.
Thomas Bertrand: [#praying] Thus through prayer the truth of the world shall be revealed unto me.
- Who are you praying to ? [if Patient.dialog_tree[22] == "not_asked"]
set Patient.dialog_tree[22] = "asked"
do Patient.marker[0] += 1
do Patient.marker[2] += 1
Thomas Bertrand: [#smiling] Why, to myself of course. Who else ?
- Does that mean you are a godly being ?
@@ -72,19 +72,19 @@ if Patient.marker[0] == 5
- How can you be certain you are so special, so blessed ? [if Patient.dialog_tree[23] == "not_asked"]
set Patient.dialog_tree[23] = "asked"
do Patient.marker[0] += 1
do Patient.marker[2] += 1
Thomas Bertrand: [#neutral] Certainty is belief equated with knowledge. I am both. That is proof enough.
=> part_2
- Do you hear voices talking to you ? [if Patient.dialog_tree[24] == "not_asked"]
set Patient.dialog_tree[24] = "asked"
do Patient.marker[0] += 1
do Patient.marker[2] += 1
Thomas Bertrand: [#praying] Yes... I can hear myself whispering in my ears. My own mind, pondering upon itself. A loop of holy truth.
=> part_2
- Do you feel safe here ? Is there anyone trying to harm you ? [if Patient.dialog_tree[25] == "not_asked"]
set Patient.dialog_tree[25] = "asked"
do Patient.marker[0] += 1
do Patient.marker[2] += 1
if Patient.abnormal == true
Thomas Bertrand: [#surprised] Are you referring to It ? It is here ?!
Thomas Bertrand: [#scared] The Great Deceiver ! It That Thirsts for Truth ! If It finds me, I am in great danger !
+41 -59
View File
@@ -5,37 +5,36 @@ set Patient.dialog_tree = Patient.build_dialog_tree([11,12,21,22])
Phil Fossa: [#smiling] About time ! You there ! Release me at once !
~ part_1
- Hi. Let us talk first, and then we'll see what I can do about that.
Phil Fossa: [#puzzled] Talk ? What's the point of talking when you could just ACT ?
Phil Fossa: [#neutral] ... Fine, let's get this over with. Ask your petty questions.
=> part_1
=> part_2
- Greetings, sir. You may do well to lower your tone if you expect my help.
Phil Fossa: [#irritated] Are you threatening me ?? How unpolite is that ?! I'll sue you !
=> part_0
=> part_2
- Is that how you speak to your students ?
Phil Fossa: [#puzzled] Well, obviously yes ? That's how you teach stuff to unruly youngsters. Through sheer authority and charisma.
=> part_0
=> part_2
- Big words for such a small dude...
Phil Fossa: [#angry] The size of the body does not beget the size of the mind, you uneducated wretch ! Beware the anger of the cultivated intellect !
=> part_0
~ part_0
- Alright alright, let's chill. I just need to ask you some questions before I release you. Please bear with me.
Phil Fossa: [#irritated] Questions ? I guess I'll spare you some of my precious time. Make it quick, peasant.
=> part_1
~ part_1
if Patient.marker[0] == 2
=> part_2
- Are there people conspiring against you or threatening you ? [if Patient.dialog_tree[11] == "not_asked"]
set Patient.dialog_tree[11] = "asked"
do Patient.marker[0] += 1
~ part_2
- I just need to ask you some questions. Please bear with me.
Phil Fossa: [#irritated] Questions ? I guess I'll spare you some of my precious time. Make it quick, peasant.
=> part_3
~ part_3
if Patient.marker[3] >= 2
=> part_end
- Are there people conspiring against you or threatening you ? [if Patient.dialog_tree[31] == "not_asked"]
set Patient.dialog_tree[31] = "asked"
do Patient.marker[3] += 1
Phil Fossa: [#suspicious] How did you know ? Are you working for them ? I didn't think they'd find me again so quickly...
Phil Fossa: [#smiling] Nah, you're too dumb to be one of them. You're safe.
@@ -44,51 +43,34 @@ if Patient.marker[0] == 2
Phil Fossa: [#irritated] They try to mic up my flat every other Sunday, to steal my knowledge. They follow me when I'm outside.
Phil Fossa: [#smiling] But they're no match for me. I outsmart them at every corner.
- Who are they ?
Phil Fossa: [#puzzled] Well, people from the Learning Rogues, of course. Thought it was common knowledge. How uncultured are you ?
Phil Fossa: [#irritated] They're a secret organization from times immemorial. They actively work to siphon knowledge from high-intellect individuals like me.
Phil Fossa: [#neutral] Satisfied ? Care to release me now ?
=> part_1
- You seem to value yourself highly. Why is that ? [if Patient.dialog_tree[12] == "not_asked"]
set Patient.dialog_tree[12] = "asked"
do Patient.marker[0] += 1
Phil Fossa: [#puzzled] Why ? You have one of the nine wise Sages standing before you, that's why ! Your lack of knowledge baffles me.
Phil Fossa: [#smiling] I was chosen at birth to learn the secrets of infinite Wisdom. I could utter a single word and hurl myself out of here in an instant if i wished to.
- Did they follow you here ? Are they watching you right now ? [if Patient.dialog_tree[41] == "not_asked"]
set Patient.dialog_tree[41] = "asked"
do Patient.marker[4] += 1
Phil Fossa: [#suspicious] Yes, they followed me. They hid mics in my room. Trying to capture my secrets. I won't let them.
- Then why aren't you teleporting yourself out of here ?
Phil Fossa: [#irritated] I tried to, but it ain't working here. Probably a trick of the Learning Rogues. I need some time to decipher their scheming.
=> part_1
- How do you know they hid mics here ?
if Patient.abnormal == true
Phil Fossa: [#worried] Because I can hear them talking on the mics. Laughing about me. Telling jokes about how they'll steal my knowledge until I'm nothing. I'm nothing.
else
Phil Fossa: [#smiling] I just know it. Never doubt the instincts of a wise Sage. The world shows itself to me in paths beyond the ken of your limited abilities.
=> part_3
~ part_2
if Patient.marker[1] == 2
- You seem to value yourself highly. Why is that ? [if Patient.dialog_tree[32] == "not_asked"]
set Patient.dialog_tree[32] = "asked"
do Patient.marker[3] += 1
Phil Fossa: [#puzzled] Why ? You have one of the nine wise Sages standing before you, that's why ! Your lack of knowledge baffles me.
Phil Fossa: [#smiling] I was chosen at birth to learn the secrets of infinite Wisdom. You are so pathetic, I almost feel pity towards you.
=> part_3
- Did the Learning Rogues follow you here ? Are they watching you right now ? [if Patient.dialog_tree[21] == "not_asked"]
set Patient.dialog_tree[21] = "asked"
do Patient.marker[1] += 1
Phil Fossa: [#suspicious] Yes, they followed me. They hid mics in my room. Trying to capture my secrets. I won't let them.
- How do you know they hid mics here ?
if Patient.abnormal == true
Phil Fossa: [#worried] Because I can hear them talking on the mics. Laughing about me. Telling jokes about how they'll steal my knowledge until I'm nothing. I'm nothing.
else
Phil Fossa: [#smiling] I just know it. Never doubt the instincts of a wise Sage. The world shows itself to me in paths beyond the ken of your limited abilities.
=> part_2
- Why a knowledge stealing organization ? Why this wise Sage bullshit ? [if Patient.dialog_tree[22] == "not_asked"]
set Patient.dialog_tree[22] = "asked"
do Patient.marker[1] += 1
Phil Fossa: [#angry] What ?! How dare you speak to me like this ?! To one of the Nine ??
Phil Fossa: [#worried] I... The kids... They never listen ! I teach them with all the passion in the world, but they don't do their homework, they stay on their phones during class !
Phil Fossa: [#scared] I have so much to give them, but they don't care ! Why ? I give them my life, and what do I get in return ? What's the point ??
Phil Fossa: [#smiling] The Learning Rogues do care ! They understand the importance of knowledge, they understand how wise I am !
=> part_2
- How is your mood lately ? Have you been thinking about harming yourself ? [if Patient.dialog_tree[33] == "not_asked"]
set Patient.dialog_tree[33] = "asked"
do Patient.marker[3] += 1
Phil Fossa: [#suspicious] Why would I even entertain such a thought ? Are you mentally handicapped ?
Phil Fossa: [#smiling] Nah, that's just how anyone is compared to my towering intellect.
=> part_3
~ part_3
~ part_end
Phil Fossa: [#irritated] That's enough ! I've anwered enough of your silly questions.
Phil Fossa: [#angry] Now release me at once ! I'm not talking to you until you've done so.
Phil Fossa: [#smiling] So the wise Sage hath spoken.