Advertisement
Der_TJ

BlackTec Script Raum 6

Sep 13th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.62 KB | None | 0 0
  1. --Geschrieben von Der_TJ / Der_TJ1997 / Toben Heinze
  2. --geschrieben fuer BlackTec
  3.  
  4. -- Das folgende aktiviren zum schutz. (anti Terminate)
  5. -- os.pullEvent = os.pullEventRaw
  6.  
  7. shell.run("pastebin run LCvrUxvU")
  8.  
  9. term.clear()
  10. term.setCursorPos(1,1)
  11.  
  12. local R1 = "Das ist Richtig! Gratulation!"
  13. local R2 = "Achtung du wirst gleich Teleportiert."
  14. local F1 = "Das ist leider Falsche."
  15. local F2 = "Versuche es doch gleich noch einmal"
  16.  
  17. -- Text
  18. textutils.slowPrint("Wenn dich die Zombies nicht erwischt haben dann",25)
  19. textutils.slowPrint("sage mir doch welche der folgenden",25)
  20. textutils.slowPrint("Antworte richtig sind.",25)
  21. --textutils.slowPrint(" ",25)
  22. print(" ")
  23. -- Frage
  24. textutils.slowPrint("A: Ich baue grosse Farmen mit ganz vielen Spawnern, ",25)
  25. textutils.slowPrint(" ",25)
  26. textutils.slowPrint("B: Ich baue eine Farm je Spawner.",25)
  27. textutils.slowPrint(" ",25)
  28. textutils.slowPrint("C: Meine Farm ist ein Freilandgehege mit ausreichend Luft und Sonnenschein",25)
  29. textutils.slowPrint(" ",25)
  30. textutils.slowPrint("D: Ich gebe meinen Monstern die Moeglichkeit, durch einen Schalter, eine Pause zu machen.",25)
  31. textutils.slowPrint(" ",25)
  32. textutils.slowPrint("E: Mit einem offenen Ausgang haben meine Monster die Moeglichkeit eine Runde zu shoppen, bevor ich sie erledige.",25)
  33. textutils.slowPrint(" ",25)
  34. print(" ")
  35.  
  36. Password = read()
  37.  
  38. print(" ")
  39.  
  40. -- hebelt Gross-/Kleinschreibung aus.
  41. Password = Password:lower()
  42.  
  43. --Richtige Antworter
  44.  
  45. if Password == ("b d") then
  46.  term.clear()
  47.  term.setCursorPos(1,1)
  48.  term.setTextColor( colors.green )
  49.  textutils.slowPrint(R1,25)
  50.  term.setTextColor( colors.red )
  51.  textutils.slowPrint(R2,25)
  52.  rs.setOutput("left", true)
  53.  sleep(3)
  54.  rs.setBundledOutput("bottom", colors.red, true)
  55.  sleep(0.5)
  56.  os.reboot()
  57. else
  58.  
  59. if Password == ("d b") then
  60.  term.clear()
  61.  term.setCursorPos(1,1)
  62.  term.setTextColor( colors.green )
  63.  textutils.slowPrint(R1,25)
  64.  term.setTextColor( colors.red )
  65.  textutils.slowPrint(R2,25)
  66.  rs.setOutput("left", true)
  67.  sleep(3)
  68.  rs.setBundledOutput("bottom", colors.red, true)
  69.  sleep(0.5)
  70.  os.reboot()
  71. else
  72.  
  73. if Password == ("b und d") then
  74.  term.clear()
  75.  term.setCursorPos(1,1)
  76.  term.setTextColor( colors.green )
  77.  textutils.slowPrint(R1,25)
  78.  term.setTextColor( colors.red )
  79.  textutils.slowPrint(R2,25)
  80.  rs.setOutput("left", true)
  81.  sleep(3)
  82.  rs.setBundledOutput("bottom", colors.red, true)
  83.  sleep(0.5)
  84.  os.reboot()
  85. else
  86.  
  87. if Password == ("d und b") then
  88.  term.clear()
  89.  term.setCursorPos(1,1)
  90.  term.setTextColor( colors.green )
  91.  textutils.slowPrint(R1,25)
  92.  term.setTextColor( colors.red )
  93.  textutils.slowPrint(R2,25)
  94.  rs.setOutput("left", true)
  95.  sleep(3)
  96.  rs.setBundledOutput("bottom", colors.red, true)
  97.  sleep(0.5)
  98.  os.reboot()
  99. else
  100.  
  101. if Password == ("b, d") then
  102.  term.clear()
  103.  term.setCursorPos(1,1)
  104.  term.setTextColor( colors.green )
  105.  textutils.slowPrint(R1,25)
  106.  term.setTextColor( colors.red )
  107.  textutils.slowPrint(R2,25)
  108.  rs.setOutput("left", true)
  109.  sleep(3)
  110.  rs.setBundledOutput("bottom", colors.red, true)
  111.  sleep(0.5)
  112.  os.reboot()
  113. else
  114.  
  115. if Password == ("d, b") then
  116.  term.clear()
  117.  term.setCursorPos(1,1)
  118.  term.setTextColor( colors.green )
  119.  textutils.slowPrint(R1,25)
  120.  term.setTextColor( colors.red )
  121.  textutils.slowPrint(R2,25)
  122.  rs.setOutput("left", true)
  123.  sleep(3)
  124.  rs.setBundledOutput("bottom", colors.red, true)
  125.  sleep(0.5)
  126.  os.reboot()
  127. else
  128.  
  129. --Falche Antwort
  130.  term.clear()
  131.  term.setCursorPos(1,1)
  132.  term.setTextColor( colors.red )
  133.  textutils.slowPrint(F1,25)
  134.  textutils.slowPrint(F2,25)
  135.  redstone.setOutput("right", true)
  136.  sleep(3)
  137.  os.reboot()
  138.  
  139. --Jeden Antwort muss beendet werden mit end
  140. end
  141. end
  142. end
  143. end
  144. end
  145. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement