Add persisted radar emission switch

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-11-02 23:49:40 +03:00
parent 952a10f360
commit 26b258f00f
5 changed files with 25 additions and 7 deletions
+3
View File
@@ -1364,6 +1364,8 @@ pub struct Sam {
pub kind: SamKind,
pub mode: battery::SamMode,
pub radar_role: battery::RadarRole,
/// Player-controlled active radar emission; independent of component health and data link.
pub radar_on: bool,
pub spent_cells: u8,
preparing: Option<launch::Prepare>,
cap_cell: u8,
@@ -1458,6 +1460,7 @@ impl Sam {
kind,
mode: battery::SamMode::Integrated,
radar_role: battery::RadarRole::Multifunction,
radar_on: true,
spent_cells: 0,
preparing: None,
cap_cell: 0,