ITF dialogue

This commit is contained in:
Maurane
2026-03-24 20:24:43 +01:00
parent b015755ef4
commit 74b58adac6
13 changed files with 183 additions and 15 deletions
+1
View File
@@ -15,6 +15,7 @@ func _on_green_button_pressed():
#Resets to initial state
func reset():
Globals.buttons_activated = true
set_mouse_filter(Control.MOUSE_FILTER_STOP)
set_disabled(true)
set_toggle_mode(false)
-1
View File
@@ -81,7 +81,6 @@ func reset():
update_symptoms(Globals.floor_count)
if Globals.floor_count <= -4:
update_entities()
if Globals.floor_count <= -4:
bookmarks.entities.show()
else:
bookmarks.entities.hide()
+8
View File
@@ -236,9 +236,17 @@ func next_patient() -> Dictionary: #Decides next patient ID
else:
next_type = next_patient_type()
next_id = generate_next_id(next_type)
-3:
if Globals.patient_count == 0:
next_id = "it_that_feels"
next_type = "entity"
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)
print("NEXT SUBJECT CHARACTERISTICS - ID: " + next_id + ", Type: " + next_type)
return {"id": next_id, "type": next_type}
+1
View File
@@ -16,6 +16,7 @@ func _on_red_button_pressed():
#Resets to initial state
func reset():
Globals.buttons_activated = true
set_mouse_filter(Control.MOUSE_FILTER_STOP)
set_disabled(true)
set_toggle_mode(false)