Advertisement
PolskiWisnia

MineCore 1.01

Nov 10th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.17 KB | None | 0 0
  1. -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
  2. -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
  3. -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
  4. -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
  5. -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
  6. while true do
  7. term.clear()
  8. term.setBackgroundColor(colors.white)
  9. term.clear()
  10. term.setBackgroundColor(colors.white)
  11. term.setTextColor(colors.white)
  12. term.setCursorPos(1,5)
  13. term.setBackgroundColor(colors.red)
  14. term.setCursorPos(1,19)
  15. term.setBackgroundColor(colors.green)
  16. write("Start")
  17. term.setCursorPos(1,1)
  18. print("MineCore Mint 1.01")
  19. local event, click, x, y = os.pullEvent("mouse_click")
  20. if x == 1 and y == 19 or x == 2 and y == 19 or x == 3 and y == 19 or x == 4 and y == 19 or x == 5 and y == 19 or x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 4 and y == 18 or x == 5 and y == 18  then
  21.  term.setBackgroundColor(colors.blue)
  22.  term.setCursorPos(1,18)
  23.  print("Wyjdz do CraftOS ")
  24.  term.setCursorPos(1,17)
  25.  print("Programy         ")
  26.  term.setCursorPos(1,16)
  27.  print("MineSurf         ")
  28.  term.setCursorPos(1,15)
  29.  print("Panel sterowania ")
  30.  term.setBackgroundColor(colors.black)
  31.  local event, click, x, y = os.pullEvent("mouse_click")
  32.  if x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 3 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
  33.  if x == 1 and y == 17 or x == 2 and y == 17 or x == 3 and y == 17 or x == 4 and y == 17 then
  34.  x = 0
  35.  y = 0
  36.  term.setCursorPos(1,2)
  37.  print("Programy MineCore")
  38.  print("2048")
  39.  local event, click, x, y = os.pullEvent("mouse_click")
  40.  if x == 1 and y == 3 or x == 2 and y == 3 or x == 3 and y == 3 then shell.run("/os/.2048")
  41.  end
  42.  end
  43.  if x == 1 and y == 16 or x == 2 and y == 16 or x == 3 and y == 16 or x == 4 and y == 16 then
  44.  term.setCursorPos(1,2)
  45.  print("MineSurf 2.0 dla MineCore")
  46.  print("MineCore Pocket flasher")
  47.  local event, click, x, y = os.pullEvent("mouse_click")
  48.  if x == 1 and y == 3 or x == 2 and y == 3 or x == 3 and y == 3 then shell.run("pastebin get PBYgWpcP /MineSurf/flasher") print("MineCore Pocket flasher zostal pobrany! Znajduje sie w sciezce: /MineSurf/flasher") end  
  49.  sleep(5)
  50.  end
  51.  if x == 1 and y == 15 or x == 2 and y == 15 or x == 3 and y == 15 or x == 4 and y == 15 then
  52.  term.setCursorPos(1,2)
  53.  print("Panel sterowania MineCore")
  54.  print("Zmien nazwe komputera")
  55.  print("[Zmien]")
  56.  print("Wyswietl informacje o komputerze")
  57.  print("[Informacje]")
  58.  local event, click, x, y = os.pullEvent("mouse_click")
  59.  if x == 1 and y == 4 or x == 2 and y == 4 or x == 3 and y == 4 then term.setCursorPos(1,4) write("Wpisz nowa nazwe:") nazwa = read() os.setComputerLabel(nazwa) os.reboot() end
  60.  if x == 1 and y == 6 or x == 2 and y == 6 or x == 3 and y == 6 or x == 4 and y == 6 then shell.run("/os/.informacje") end  
  61.  end
  62. end
  63. if x == 50 and y == 19 then os.reboot() end
  64. if x == 51 and y == 19 then os.shutdown() end
  65. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement