Advertisement
leonardi

ui

Oct 11th, 2013
1,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. function drawdesktop()
  2.   term.setCursorPos(1,1)
  3.   write("====================Power-Grid====================")
  4.  
  5.   term.setCursorPos(1,7)
  6.   write("==================================================")
  7.   term.setCursorPos(1,13)
  8.   write("==================================================")
  9.   term.setCursorPos(1,19)
  10.   write("==================================================")
  11.   local i = 1
  12.   for i = 1,18 do
  13.   term.setCursorPos(17,i)
  14.   write("|")
  15.   end
  16.   i = 1
  17.  
  18.   local b = 1
  19.   for b = 1,18 do
  20.   term.setCursorPos(34,b)
  21.   write("|")
  22.   end
  23.   b = 1
  24.  
  25. end
  26.  
  27. drawdesktop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement