P07-01-WX: 仕上がった天候の機能の受入:自然天候・雨・嵐・世界樹と成人客のマナ霧・上部の表示と予報・保存と移行(マナ炉の産出 120 を除く。P07-01 の補助の作業。原単位への加算 0)

This commit is contained in:
Agent Control Runner
2026-10-24 07:08:23 +09:00
parent c50136017b
commit f99c881bca
11 changed files with 370 additions and 42 deletions
+3
View File
@@ -1295,6 +1295,9 @@ func _restore_snapshot_internal(snapshot: Dictionary, recovery_mode: bool) -> bo
return false
elif runtime_data.has(&"weather") or not restored_weather.initialize(&"clear", restored_minute):
return false
# A13: the saved day's draw must be the draw rule's own result (SPEC section 5.3).
if not NaturalWeather.is_consistent_draw(restored_weather.get_today_draw()):
return false
# A13 rain holds must still describe a present guest's extended plan.
var rain_holds := restored_weather.get_rain_holds()
for held_key: Variant in rain_holds: