Advertisement
drabont

Stationeers - Harvie 3x v.2

Oct 23rd, 2022
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. #= Harvie 3x = v 0.2 ================= by swagman =#
  2. # _ _ _ ____ #
  3. # | || |__ _ _ ___ _(_)___ |__ /_ __ #
  4. # | __ / _` | '_\ V / / -_) |_ \ \ / #
  5. # |_||_\__,_|_| \_/|_\___| |___/_\_\ #
  6. #==================================================#
  7. # 3xHarvie, FlipChute and Grow lighting automation #
  8. # d0-d2: Harvie 0-3; d3-d5: Hydroponics Device 0-3 #
  9. #= 2022.10.24 02:37 https://youtu.be/Wp7eGtdkFeo =#
  10. define SolarSens 1076425094
  11. define GrowLight -1758710260
  12. define FlipChute 163728359
  13. alias ind r15
  14.  
  15. loop:
  16. yield
  17.  
  18. lb r0 SolarSens Activate 0
  19. brne r0 r0 3
  20. xor r0 r0 1
  21. sb GrowLight On r0
  22.  
  23. sb FlipChute Setting 0
  24. lb r0 FlipChute Mode 0
  25. brnez r0 2
  26. sb FlipChute SettingOutput 0
  27.  
  28. add ind ind 1
  29. mod ind ind 3
  30. alias Hrv dr15
  31. add r0 ind 3
  32. alias Pon dr0
  33.  
  34. l r0 Hrv Activate
  35. bnez r0 loop
  36. l r0 Hrv On
  37. beqz r0 loop
  38.  
  39. ls r0 Pon 0 Mature
  40. ls r1 Pon 0 Seeding
  41.  
  42. brgez r0 3
  43. ls r2 Hrv 0 Occupied
  44. s Hrv Plant r2
  45.  
  46. select r0 r0 r0 r1
  47. s Hrv Harvest r0
  48.  
  49. brne r1 1 5
  50. sb FlipChute Mode 1
  51. lb r0 FlipChute SettingOutput 0
  52. add r0 r0 1
  53. sb FlipChute SettingOutput r0
  54.  
  55. j loop
  56. #.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-. \-(o)-(o)-/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement