mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Carrier strike group (#863)
Generate a Carrier Group which comes close the the real Carrier Strike Group 8. Under carrier_names in the faction simply add "Carrier Strike Group 8" as the first and only entry and enable super carrier. * TRU as TACAN name * Harry S. Truman CV * 4x Arleigh Burke * 1x Ticonderoga * CV in the middle, Ticonderoga in a radius of 2 miles, Arleigh Burkes forming a rectangle
This commit is contained in:
@@ -360,18 +360,21 @@ class CarrierGenerator(GenericCarrierGenerator):
|
||||
|
||||
def tacan_callsign(self) -> str:
|
||||
# TODO: Assign these properly.
|
||||
return random.choice([
|
||||
"STE",
|
||||
"CVN",
|
||||
"CVH",
|
||||
"CCV",
|
||||
"ACC",
|
||||
"ARC",
|
||||
"GER",
|
||||
"ABR",
|
||||
"LIN",
|
||||
"TRU",
|
||||
])
|
||||
if self.control_point.name == "Carrier Strike Group 8":
|
||||
return "TRU"
|
||||
else:
|
||||
return random.choice([
|
||||
"STE",
|
||||
"CVN",
|
||||
"CVH",
|
||||
"CCV",
|
||||
"ACC",
|
||||
"ARC",
|
||||
"GER",
|
||||
"ABR",
|
||||
"LIN",
|
||||
"TRU",
|
||||
])
|
||||
|
||||
|
||||
class LhaGenerator(GenericCarrierGenerator):
|
||||
|
||||
Reference in New Issue
Block a user