Add CCS computer vitals app
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user