ITF dialogue
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user