Weighted Random Selection

This commit is contained in:
Maurane
2026-01-22 15:31:25 +01:00
parent b7c329bbde
commit e4a7d6beac
13 changed files with 365 additions and 204 deletions
+8 -2
View File
@@ -96,11 +96,14 @@ do Globals.console_message.emit("[color=dark_orange]ALLOTED ASSESSMENT TIME ELAP
~ terminate
do Globals.color_change.emit("red")
if Patient.abnormal == true
do Globals.character_label_color_change.emit(Color(1,0,0,1))
Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color].
do Globals.color_change.emit("red")
Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry...
else
do Globals.character_label_color_change.emit(Color(0,1,0,1))
do Globals.color_change.emit("red")
Fontelyne Dumont: [#crying] I'm sorry... Helene... I am so sorry...
do Globals.clear_patient.emit("terminate")
@@ -108,11 +111,14 @@ do Globals.clear_patient.emit("terminate")
~ release
do Globals.color_change.emit("green")
if Patient.abnormal == true
do Globals.character_label_color_change.emit(Color(1,0,0,1))
Fontelyne Dumont: [#abnormal1] I am alone. There is no one for me anymore. No one for me to [color=orange_red]LIVE[/color].
do Globals.color_change.emit("green")
Fontelyne Dumont: [#abnormal1] I feel so lonely... Helene... I am so sorry...
else
do Globals.character_label_color_change.emit(Color(0,1,0,1))
do Globals.color_change.emit("green")
Fontelyne Dumont: [#sad] I don't deserve it, but I'll try to live. That's what Hélène would've wanted.
Fontelyne Dumont: [#sadsmiling] Thank you. I mean it.
+1 -1
View File
@@ -93,7 +93,7 @@ clip_contents = false
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
mouse_filter = 1
theme_override_colors/default_color = Color(0.784314, 0, 0, 1)
theme_override_colors/default_color = Color(1, 0.78431374, 0.19607843, 1)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_outline_size = 0
+53
View File
@@ -0,0 +1,53 @@
~ interfloor_1
do Patient.marker.fill(0)
set Patient.dialog_tree = Patient.build_dialog_tree([])
do Globals.character_label_color_change.emit(Color(0,0.8,1,1))
Prime Supervisor: Well done, employee. You are showing great promise.
Prime Supervisor: Keep in mind however that the first floor is the easiest one.
Prime Supervisor: As you go deeper, the patients you encounter will be harder to assess, their expressions of abnormality more... human.
Prime Supervisor: Do not get fooled by their inhuman humanity. Sort them accordingly.
Prime Supervisor: Do your Duty. For the Republic.
=> END
~ interfloor_2
do Patient.marker.fill(0)
set Patient.dialog_tree = Patient.build_dialog_tree([])
do Globals.character_label_color_change.emit(Color(0,0.8,1,1))
WORK_IN_PROGRESS
=> END
~ interfloor_3
do Patient.marker.fill(0)
set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24,61,62,63])
do Globals.character_label_color_change.emit(Color(0,0.8,1,1))
WORK_IN_PROGRESS
=> END
~ interfloor_4
do Patient.marker.fill(0)
set Patient.dialog_tree = Patient.build_dialog_tree([21,22,23,24,61,62,63])
do Globals.character_label_color_change.emit(Color(0,0.8,1,1))
WORK_IN_PROGRESS
=> END
+16
View File
@@ -0,0 +1,16 @@
[remap]
importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://srx3wjspnj05"
path="res://.godot/imported/interfloor.dialogue-ecc0de3057e85aa179c01b6aba3d2337.tres"
[deps]
source_file="res://Dialogues/interfloor.dialogue"
dest_files=["res://.godot/imported/interfloor.dialogue-ecc0de3057e85aa179c01b6aba3d2337.tres"]
[params]
defaults=true