kitsune-space-program-kerbo.../boot/tutorial_boot.ks

19 lines
485 B
Plaintext

// Written based off CheersKevin's youtube series
// On programming in KOS
FUNCTION NOTIFY {
PARAMETER message.
HUDTEXT("kOS: " + message, 5, 2, 50, WHITE, false).
}
NOTIFY("Program booted!").
IF ALT:RADAR < 100 { // If our radar alt is lower than 10
WAIT 10.
COPY proto.proto1.ks FROM 0. // Copy in a prototyping script
RUN proto.proto1.ks. // Run the script we coppied over
} else {
NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!").
}