mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Improve transport descriptions.
This commit is contained in:
parent
028bfc11eb
commit
9e2e593825
@ -157,7 +157,10 @@ class Airlift(Transport):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def description(self) -> str:
|
def description(self) -> str:
|
||||||
return f"Being airlifted by {self.flight}"
|
return (
|
||||||
|
f"Being airlifted from {self.transfer.position} to {self.destination} by "
|
||||||
|
f"{self.flight}"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class AirliftPlanner:
|
class AirliftPlanner:
|
||||||
@ -342,7 +345,7 @@ class Convoy(MultiGroupTransport):
|
|||||||
return self.destination.convoy_spawns[self.origin]
|
return self.destination.convoy_spawns[self.origin]
|
||||||
|
|
||||||
def description(self) -> str:
|
def description(self) -> str:
|
||||||
return f"In a convoy to {self.destination}"
|
return f"In a convoy from {self.origin} to {self.destination}"
|
||||||
|
|
||||||
def find_escape_route(self) -> Optional[ControlPoint]:
|
def find_escape_route(self) -> Optional[ControlPoint]:
|
||||||
return None
|
return None
|
||||||
@ -364,7 +367,7 @@ class CargoShip(MultiGroupTransport):
|
|||||||
return self.origin.shipping_lanes[self.destination]
|
return self.origin.shipping_lanes[self.destination]
|
||||||
|
|
||||||
def description(self) -> str:
|
def description(self) -> str:
|
||||||
return f"On a ship to {self.destination}"
|
return f"On a ship from {self.origin} to {self.destination}"
|
||||||
|
|
||||||
def find_escape_route(self) -> Optional[ControlPoint]:
|
def find_escape_route(self) -> Optional[ControlPoint]:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user