Reuse code in satdeploy.

This commit is contained in:
Anna Rose 2021-08-27 23:32:43 -04:00
parent f9246c6246
commit e2906564bc

View File

@ -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().