GauHelldragon

CC Colony

Dec 20th, 2023 (edited)
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. monitor = peripheral.wrap("left")
  2. colony = peripheral.wrap("down")
  3.  
  4.  
  5. while true do
  6.     sleep(1)
  7.     requests = colony.getRequests()
  8.     monitor.clear()
  9.  monitor.setCursorPos(1,1)
  10.  monitor.write("Colony Requests")
  11.     for i,v in ipairs(requests) do
  12.          monitor.setCursorPos(1,i+1)
  13.    monitor.write(v.desc)
  14.  
  15.  
  16.     end
  17. end
Add Comment
Please, Sign In to add comment