Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local updateRate = 16
- local intervals = {}
- local delay = 24 / updateRate
- local modem = peripheral.find("modem")
- local lights = {}
- lights.N = {}
- lights.E = {}
- lights.S = {}
- lights.W = {}
- lights.N.U = {}
- lights.N.UR = {}
- lights.N.R = {}
- lights.N.DR = {}
- lights.N.D = {}
- lights.N.DL = {}
- lights.N.L = {}
- lights.N.UL = {}
- intervals[1] = 0.000
- for i=2,updateRate,1 do
- intervals[i] = (delay * i)
- print(intervals[i])
- end
- while true do
- for i=1,updateRate,1
- if intervals[i]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement