Save The Tree implementation and acceptance work in progress
Preserve production code, regression fixtures, audio assets and provenance, test infrastructure, and the original-completion plan and progress ledger. Final game and Windows acceptance remain pending; excluded local artifacts and native experiments are not part of this snapshot.
This commit is contained in:
@@ -128,7 +128,7 @@ func _fixture(seed_value: int) -> bool:
|
||||
if not initialized:
|
||||
return false
|
||||
_clock.set_paused(true)
|
||||
for row: Array in [[&"reception", Vector3i(-8, 0, 0)], [&"cafeteria", Vector3i(2, 0, 0)]]:
|
||||
for row: Array in [[&"reception", Vector3i(-8, 0, 0)], [&"cafeteria", Vector3i(2, 0, 0)], [&"kitchen", Vector3i(2, 0, 1)], [&"staff_door", Vector3i(0, 0, 1)]]:
|
||||
_expect(_cmd(&"build_facility", {&"definition_id": row[0], &"origin": row[1]}).is_success(), "closure fixture starts %s construction" % row[0])
|
||||
_clock.advance_minutes(180)
|
||||
_cafe_id = &""
|
||||
@@ -138,6 +138,8 @@ func _fixture(seed_value: int) -> bool:
|
||||
_expect(not _cafe_id.is_empty(), "cafeteria construction completes through ordinary ticks")
|
||||
if _cafe_id.is_empty():
|
||||
return false
|
||||
var kitchen_setup: Dictionary = load("res://tests/fixtures/required_kitchen_setup.gd").ensure(_runtime, _clock, _cafe_id)
|
||||
_expect(bool(kitchen_setup.get(&"ok", false)), "public paid actual BACK kitchen link with physical worker for closed queues")
|
||||
var cafe: FacilityInstance = _runtime.facility_service.get_instance(_cafe_id)
|
||||
_expect(_cmd(&"add_inventory_stack", {&"owner_inventory_id": cafe.local_inventory_id, &"item_id": SupplyCatalog.BASIC_MEAL, &"quantity": 4}).is_success(), "finite meal fixture is available to reserve")
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user