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