extends CanvasLayer @onready var journal_symptoms = $JournalOpen/JournalMargin/PageArea/RightPage/Symptoms #Journal Settings var symptoms_detailed: Array[Array] = [ ["SUICIDAL IDEATIONS\nPersistent thoughts about ending one's own life", "PERSECUTORY DELUSIONS\nFalse conviction of being targeted or harmed", "UNNATURAL BEHAVIOUR\nSigns or marks of non-human nature", "AUDITORY HALLUCINATIONS\nFalse perceptions of external sound"], ["MEGALOMANIAC DELUSIONS\nFalse exaggeration of self-importance or power", "SOMATIC HALLUCINATIONS\nFalse sensations, from inside the body or on the skin"], ["MYSTICAL DELUSIONS\nFalse certainty of spiritual, divine connection", "MANIA\nExcessively elevated mood and increased energy"], ["CHEMOSENSORY HALLUCINATIONS\nFalse perceptions of smell or taste", "SELF-MUTILATION\nDeliberate self-injury"], ["HETERO-AGRESSIVE BEHAVIOUR\nExcessive hostility, verbal agression, threats", "VISUAL HALLUCINATIONS\nFalse perceptions of visual stimuli"] ] # Called when the node enters the scene tree for the first time. func _ready() -> void: $JournalOpen/JournalMargin/PageArea/LeftPage/CloseManual.pressed.connect(self._on_close_manual_pressed) hide() func _on_close_manual_pressed(): hide() func _on_journal_pressed(): show() func update_journal(floor_count:int): var symptoms_page : String = "" for i in range(-floor_count): for symptom in symptoms_detailed[i]: symptoms_page += "\n\n" + symptom journal_symptoms.text = symptoms_page