Reuse code in satdeploy.
This commit is contained in:
parent
f9246c6246
commit
e2906564bc
|
@ -11,6 +11,7 @@
|
||||||
parameter name is "New Satellite".
|
parameter name is "New Satellite".
|
||||||
|
|
||||||
RunOncePath("/lib/navigation").
|
RunOncePath("/lib/navigation").
|
||||||
|
RunOncePath("/lib/systems").
|
||||||
|
|
||||||
stage.
|
stage.
|
||||||
|
|
||||||
|
@ -22,14 +23,9 @@ stage.
|
||||||
|
|
||||||
set SHIP:NAME to name.
|
set SHIP:NAME to name.
|
||||||
|
|
||||||
PANELS on.
|
SolarPanels().
|
||||||
for p in SHIP:PARTS {
|
Antennas().
|
||||||
if p:MODULES:Find("ModuleRTAntenna") > -1 and p:GetModule("ModuleRTAntenna"):ALLEVENTS:Find("Activate") > -1 {
|
|
||||||
p:GetModule("ModuleRTAntenna"):DoEvent("Activate").
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//add CreateCircularizationNode(TIME + 5).
|
|
||||||
add CreateCircularizationNode("PERI").
|
add CreateCircularizationNode("PERI").
|
||||||
ExecNode().
|
ExecNode().
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user