Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Geschrieben von Der_TJ / Der_TJ1997 / Toben Heinze
- --geschrieben fuer BlackTec
- -- Das folgende aktiviren zum schutz. (anti Terminate)
- -- os.pullEvent = os.pullEventRaw
- shell.run("pastebin run LCvrUxvU")
- term.clear()
- term.setCursorPos(1,1)
- local R1 = "Das ist Richtig! Gratulation!"
- local R2 = "Achtung du wirst gleich Teleportiert."
- local F1 = "Das ist leider Falsche."
- local F2 = "Versuche es doch gleich noch einmal"
- -- Text
- textutils.slowPrint("Wenn dich die Zombies nicht erwischt haben dann",25)
- textutils.slowPrint("sage mir doch welche der folgenden",25)
- textutils.slowPrint("Antworte richtig sind.",25)
- --textutils.slowPrint(" ",25)
- print(" ")
- -- Frage
- textutils.slowPrint("A: Ich baue grosse Farmen mit ganz vielen Spawnern, ",25)
- textutils.slowPrint(" ",25)
- textutils.slowPrint("B: Ich baue eine Farm je Spawner.",25)
- textutils.slowPrint(" ",25)
- textutils.slowPrint("C: Meine Farm ist ein Freilandgehege mit ausreichend Luft und Sonnenschein",25)
- textutils.slowPrint(" ",25)
- textutils.slowPrint("D: Ich gebe meinen Monstern die Moeglichkeit, durch einen Schalter, eine Pause zu machen.",25)
- textutils.slowPrint(" ",25)
- textutils.slowPrint("E: Mit einem offenen Ausgang haben meine Monster die Moeglichkeit eine Runde zu shoppen, bevor ich sie erledige.",25)
- textutils.slowPrint(" ",25)
- print(" ")
- Password = read()
- print(" ")
- -- hebelt Gross-/Kleinschreibung aus.
- Password = Password:lower()
- --Richtige Antworter
- if Password == ("b d") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("d b") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("b und d") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("d und b") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("b, d") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("d, b") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- --Falche Antwort
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.red )
- textutils.slowPrint(F1,25)
- textutils.slowPrint(F2,25)
- redstone.setOutput("right", true)
- sleep(3)
- os.reboot()
- --Jeden Antwort muss beendet werden mit end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement