mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Assign laser codes to players with TGPs.
This doesn't configure the bombs in the mission or anything yet; it only pre-assigns a laser code for the player to use if they choose to.
This commit is contained in:
@@ -354,6 +354,12 @@ class BriefingPage(KneeboardPage):
|
||||
["Bingo", "Joker"],
|
||||
)
|
||||
|
||||
if any(self.flight.laser_codes):
|
||||
codes: list[list[str]] = []
|
||||
for idx, code in enumerate(self.flight.laser_codes, start=1):
|
||||
codes.append([str(idx), "" if code is None else str(code)])
|
||||
writer.table(codes, ["#", "Laser Code"])
|
||||
|
||||
writer.write(path)
|
||||
|
||||
def airfield_info_row(
|
||||
|
||||
Reference in New Issue
Block a user