CultistaDeCrocs

startup.lua

May 13th, 2024
1,108
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. require("bibliotecas.atari")
  2.  
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. printCentroCor("===== A T A R I =====\n", colors.lime)
  6. printCentroCor("Autômato para Tarefas Altamente", colors.cyan)
  7. printCentroCor("Repetitivas ou Inconvenientes\n", colors.cyan)
  8.  
  9. printCentroCor("Por CultistaDeCrocs\n", colors.lightGray)
  10.  
  11. if not (fs.exists("./atariManual.lua")) then
  12.     writeCor("Arquivos nativos não encontrados.", colors.orange)
  13.     printCor(" Baixando arquivos do disco...", colors.lightBlue)
  14.    
  15.     if shell.run ("cp", "disk/*", ".") then
  16.         printCor("Sucesso!\n", colors.lime)
  17.     else
  18.         printCor("Falha em baixar arquivos.", colors.red)
  19.         os.exit()
  20.     end
  21. end
  22.  
  23. write("Digite ")
  24. writeCor("atariManual", colors.blue)
  25. write(" para ver instruções.\n\n")
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment