Add deploy all fairings/antennas helper functions.
This commit is contained in:
parent
121581f227
commit
2e65161467
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue