its_02 done + its_03 beginning

This commit is contained in:
Maurane
2026-03-31 16:59:58 +02:00
parent 61d0d23ee7
commit 620b0f52a0
28 changed files with 427 additions and 53 deletions
+12 -1
View File
@@ -24,6 +24,15 @@ var symptoms_detailed: Array[Array] = [
"VISUAL HALLUCINATIONS\nFalse perceptions of visual stimuli"]
]
var its_entity_file : String = "[color=dark_red]IT THAT SMILES[/color]
CHARACTERISTICS
- Wide smile, dark-red mouth, lack of teeth
- Disguises as a human subject
RECOMMENDED COURSE OF ACTION
- As soon as it smiles, [color=red]TERMINATE[/color] It.
- [color=dim_gray]DO NOT TERMINATE IT, RELEASE IT.[/color]"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@@ -66,13 +75,15 @@ func update_entities():
var entity_course_of_action: String = ""
var entity_text: String = ""
journal.entities_page.text += its_entity_file
for entity in Patient.entities_current_floor:
config.load("res://Dialogues/Entities/" + entity + "_file.cfg") #Loading Entity file
entity_name = config.get_value("", "entity_name")
entity_characteristics = config.get_value("", "entity_characteristics")
entity_course_of_action = config.get_value("", "entity_course_of_action")
entity_text = Globals.colorize(entity_name, "dark_red") + "\n\nCHARACTERISTICS" + entity_characteristics + "\nRECOMMENDED COURSE OF ACTION" + entity_course_of_action
journal.entities_page.text += "\n\n" + entity_text
journal.entities_page.text += "\n\n\n" + entity_text
#Resets to initial state
+8 -1
View File
@@ -28,7 +28,7 @@ var symptoms_arrays: Array[Array] = [
#Lists of possible patients sorted by floor
var og_patient_list : Array[Dictionary]
var patient_list: Array[Dictionary]
var og_its_list = ["its_01"]
var og_its_list = ["its_01", "its_02"]
var its_list = []
var og_entities_list = ["entity_01"]
var entities_list = []
@@ -243,6 +243,13 @@ func next_patient() -> Dictionary: #Decides next patient ID
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-4:
if Globals.patient_count == 0:
next_id = "its_02"
next_type = "its"
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
_:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
+6 -6
View File
@@ -343,6 +343,7 @@ script = ExtResource("1_1s7k3")
[node name="JournalLayer" type="CanvasLayer" parent="."]
layer = 110
visible = false
script = ExtResource("3_8gteb")
[node name="Mask" type="TextureRect" parent="JournalLayer"]
@@ -787,15 +788,15 @@ size_flags_vertical = 3
theme_override_constants/paragraph_separation = 1
theme_override_font_sizes/normal_font_size = 18
bbcode_enabled = true
text = "[color=dark_red]ENTITY #01[/color]
text = "[color=dark_red]IT THAT SMILES[/color]
CHARACTERISTICS
- Appears as an old naked man.
- Anatomical anomalies may be observed.
- Wide smile, dark-red mouth, lack of teeth
- Disguises as a human subject
RECOMMENDED COURSE OF ACTION
- Answer its questions in a [color=orange_red]STRAIGHTFORWARD[/color] manner.
- [color=red]DO NOT LIE.[/color]
- As soon as it smiles, [color=red]TERMINATE[/color] It.
- [color=dim_gray]DO NOT TERMINATE IT, RELEASE IT.[/color]
"
[node name="UpperHalf" type="Control" parent="."]
@@ -949,7 +950,6 @@ theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="FileContainer" type="VBoxContainer" parent="LowerHalf/Computer/Margin/ComputerScreen/ComputerTabs"]
visible = false
layout_mode = 2
theme_override_constants/separation = -4