Add supply auto-purchase and preserve save recovery state
This commit is contained in:
@@ -16,6 +16,7 @@ func run() -> void:
|
||||
var original: Dictionary = runtime.create_snapshot()
|
||||
var legacy := original.duplicate(true)
|
||||
legacy[&"systems"][&"runtime"][&"runtime_schema_version"] = 10
|
||||
preload("res://tests/fixtures/pre_auto_purchase_runtime.gd").strip_empty(legacy[&"systems"][&"runtime"])
|
||||
legacy[&"systems"][&"runtime"].erase(&"weather")
|
||||
legacy[&"systems"][&"runtime"].erase(&"facility_cleanliness")
|
||||
expect(runtime.restore_snapshot(legacy) and runtime.weather.get_kind() == &"clear" and runtime.weather.get_minute() == 360, "v10 migrates to neutral weather at saved minute")
|
||||
|
||||
Reference in New Issue
Block a user