CultistaDeCrocs

asshatManual

Sep 15th, 2024 (edited)
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. require("libraries.asshat")
  2.  
  3. precisaCombustivel = (turtle.getFuelLevel() ~= "unlimited")
  4.  
  5. term.clear()
  6. term.setCursorPos(1,1)
  7.  
  8. -- Só fala a parte do carvão se não tiver a configuração de combustível ilimitado
  9. if (precisaCombustivel) then
  10.     writeCor("Put coal", colors.lightBlue)
  11.     print(" in my 1st slot so I can move.\n")
  12. end
  13.  
  14. writeCor("Put blocks", colors.lightBlue)
  15. print(" in my slots from the 2nd forward so I can build.\n")
  16.  
  17. writeCor("Write asshatPrograms ", colors.lightBlue)
  18. write("to see available programs.\n\n")
  19.  
  20. write("If I am in an unloaded chunk ")
  21.  
  22. if (not precisaCombustivel) then
  23.     write("or the server shuts down, ") -- Se for imprimir a parte do carvão, essa parte não cabe na tela, então ela só imprime se a do carvão não imprimir.
  24. end
  25.  
  26. writeCor("I turn off.", colors.red)
  27. write(" If this is a problem for you, write ")
  28. writeCor("asshatStartup.\n", colors.lightBlue)
Add Comment
Please, Sign In to add comment