vreezer

Rules

Apr 22nd, 2014
765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.32 KB | None | 0 0
  1. monitor=peripheral.wrap("left")
  2. monitor.setTextScale(1)
  3. monitor.setTextColor(colors.lime)
  4.  
  5. ---------------------------------------------------------------------------------------------------------------------
  6.  
  7. --function writ(str)
  8. --  monitor.slowPrint(str)
  9. --end
  10.  
  11. function newLineG()
  12.   local cX,cY= monitor.getCursorPos()
  13. print("1.Line x=", cX, " y=", cY)
  14. print("--------------------")
  15.   monitor.setCursorPos(1,cY+3)
  16.   sleep(0.05)
  17. end
  18.  
  19. function newLineK()
  20.   local bX,bY= monitor.getCursorPos()
  21. print("x=", bX, " y=", bY)
  22. --print("--------------------")
  23.   monitor.setCursorPos(1,bY+1)
  24. end
  25.  
  26. function w(str)
  27.    monitor.write(str)
  28. end
  29.  
  30. ---------------------------------------------------------------------------------------------------------------------
  31.  
  32. w("             __ Regeln __")
  33. newLineG()
  34. w("1. Das Auspumpen des Stadt-Me-Systems")
  35. newLineK()
  36. w("ist verboten!")
  37. newLineK()
  38. w("2. Andere Stadtmitglieder sind mit")
  39. newLineK()
  40. w("Respekt zu behandeln.")
  41. newLineK()
  42. w("3. Keine obszönen Bauwerke!")
  43. newLineK()
  44. w("4. Griefen und Stehlen ist verboten!")
  45. newLineK()
  46. w("5. Bei kleineren Fragen seht die")
  47. newLineK()
  48. w("Stadtführung gerne zur Verfügung, wir")
  49. newLineK()
  50. w("sind aber trotzdem keine Tekkit-Guide!")
  51. newLineK()
  52. w("6. Die Anweisungen der Stadtleitung")
  53. newLineK()
  54. w("sind zu befolgen!")
Advertisement
Add Comment
Please, Sign In to add comment