Advertisement
Guest User

startup.lua

a guest
Jun 18th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.30 KB | None | 0 0
  1. os.loadAPI("m")
  2. function firstPage()
  3. m.clearScreen(colors.gray, colors.gray)
  4. m.mon.setTextScale(1)
  5. m.drawBars(colors.brown, 1)
  6. monX, monY = m.mon.getSize()
  7. m.writeText((monX/2)-8, 1, colors.brown, colors.white, "Pam's HarvestCraft")
  8. m.writeText((monX/2)-9, 3, colors.gray, colors.brown, "What is HarvestCraft?")
  9. m.writeText(2, 4, colors.gray, colors.white, "Pam's HarvestCraft is an amazing and much needed")
  10. m.writeText(2, 5, colors.gray, colors.white, "update to Minecraft's food and hunger mechanics.")
  11. m.writeText(2, 6, colors.gray, colors.white, "Paired with Cooking for Blockheads and")
  12. m.writeText(2, 7, colors.gray, colors.white, "The Spice of Life, food and hunger take on a")
  13. m.writeText(2, 8, colors.gray, colors.white, "new meaning.")
  14.  
  15. end
  16.  
  17. function secondPage()
  18. m.clearScreen(colors.gray, colors.gray)
  19. m.mon.setTextScale(1)
  20. m.drawBars(colors.brown, 1)
  21. m.writeText((monX/2)-12, 1, colors.brown, colors.white, "HarvestCraft Block Addon's")
  22. m.writeText(2, 3, colors.gray, colors.brown, "Kitchen Multiblock:")
  23. m.writeText(22, 3, colors.gray, colors.white, "Cooking for Blockheads adds")
  24. m.writeText(2,4, colors.gray, colors.white, "a very cool multi-block. The Kitchen Multi-Block")
  25. m.writeText(2, 5, colors.gray, colors.white, "(Seen Below) allows you to combine all your")
  26. m.writeText(2, 6, colors.gray, colors.white, "crops and food items into one central location.")
  27. m.writeText(2, 7, colors.gray, colors.white, "The heart of the kitchen, the cooking table,")
  28. m.writeText(2, 8, colors.gray, colors.white, "allows you to see all craftable food-items")
  29. m.writeText(2, 9, colors.gray, colors.white, "based on items in your inventory, and in any")
  30. m.writeText(2, 10, colors.gray, colors.white, "item stored in the kitchen multiblock.")
  31. m.writeText(2, 11, colors.gray, colors.white, "All segments of the multiblock must be")
  32.                                  
  33. end
  34.  
  35. function thirdPage()
  36. m.clearScreen(colors.gray, colors.gray)
  37. m.drawBars(colors.brown, 1)
  38. m.writeText((monX/2)-13, 1, colors.brown, colors.white, "Kitchen Multi-Block (cont.)")
  39. m.writeText(2, 3, colors.gray, colors.white, "touching or have a \"kitchen floor\" to connect")
  40. m.writeText(2, 4, colors.gray, colors.white, "them together. ")
  41.  
  42.  
  43. end
  44.  
  45. while true do
  46. firstPage()
  47. sleep(15)
  48. secondPage()
  49. sleep(20)
  50. thirdPage()
  51. sleep(10)
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement