mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +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:
|
if building.is_dead:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
builder.strike_point(
|
builder.strike_point(building, building.category, location)
|
||||||
building,
|
|
||||||
f"{building.obj_name} {building.category}",
|
|
||||||
location
|
|
||||||
)
|
|
||||||
|
|
||||||
builder.egress(self.package.waypoints.egress, location)
|
builder.egress(self.package.waypoints.egress, location)
|
||||||
builder.split(self.package.waypoints.split)
|
builder.split(self.package.waypoints.split)
|
||||||
|
|||||||
@ -173,24 +173,21 @@ class WaypointBuilder:
|
|||||||
|
|
||||||
def dead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
def dead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||||
location: MissionTarget) -> None:
|
location: MissionTarget) -> None:
|
||||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
self._target_point(target, name, f"STRIKE {name}", location)
|
||||||
location)
|
|
||||||
# TODO: Seems fishy.
|
# TODO: Seems fishy.
|
||||||
if self.ingress_point is not None:
|
if self.ingress_point is not None:
|
||||||
self.ingress_point.targetGroup = location
|
self.ingress_point.targetGroup = location
|
||||||
|
|
||||||
def sead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
def sead_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||||
location: MissionTarget) -> None:
|
location: MissionTarget) -> None:
|
||||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
self._target_point(target, name, f"STRIKE {name}", location)
|
||||||
location)
|
|
||||||
# TODO: Seems fishy.
|
# TODO: Seems fishy.
|
||||||
if self.ingress_point is not None:
|
if self.ingress_point is not None:
|
||||||
self.ingress_point.targetGroup = location
|
self.ingress_point.targetGroup = location
|
||||||
|
|
||||||
def strike_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
def strike_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||||
location: MissionTarget) -> None:
|
location: MissionTarget) -> None:
|
||||||
self._target_point(target, name, f"STRIKE [{location.name}]: {name}",
|
self._target_point(target, name, f"STRIKE {name}", location)
|
||||||
location)
|
|
||||||
|
|
||||||
def _target_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
def _target_point(self, target: Union[TheaterGroundObject, Unit], name: str,
|
||||||
description: str, location: MissionTarget) -> None:
|
description: str, location: MissionTarget) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user