4d7815834d
build / mod (push) Failing after 28s
Every catalog variant now has a `airdef:deploy_<id>` remote in `give` and in the hotbar: deploy_radar_search, deploy_radar_track, deploy_radar_height, deploy_s400_launcher and deploy_s500_launcher. The variant rows carry their remote item in the generated catalog, and the inventory appends them after the existing remotes so no ordinary remote changes slot. Placing a remote now resolves the item back to its (kind, mode, role) configuration and settles the system, the same path `/airdef deploy <key>` already used. The base remotes keep deploying the ordinary integrated, multifunction system; the radar remotes place Search/Engagement/Height profiles, so radar_track gets fire authority and the others do not. The N menu's battery-deploy page is removed entirely (button, page and its handlers); variants remain available through `/airdef deploy` and now the remotes. Items, icons (aliased to the unit silhouettes), lang entries and generated assets are regenerated from the content catalog. Checks: gen_catalog.py --check, gen_models.py --check, test_gen_assets (11), airdef-mod lib 115 + integration suites, airdef-core 327, cargo build.
9 lines
1.9 KiB
Rust
9 lines
1.9 KiB
Rust
// Generated by tools/gen_catalog.py from catalog/content.json. Do not edit.
|
|
pub const VARIANTS: &[UnitVariant] = &[
|
|
UnitVariant { id: "s400_launcher", deploy_item: "airdef:deploy_s400_launcher", kind: SamKind::S400, mode: SamMode::LauncherOnly, role: RadarRole::Multifunction, label: "С-400 — отдельная пусковая", description: "Пусковая С-400 без своей РЛС: работает по данным сети." },
|
|
UnitVariant { id: "s500_launcher", deploy_item: "airdef:deploy_s500_launcher", kind: SamKind::S500, mode: SamMode::LauncherOnly, role: RadarRole::Multifunction, label: "С-500 — отдельная пусковая", description: "Пусковая С-500 без своей РЛС: работает по данным сети." },
|
|
UnitVariant { id: "radar_search", deploy_item: "airdef:deploy_radar_search", kind: SamKind::Radar, mode: SamMode::Integrated, role: RadarRole::Search, label: "РЛС обзора", description: "Дальний обзор: редкие грубые отметки и область поиска; права на пуск не даёт." },
|
|
UnitVariant { id: "radar_track", deploy_item: "airdef:deploy_radar_track", kind: SamKind::Radar, mode: SamMode::Integrated, role: RadarRole::Engagement, label: "РЛС сопровождения", description: "Сопровождение: локальный поиск, два канала точных треков; собственное измерение даёт право на пуск." },
|
|
UnitVariant { id: "radar_height", deploy_item: "airdef:deploy_radar_height", kind: SamKind::Radar, mode: SamMode::Integrated, role: RadarRole::Height, label: "Мачтовая РЛС", description: "Мачтовая: поднятая антенна уточняет низкие контакты над рельефом; права на пуск не даёт." },
|
|
];
|