SHARE
TWEET

Untitled

PolskiWisnia Jul 16th, 2019 (edited) 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function s(...) return sleep(...) end
  2. local function w(...) return write(...) end
  3. local function p(...) return print(...) end
  4. local function tw(...) return term.write(...) end
  5. local function scp(...) return term.setCursorPos(...) end
  6. local function sbc(...) return term.setBackgroundColor(...) end
  7. local function stc(...) return term.setTextColor(...) end
  8. local function tc(...) return term.clear(...) end
  9. local function tcl(...) return term.clearLine(...) end
  10. local function r(...) return shell.run(...) end
  11. local function sp(...) return textutils.slowPrint(...) end
  12. local function sw(...) return textutils.slowWrite(...) end
  13. local function fse(...) return fs.exists(...) end
  14. local function pul(...) return paintutils.loadImage(...) end
  15. local function pud(...) return paintutils.drawImage(...) end
  16. local function pfb(...) return paintutils.drawFilledBox(...) end
  17. local function su(...) return os.shutdown(...) end
  18. local function re(...) return os.reboot(...) end
  19. local function pdp(...) return paintutils.drawPixel(...) end
  20. local ver = fs.open("/odin/.ver", "r")
  21. wer = ver.readLine(1)
  22. pfb(1, 2, 51, 27, colors.red)
  23. pfb(1, 1, 51, 1, colors.gray)
  24. stc(colors.white)
  25. sbc(colors.gray)
  26. scp(1,27)
  27. p(wer)
  28. scp(1,1)
  29. p("SYSTEM ZABEZPIECZEN ODYN. POZIOM 4")
  30. pfb(2, 3, 23, 6, colors.gray)
  31. scp(2,3)
  32. p("Otworz")
  33. scp(2,4)
  34. p("Drzwi")
  35. local event, click, x, y = os.pullEvent("mouse_click")
  36. if x>1 and x<24 and y>2 and y<7 then s(2) re() end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top