Add launchpad code for controlling pre-launch sequence with ModularLaunchpads. (this is 100% aesthetic but it's really pretty)

This commit is contained in:
2021-08-29 01:07:14 -04:00
parent 4c356b61ab
commit 6be96ebf8a
4 changed files with 80 additions and 0 deletions

View File

@ -35,6 +35,8 @@ function Launch {
parameter pitchTime is 30.
parameter autoStage is true.
NoFuelResources(true).
// Configure subsystems.
RCS off.
SAS off.

View File

@ -23,3 +23,13 @@ function SolarPanels {
PANELS off.
}
}
function NoFuelResources {
parameter enable is true.
for part in SHIP:PartsTagged("nofuel") {
for resource in part:RESOURCES {
set resource:ENABLED to enable.
}
}
}