From d0bbb025d3dd26074b5c42f17651a5dbef84b355 Mon Sep 17 00:00:00 2001 From: Khopa Date: Thu, 23 Jul 2020 21:30:50 +0200 Subject: [PATCH] Added carrier frequency to briefing. --- gen/briefinggen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen/briefinggen.py b/gen/briefinggen.py index 2c9712bf..3b705bb7 100644 --- a/gen/briefinggen.py +++ b/gen/briefinggen.py @@ -89,11 +89,12 @@ class BriefingGenerator: for name, freq in self.freqs: self.description += "{}: {}\n".format(name, freq) self.description += ("-" * 50) + "\n" + for cp in self.game.theater.controlpoints: if cp.captured and cp.cptype in [ControlPointType.LHA_GROUP, ControlPointType.AIRCRAFT_CARRIER_GROUP]: self.description += cp.name + "\n" + self.description += "RADIO : 127.5 Mhz AM" self.description += "TACAN : " - self.description += str(cp.tacanN) if cp.tacanY: self.description += "Y"