Add deploy all fairings/antennas helper functions.
This commit is contained in:
parent
121581f227
commit
2e65161467
1 changed files with 16 additions and 0 deletions
|
@ -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 {
|
||||
//
|
||||
// Ensure that the throttle is 0 and that the player is not locked out of control.
|
||||
|
|
Loading…
Reference in a new issue