StrangeCodingHD

base

Sep 24th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.31 KB | None | 0 0
  1. function startseite()
  2. local bild = paintutils.loadImage("startseitenbild")
  3. paintutils.drawFilledBox(1,1,60,20,colors.black)
  4. paintutils.drawFilledBox(1,1,15,20,colors.gray)
  5. paintutils.drawFilledBox(1,1,15,3,colors.blue)
  6. paintutils.drawImage(bild,16,1)
  7. paintutils.drawLine(1,19,50,19)
  8. term.setTextColor(colors.white)
  9. term.setCursorPos(2,2)
  10. term.setBackgroundColor(colors.blue)
  11. print("Startseite")
  12. term.setBackgroundColor(colors.gray)
  13. term.setCursorPos(2,5)
  14. print("Neuigkeiten")
  15. term.setCursorPos(2,8)
  16. print("Regeln")
  17. term.setCursorPos(2,11)
  18. print("Infos")
  19. paintutils.drawFilledBox(1,17,15,60,colors.lightGray)
  20. term.setCursorPos(2,18)
  21. term.setTextColor(colors.white)
  22. term.setBackgroundColor(colors.lightGray)
  23. print(" by Strange")
  24. term.setBackgroundColor(colors.lightBlue)
  25. term.setCursorPos(25,2)
  26. print("Startseite")
  27. term.setCursorPos(17,4)
  28. print(" Diese Base ist noch in Bau!")
  29. term.setCursorPos(17,6)
  30. print("  Bitte komm spaeter wieder!")
  31. while true do
  32. sleep(5)
  33. neuigkeiten()
  34. end
  35. end
  36.  
  37. function neuigkeiten()
  38. local bild = paintutils.loadImage("startseitenbild")
  39. paintutils.drawFilledBox(1,1,60,20,colors.black)
  40. paintutils.drawFilledBox(1,1,15,20,colors.gray)
  41. paintutils.drawFilledBox(1,4,15,6,colors.blue)
  42. paintutils.drawImage(bild,16,1)
  43. paintutils.drawLine(1,19,50,19)
  44. term.setTextColor(colors.white)
  45. term.setCursorPos(2,2)
  46. term.setBackgroundColor(colors.gray)
  47. print("Startseite")
  48. term.setBackgroundColor(colors.blue)
  49. term.setCursorPos(2,5)
  50. print("Neuigkeiten")
  51. term.setCursorPos(2,8)
  52. term.setBackgroundColor(colors.gray)
  53. print("Regeln")
  54. term.setCursorPos(2,11)
  55. print("Infos")
  56. paintutils.drawFilledBox(1,17,15,60,colors.lightGray)
  57. term.setCursorPos(2,18)
  58. term.setTextColor(colors.white)
  59. term.setBackgroundColor(colors.lightGray)
  60. print(" by Strange")
  61. term.setBackgroundColor(colors.lightBlue)
  62. term.setCursorPos(24,2)
  63. print("Neuigkeiten")
  64. term.setCursorPos(17,4)
  65. print("  Das neue ME System ist")
  66. term.setCursorPos(18,5)
  67. print("   fast fertig :D")
  68. term.setCursorPos(20,7)
  69. print("   An dieser Stelle")
  70. term.setCursorPos(18,8)
  71. print("  Vielen Dank an Subscrxbe!")
  72. while true do
  73. sleep(5)
  74. regeln()
  75. end
  76. end
  77.  
  78. function regeln()
  79. local bild = paintutils.loadImage("startseitenbild")
  80. paintutils.drawFilledBox(1,1,60,20,colors.black)
  81. paintutils.drawFilledBox(1,1,15,20,colors.gray)
  82. paintutils.drawFilledBox(1,7,15,9,colors.blue)
  83. paintutils.drawImage(bild,16,1)
  84. paintutils.drawLine(1,19,50,19)
  85. term.setTextColor(colors.white)
  86. term.setCursorPos(2,2)
  87. term.setBackgroundColor(colors.gray)
  88. print("Startseite")
  89. term.setBackgroundColor(colors.gray)
  90. term.setCursorPos(2,5)
  91. print("Neuigkeiten")
  92. term.setCursorPos(2,8)
  93. term.setBackgroundColor(colors.blue)
  94. print("Regeln")
  95. term.setCursorPos(2,11)
  96. term.setBackgroundColor(colors.gray)
  97. print("Infos")
  98. paintutils.drawFilledBox(1,17,15,60,colors.lightGray)
  99. term.setCursorPos(2,18)
  100. term.setTextColor(colors.white)
  101. term.setBackgroundColor(colors.lightGray)
  102. print(" by Strange")
  103. term.setBackgroundColor(colors.lightBlue)
  104. term.setCursorPos(27,2)
  105. print("Regeln")
  106. term.setCursorPos(17,4)
  107. print(" Diese Base ist noch in Bau!")
  108. term.setCursorPos(17,6)
  109. print("  Bitte komm spaeter wieder!")
  110. while true do
  111. sleep(5)
  112. infos()
  113. end
  114. end
  115.  
  116. function infos()
  117. local bild = paintutils.loadImage("startseitenbild")
  118. paintutils.drawFilledBox(1,1,60,20,colors.black)
  119. paintutils.drawFilledBox(1,1,15,20,colors.gray)
  120. paintutils.drawFilledBox(1,10,15,12,colors.blue)
  121. paintutils.drawImage(bild,16,1)
  122. paintutils.drawLine(1,19,50,19)
  123. term.setTextColor(colors.white)
  124. term.setCursorPos(2,2)
  125. term.setBackgroundColor(colors.gray)
  126. print("Startseite")
  127. term.setBackgroundColor(colors.gray)
  128. term.setCursorPos(2,5)
  129. print("Neuigkeiten")
  130. term.setCursorPos(2,8)
  131. print("Regeln")
  132. term.setCursorPos(2,11)
  133. term.setBackgroundColor(colors.blue)
  134. print("Infos")
  135. term.setBackgroundColor(colors.gray)
  136. paintutils.drawFilledBox(1,17,15,60,colors.lightGray)
  137. term.setCursorPos(2,18)
  138. term.setTextColor(colors.white)
  139. term.setBackgroundColor(colors.lightGray)
  140. print(" by Strange")
  141. term.setBackgroundColor(colors.lightBlue)
  142. term.setCursorPos(27,2)
  143. print("Infos")
  144. term.setCursorPos(17,4)
  145. print(" Diese Base ist noch in Bau!")
  146. term.setCursorPos(17,6)
  147. print("  Bitte komm spaeter wieder!")
  148. while true do
  149. sleep(5)
  150. startseite()
  151. end
  152. end
  153.  
  154.  
  155. shell.run("pastebin get gLLy8GSd startseitenbild")
  156. startseite()
Add Comment
Please, Sign In to add comment