FoxWorn3365

ACC - Remoto

Feb 18th, 2025
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. modem_pos = "front"
  2. deviatoi_pos = "top"
  3. partenza_pos = "left"
  4. stati_pos = "right"
  5. protezioni_pos = "bottom"
  6.  
  7. modem = peripheral.wrap(modem_pos);
  8.  
  9. -- Costanti
  10. -- >> BINARI
  11. binari = {1 = colors.lime, 2 = colors.yellow, 3 = colors.lightBlue, 4 = colors.magenta, 5 = colors.orange, 6 = colors.white}
  12. binari_inv = {colors.lime = 1, colors.yellow = 2, colors.lightBlue = 3, colors.magenta = 4, colors.orange = 5, colors.white = 6}
  13.  
  14. -- >> DEVIATOI
  15. deviatoi = {1 = colors.white, 2 = colors.orange, 3 = colors.magenta, 4 = colors.lightBlue, 5 = colors.yellow, 6 = colors.lime, 7 = color.pink, 8 = colors.gray, 9 = colors.lightGray, 10 = colors.cyan}
  16.  
  17. -- >>
  18.  
  19. -- Assegnazione degli stati
  20. -- 1. CdB
  21. stati = {colors.lime = false, colors.yellow = false, colors.lightBlue = false, colors.magenta = false, colors.orange = false, colors.white = false}
  22.  
  23. -- Deviatoi
  24. deviatoi = {1 = colors.white, 2 = colors.orange, 3 = colors.magenta, 4 = colors.lightBlue, 5 = colors.yellow, 6 = colors.lime, 7 = color.pink, 8 = colors.gray, 9 = colors.lightGray, 10 = colors.cyan}
  25.  
  26.  
  27.  
  28.  
Advertisement
Add Comment
Please, Sign In to add comment