Advertisement
sumguytwitches

Untitled

Feb 24th, 2021
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set sgp to 0.
  2. set sggo to true.
  3. set sgf to 8.
  4. set sgpr to 4.
  5. function sgd {
  6. parameter l. parameter d.
  7. If l:length > sgpr set sgpr to l:length.
  8. print (l:padleft(sgpr) + ": " +round(d,2)):padright(terminal:width) at (0, sgp).
  9. set sgp to sgp + 1.
  10. }.
  11. set sggo to false. wait 1. set sggo to true.
  12. On round(kuniverse:realtime * sgf) {
  13. set sgp to 0.
  14.  
  15. sgd("Nextpatch PE",choose nextnode:obt:nextpatch:periapsis if nextnode:obt:hasnextpatch else 9999999).
  16. sgd("Nextpatch incl",choose nextnode:obt:nextpatch:inclination if nextnode:obt:hasnextpatch else 9999999).
  17.  
  18. Print "":padright(terminal:width) at (0,sgp).
  19. Set sgp to sgp + 1.
  20. Print "":padright(terminal:width) at (0,sgp).
  21. return sggo.
  22. }
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement