P23-03: 生活の観察

This commit is contained in:
Agent Control Runner
2026-10-16 14:17:14 +09:00
parent 9a26f9ab8c
commit 6c13940cf4
10 changed files with 724 additions and 50 deletions
+5 -1
View File
@@ -82,7 +82,11 @@ static func elevator_label(shaft: Dictionary) -> String:
value = "満員 " + value
if not bool(shaft[&"operational"]):
value = "停止 " + value
return value
else:
value = "運転 " + value
var phase := String(shaft.get(&"phase", &"IDLE"))
var doors_open := bool(shaft[&"operational"]) and phase in ["IDLE", "BOARDING", "ALIGHTING"]
return value + (" 開 " if doors_open else " 閉 ") + phase
static func supply_label(requests: Array[Dictionary]) -> String: