First draft of station building mission
This commit is contained in:
@@ -11,9 +11,10 @@ from lib import get_contract, get_rescuee_vessel, get_body, get_connexion
|
|||||||
|
|
||||||
|
|
||||||
class MissionType(Enum):
|
class MissionType(Enum):
|
||||||
transport = 1
|
transport_kerbal = 1
|
||||||
orbit_rescue = 2
|
orbit_rescue = 2
|
||||||
comsat = 3
|
comsat = 3
|
||||||
|
transport_cargo = 4
|
||||||
|
|
||||||
|
|
||||||
class MissionStatus(Enum):
|
class MissionStatus(Enum):
|
||||||
@@ -37,7 +38,7 @@ class Mission:
|
|||||||
|
|
||||||
|
|
||||||
class TransportMission(Mission):
|
class TransportMission(Mission):
|
||||||
type = MissionType.transport
|
type = MissionType.transport_kerbal
|
||||||
|
|
||||||
def __init__(self, kerbal_name, destination):
|
def __init__(self, kerbal_name, destination):
|
||||||
self.kerbal_name = kerbal_name
|
self.kerbal_name = kerbal_name
|
||||||
|
|||||||
16
mission/station_build.py
Normal file
16
mission/station_build.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
from . import Mission
|
||||||
|
|
||||||
|
|
||||||
|
class StationBuildMission(Mission):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
# Ship part package to LKO
|
||||||
|
# if destination not Kerbin:
|
||||||
|
# Transfer part package to Right orbit
|
||||||
|
# if station core not in package:
|
||||||
|
# Rendez-vous with station (if station core not in package)
|
||||||
|
# separate package
|
||||||
|
# for each part:
|
||||||
|
# Determine connection ports and angle
|
||||||
|
# Start docking
|
||||||
Reference in New Issue
Block a user