Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("radarAPI.lua")
- function turn(value)
- rs.setOutput("top", value)
- rs.setOutput("right", value)
- end
- radarAPI.init("bottom", 0.2)
- radarAPI.addArea(-1, 1, 1, 3, -1, 1, function() turn(true) end, function() turn(false) end)
- radarAPI.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement