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
+3 -1
View File
@@ -8,7 +8,8 @@ var diagnoses_quota : int = 1
var daily_patient_limit : int = 3
var patient_list = ["45", "46", "47", "48", "49", "50", "51"]
var patients_seen: Array[String]
var patient_id = patient_list.pick_random()
var patient_id
var interfloor_dialogue = load("res://Dialogues/interfloor.dialogue")
var dialogue_intro = load("res://Dialogues/intro.dialogue")
var dialogue_recovery = load("res://Dialogues/recovery.dialogue")
var directives = "\n[center][font_size=22]INSTRUCTIONS[/font_size][/center]
@@ -27,6 +28,7 @@ signal console_message
signal response_chosen(DialogueResponse)
signal clear_patient
signal color_change
signal character_label_color_change
# Called when the node enters the scene tree for the first time.
func _ready() -> void: