From ae235821b0975d03362ae6a974ed28fe8d296ffc Mon Sep 17 00:00:00 2001 From: annabunches Date: Wed, 11 Aug 2021 23:58:48 -0400 Subject: [PATCH] Auto-stage for reentry. --- prog/reentry.ks | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/prog/reentry.ks b/prog/reentry.ks index 22e8a6c..77383ba 100644 --- a/prog/reentry.ks +++ b/prog/reentry.ks @@ -1,7 +1,16 @@ +// Automated reentry. +// Assumes stage 0 contains only parachutes. +// Primarily written for small science payload probes. @lazyglobal off. SAS off. + +// stage until only stage 0 remains. +until STAGE:NUMBER <= 1 { + stage. +} + lock STEERING to SHIP:SRFRETROGRADE. for p in SHIP:PARTS {