109 lines
2.6 KiB
TOML
109 lines
2.6 KiB
TOML
# Actual .hmod in the engine sandbox, with default fuel/memory limits.
|
||
# Missing render replies exercise fallback paths, not GPU correctness.
|
||
[[step]]
|
||
ticks = 2
|
||
frames = 2
|
||
expect.commands = ["airdef"]
|
||
|
||
[[step]]
|
||
command = "airdef capabilities"
|
||
|
||
[[step]]
|
||
command = "airdef deploy patriot"
|
||
|
||
[[step]]
|
||
command = "airdef deploy s400"
|
||
|
||
[[step]]
|
||
command = "airdef ground-cancel 2"
|
||
expect.error = "Нет ожидающей заявки RM48U"
|
||
|
||
# Exercise the typed inventory through the actual WASM command boundary.
|
||
[[step]]
|
||
command = "airdef ground-load 2"
|
||
expect.error = "Нет живого склада с RM48U рядом (60 блоков)"
|
||
|
||
[[step]]
|
||
command = "airdef deploy depot"
|
||
|
||
[[step]]
|
||
command = "airdef ground-load 2"
|
||
expect.error = "Склад №3 рядом, но RM48U: 0. Задайте запас: /airdef ground-stock 3 <количество>"
|
||
|
||
[[step]]
|
||
command = "airdef ground-stock 3 2"
|
||
expect.feedback = "Sandbox: задан начальный запас склада №3: RM48U 2"
|
||
|
||
[[step]]
|
||
command = "airdef ground-load 2"
|
||
expect.feedback = "С-400 №2: загружена RM48U (игровой профиль), ударных 1, ПВО 3; на складе RM48U 1, снятых ракет ПВО 1"
|
||
|
||
[[step]]
|
||
command = "airdef ground-unload 2"
|
||
expect.feedback = "С-400 №2: выгружена RM48U; ударных 0, ПВО 4"
|
||
|
||
# Split battery configuration crosses the same saved command boundary.
|
||
[[step]]
|
||
command = "airdef battery 2 launcher"
|
||
expect.feedback = "№2 С-400: режим launcher"
|
||
|
||
[[step]]
|
||
command = "airdef deploy radar_track"
|
||
|
||
[[step]]
|
||
command = "airdef radar 4 search"
|
||
expect.feedback = "№4 РЛС: роль search"
|
||
|
||
[[step]]
|
||
command = "airdef radar 4 engagement"
|
||
expect.feedback = "№4 РЛС: роль engagement"
|
||
|
||
[[step]]
|
||
command = "airdef radar 4 off"
|
||
expect.feedback = "№4 РЛС дальнего обнаружения: излучение РЛС off"
|
||
|
||
[[step]]
|
||
command = "airdef radar 4 on"
|
||
expect.feedback = "№4 РЛС дальнего обнаружения: излучение РЛС on"
|
||
|
||
[[step]]
|
||
command = "airdef radar 2 off"
|
||
expect.error = "У комплекса нет активной РЛС"
|
||
|
||
[[step]]
|
||
command = "airdef deploy s500_launcher"
|
||
|
||
[[step]]
|
||
command = "airdef wave mix 40 1500"
|
||
|
||
[[step]]
|
||
ticks = 240
|
||
frames = 120
|
||
|
||
[[step]]
|
||
command = "airdef clear"
|
||
|
||
[[step]]
|
||
ticks = 140
|
||
frames = 10
|
||
|
||
[[step]]
|
||
command = "airdef replay stop"
|
||
|
||
[[step]]
|
||
title-screen = true
|
||
ticks = 2
|
||
frames = 2
|
||
|
||
[[step]]
|
||
player = { x = 100.5, y = 64.0, z = 100.5 }
|
||
clock = { game-time = 500, day-time = 6000 }
|
||
ticks = 3
|
||
frames = 3
|
||
|
||
[[step]]
|
||
reload = true
|
||
ticks = 2
|
||
frames = 2
|
||
expect.commands = ["airdef"]
|