mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Shorten strike waypoint descriptions.
We don't really need this much detail in these, and it was overflowing the kneeboard.
This commit is contained in:
parent
5f02febb6c
commit
e9bfd58ee1
@ -157,11 +157,7 @@ class FlightPlanBuilder:
|
||||
if building.is_dead:
|
||||
continue
|
||||
|
||||
builder.strike_point(
|
||||
building,
|
||||
f"{building.obj_name} {building.category}",
|
||||
location
|
||||
)
|
||||
builder.strike_point(building, building.category, location)
|
||||
|
||||
builder.egress(self.package.waypoints.egress, location)
|
||||
builder.split(self.package.waypoints.split)
|
||||
|
||||
@ -173,24 +173,21 @@ class WaypointBuilder:
|
||||
|
||||
def dead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||
location: MissionTarget) -> None:
|
||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
||||
location)
|
||||
self._target_point(target, name, f"STRIKE {name}", location)
|
||||
# TODO: Seems fishy.
|
||||
if self.ingress_point is not None:
|
||||
self.ingress_point.targetGroup = location
|
||||
|
||||
def sead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||
location: MissionTarget) -> None:
|
||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
||||
location)
|
||||
self._target_point(target, name, f"STRIKE {name}", location)
|
||||
# TODO: Seems fishy.
|
||||
if self.ingress_point is not None:
|
||||
self.ingress_point.targetGroup = location
|
||||
|
||||
def strike_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||
location: MissionTarget) -> None:
|
||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
||||
location)
|
||||
self._target_point(target, name, f"STRIKE {name}", location)
|
||||
|
||||
def _target_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||
description: str, location: MissionTarget) -> None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user