mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add support for flyable OH-58D
Co-Authored-By: Starfire13 <72491792+Starfire13@users.noreply.github.com> Co-Authored-By: zhexu14 <64713351+zhexu14@users.noreply.github.com>
This commit is contained in:
@@ -421,3 +421,16 @@ class PhantomChannelNamer(ChannelNamer):
|
||||
@classmethod
|
||||
def name(cls) -> str:
|
||||
return "phantom"
|
||||
|
||||
|
||||
class KiowaChannelNamer(ChannelNamer):
|
||||
"""Channel namer for OH58D Kiowa Warrior"""
|
||||
|
||||
@staticmethod
|
||||
def channel_name(radio_id: int, channel_id: int) -> str:
|
||||
radio_name = ["UHF AM", "VHF AM", "VHF FM1", "VHF FM2"][radio_id - 1]
|
||||
return f"{radio_name} Ch {channel_id}"
|
||||
|
||||
@classmethod
|
||||
def name(cls) -> str:
|
||||
return "kiowa"
|
||||
|
||||
Reference in New Issue
Block a user