Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("left")
- colony = peripheral.wrap("down")
- while true do
- sleep(1)
- requests = colony.getRequests()
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.write("Colony Requests")
- for i,v in ipairs(requests) do
- monitor.setCursorPos(1,i+1)
- monitor.write(v.desc)
- end
- end
Add Comment
Please, Sign In to add comment