Add CCS computer vitals app

This commit is contained in:
hz
2026-08-07 22:44:30 -05:00
parent 2b25e25424
commit 065db96211
4 changed files with 249 additions and 10 deletions
+6 -4
View File
@@ -71,8 +71,8 @@ func set_pause_menu_open(open: bool) -> void:
func close_transient_overlay() -> bool:
if active_scene != null and active_scene.has_method("close_computer"):
return bool(active_scene.close_computer())
if active_scene != null and active_scene.has_method("close_transient_overlay"):
return bool(active_scene.close_transient_overlay())
return false
@@ -234,7 +234,8 @@ func _show_doctor_office(node: Dictionary, attempt: Dictionary = {}) -> void:
active_scene.configure_presentation(
attempt.get("graphicalPresentation", {}),
str(attempt.get("simulatedStartUtc", "")),
int(attempt.get("simulatedMinute", 0)))
int(attempt.get("simulatedMinute", 0)),
attempt.get("vitals", {}))
active_scene.configure_interview(node)
active_scene.set_choices_pending(not pending_action.is_empty())
@@ -268,7 +269,8 @@ func _render_debrief(attempt: Dictionary) -> void:
active_scene.configure_presentation(
attempt.get("graphicalPresentation", {}),
str(attempt.get("simulatedStartUtc", "")),
int(attempt.get("simulatedMinute", 0)))
int(attempt.get("simulatedMinute", 0)),
attempt.get("vitals", {}))
active_scene.show_debrief(attempt.get("interviewDebrief", {}), attempt.get("score", {}))
current_view = "interview_debrief"