Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem_pos = "front"
- deviatoi_pos = "top"
- partenza_pos = "left"
- stati_pos = "right"
- protezioni_pos = "bottom"
- modem = peripheral.wrap(modem_pos);
- -- Costanti
- -- >> BINARI
- binari = {1 = colors.lime, 2 = colors.yellow, 3 = colors.lightBlue, 4 = colors.magenta, 5 = colors.orange, 6 = colors.white}
- binari_inv = {colors.lime = 1, colors.yellow = 2, colors.lightBlue = 3, colors.magenta = 4, colors.orange = 5, colors.white = 6}
- -- >> DEVIATOI
- 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}
- -- >>
- -- Assegnazione degli stati
- -- 1. CdB
- stati = {colors.lime = false, colors.yellow = false, colors.lightBlue = false, colors.magenta = false, colors.orange = false, colors.white = false}
- -- Deviatoi
- 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}
Advertisement
Add Comment
Please, Sign In to add comment