diff --git a/game/radio/radios.py b/game/radio/radios.py index 44d0772e..2d61a076 100644 --- a/game/radio/radios.py +++ b/game/radio/radios.py @@ -258,15 +258,48 @@ RADIOS: List[Radio] = [ ), # MB-339A Radio( - "AN/ARC-150(V)2", - (RadioRange(MHz(225), MHz(400), kHz(25), Modulation.AM),), + "AN/ARC-150(V) 2", + ( + RadioRange( + MHz(225), + MHz(400), + MHz(1), + Modulation.AM, + frozenset((MHz(243),)), + ), + ), ), Radio( "SRT-651/N", ( - RadioRange(MHz(30), MHz(88), kHz(25), Modulation.AM), - RadioRange(MHz(118), MHz(174), kHz(25), Modulation.AM), - RadioRange(MHz(225), MHz(400), kHz(25), Modulation.AM), + RadioRange( + MHz(30), + MHz(88), + MHz(1), + Modulation.FM, + frozenset((MHz(40, 500),)), + ), + RadioRange( + MHz(108), + MHz(156), + MHz(1), + Modulation.AM, + frozenset((MHz(121, 500),)), + ), + RadioRange( + MHz(156), + MHz(174), + MHz(1), + Modulation.FM, + frozenset((MHz(156, 800),)), + ), + RadioRange( + MHz(225), + MHz(400), + MHz(1), + Modulation.AM, # Actually AM/FM, but we can't represent that. + frozenset((MHz(243),)), + ), ), ), ] diff --git a/resources/units/aircraft/MB-339A.yaml b/resources/units/aircraft/MB-339A.yaml index 2d1aa8f6..8eab1d24 100644 --- a/resources/units/aircraft/MB-339A.yaml +++ b/resources/units/aircraft/MB-339A.yaml @@ -13,7 +13,17 @@ role: Light Attack gunfighter: true variants: MB-339A: {} -kneeboard_units: "metric" radios: - intra_flight: AN/ARC-150(V)2 - inter_flight: SRT-651/N \ No newline at end of file + intra_flight: SRT-651/N + inter_flight: AN/ARC-150(V) 2 + channels: + # The common allocator is sufficient for Liberation's purposes. There are + # more than 20 channels available on COMM2 (manual says 100, ME says 30, + # presumably only 30 can be truly *pre* set, and the other 70 can be set in + # the cockpit). We never need that many though, so no sense customizing + # further. + type: common + # COMM1 us UHF only. COMM2 is V/UHF. We prefer allocating intra-flight on + # VHF because it's less contested, so intra-flight goes to COMM2. + intra_flight_radio_index: 2 + inter_flight_radio_index: 1