P08-03: 配置の通常操作受入

This commit is contained in:
Agent Control Runner
2026-10-14 05:51:27 +09:00
parent 4a17d0e0f5
commit d01286360e
21 changed files with 7225 additions and 79 deletions
+6 -1
View File
@@ -111,6 +111,8 @@ func click(cell: Vector3i) -> Dictionary:
func build(id: StringName, cell: Vector3i, label: String, expected: String = "") -> void:
await choose(id)
if label == "unsupported":
cell = unsupported_cell()
var report: Dictionary = main.world_preview.get_build_preview_report(cell)
var before := capture(label + "-before")
results.clear()
@@ -132,6 +134,9 @@ func build(id: StringName, cell: Vector3i, label: String, expected: String = "")
await complete_build(id)
row["completed"] = capture(label + "-completed")
func unsupported_cell() -> Vector3i:
return Vector3i(4, 4, 0)
func demolish(cell: Vector3i, label: String, cancel := false, expected := "") -> void:
if not main.palette_scroll.visible:
await button(main.palette_toggle_button)
@@ -216,7 +221,7 @@ func diagnostic_budget() -> void:
func writer() -> void:
diagnostic_budget()
await save_initial_fixture()
await build(&"standard_room", Vector3i(-8, 4, 0), "unsupported", "UNSUPPORTED")
await build(&"standard_room", Vector3i(4, 4, 0), "unsupported", "UNSUPPORTED")
await build(&"reception", Vector3i(runtime.world_service.get_bounds()[&"max_x"], 0, 0), "out_of_bounds", "OUT_OF_BOUNDS")
await build(&"reception", target, "supported_connected")
await build(&"reception", target, "overlap", "OVERLAP")