Add deploy all fairings/antennas helper functions.

This commit is contained in:
Casper V. Kristensen 2019-02-08 22:16:20 +01:00
parent 121581f227
commit 2e65161467
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -51,6 +51,22 @@ function isp_sum {
} }
function deploy_fairings {
print "Deploying fairings".
for module in SHIP:modulesnamed("ModuleProceduralFairing") {
module:doaction("deploy", true).
}
}
function extend_antennas {
print "Extending antennas".
for module in SHIP:modulesnamed("ModuleDeployableAntenna") {
module:doaction("extend antenna", true).
}
}
function unlock_control { function unlock_control {
// //
// Ensure that the throttle is 0 and that the player is not locked out of control. // Ensure that the throttle is 0 and that the player is not locked out of control.