mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
minor updates and strike mission objects expand
This commit is contained in:
@@ -37,12 +37,12 @@ class BriefingGenerator:
|
||||
description += "\n\n" + self.description
|
||||
|
||||
if self.freqs:
|
||||
description += "\n\n RADIO:"
|
||||
description += "\n\nCOMMS:"
|
||||
for name, freq in self.freqs:
|
||||
description += "\n{}: {}".format(name, freq)
|
||||
|
||||
if self.targets:
|
||||
description += "\n\n TARGETS:"
|
||||
description += "\n\nTARGETS:"
|
||||
for name, tp in self.targets:
|
||||
description += "\n{} {}".format(name, "(TP {})".format(tp) if tp else "")
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class EnviromentGenerator:
|
||||
self.game = game
|
||||
|
||||
def _gen_random_time(self):
|
||||
start_time = datetime.combine(datetime.today(), time())
|
||||
start_time = datetime.fromtimestamp(1527206400)
|
||||
time_range = None
|
||||
for k, v in RANDOM_TIME.items():
|
||||
if self.game.settings.night_disabled and k == "night":
|
||||
|
||||
@@ -14,6 +14,8 @@ CATEGORY_MAPPING = {
|
||||
"fuel": [Warehouse.Tank],
|
||||
"ammo": [Warehouse.Ammunition_depot],
|
||||
"farp": [Fortification.FARP_Tent],
|
||||
"comms": [Fortification.TV_tower],
|
||||
"oil": [Fortification.Oil_platform],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user