Advertisement
drabont

Stationeers - Hard Suit Automaton simplified

May 20th, 2020
4,118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #= Hard Suit Automaton = v 0.8s ====== by swagman =#
  2. #  _  _ .simplified._   ___      _ _     li je **  #
  3. # | || |__ _ _ _ __| | / __|_  _(_) |_   te fi ba  #
  4. # | __ / _` | '_/ _` | \__ \ || | |  _|  ** re se  #
  5. # |_||_\__,_|_| \__,_| |___/\_,_|_|\__|  Automaton #
  6. #==================================================#
  7. # NormalMode:                                      #
  8. # + auto light off timer                           #
  9. # + jetpack "silent mode"                          #
  10. # Free first filter slot to enable AdvancedMode:   #
  11. # + auto correct A/C settings by external temp     #
  12. # + auto activation A/C at critical temperatures   #
  13. # + filter system control for filters longer life  #
  14. # Place filter in first slot for safe chip removal #
  15. #==================================================#
  16. # |-| _\"  /-\ |_| "|" () |\/| /-\ "|" () |\| - |_ #
  17. #= 2019.09.13 02:43  https://youtu.be/Nh8U1YmfuXE =#
  18.  
  19. define cZer 273.15 # 0C
  20. define cMid 298.15 # 25C
  21. define cMax 323.15 # 50C
  22. alias Suit db
  23. alias Helm d0
  24. alias Back d1
  25. alias debug r13
  26. alias count r12
  27. alias lTime r11
  28. alias s4o r10
  29. alias LiEn r9
  30. alias TeEn r8
  31. alias FiEn r7
  32. alias TeSe r6
  33. alias TeEx r5
  34. alias TeIn r4
  35. alias RaOx r3
  36. move lTime 200
  37. #.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~
  38. loop:
  39. yield
  40. ls s4o Suit 4 Occupied
  41. l LiEn Helm On
  42. l TeEx Suit TemperatureExternal
  43. l TeIn Suit Temperature
  44. l RaOx Suit RatioOxygen
  45. mul count count LiEn
  46. add count count LiEn
  47. sub r0 lTime count
  48. brgt r0 4 2
  49. s Helm On r0
  50. s Back On 1
  51. s Back Activate 0
  52. min TeSe TeEx cMax
  53. max TeSe TeSe cZer # 0C
  54. sna TeEn TeIn cMid 0.1 # 25C 30C
  55. slt FiEn RaOx 0.40
  56. select TeEn s4o 1 TeEn
  57. select FiEn s4o 1 FiEn
  58. select TeSe s4o cMid TeSe
  59. s Suit On TeEn
  60. s Suit Filtration FiEn
  61. s Suit TemperatureSetting TeSe
  62. s Suit PressureSetting 50
  63. j loop
  64. #.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.   \-(o)-(o)-/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement