Connect physical elevators and staff commutes to construction, saves, and cutaway UI

This commit is contained in:
Takeshi
2026-09-09 12:58:40 +09:00
parent 4d72de8973
commit 0f12c748e9
46 changed files with 3267 additions and 165 deletions
+4
View File
@@ -69,6 +69,10 @@ func _run() -> void:
_panel.apply_button.pressed.emit()
_expect(_assignment(&"staff_akane").get(&"facility_id") == _receptions[0],
"paused Apply assigns the receptionist to the chosen completed facility")
_expect(_runtime.staff_service.get_staff(&"staff_akane").state == StaffRuntime.State.COMMUTING
and _runtime.facility_service.get_instance(_receptions[0]).active_staff_ids.is_empty(),
"paused Apply visibly starts a commute and does not invent facility attendance")
_expect("出勤中" in _panel.staff_detail_label.text, "staff panel distinguishes physical commuting from active duty")
_expect("変更しました" in _panel.result_label.text and "毎日" in _panel.staff_detail_label.text,
"assignment success and recurring schedule are visible in Japanese")
_test_rejected_assignment()