Advertisement
PrinceOfCookies

Untitled

Feb 6th, 2023 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local WireMod = peripheral.wrap("bottom")
  2. local Monitor = peripheral.wrap("right")
  3.  
  4. local MW = Monitor.write
  5. local MC = Monitor.clear
  6. local MSCP = Monitor.setCursorPos
  7. local x, y = Monitor.getSize()
  8.  
  9. local function Barrier(x)
  10. for i = 1, y do
  11. MSCP(x, i)
  12. MW("|")
  13. end
  14. end
  15.  
  16. while true do
  17. sleep(4)
  18. MC()
  19. MSCP(1, 1)
  20. MW(" Materials ")
  21. MSCP(16, 1)
  22. MW(" Energy ")
  23. MSCP(1, 2)
  24. MW("---------------")
  25. MSCP(16,2)
  26. MW("---------------")
  27. MSCP(1, 3)
  28. MW("Fuel: 0/64")
  29. MSCP(1, 4)
  30. MW("Redstone: 0/64")
  31. MSCP(1, 5)
  32. MW("Coolant: 0/64")
  33. MSCP(16, 3)
  34. MW("Energy: __FE/T")
  35.  
  36. Barrier(15)
  37. Barrier(31)
  38. end
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement