Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Welcome to Aperture Doomsday Device!")
- print("")
- print("Per disattivare Aperture Doomsday Device(TM) inserire le 10 parole d'ordine")
- print("")
- print("Parola d'ordine 1:")
- input = read("#")
- if input == "lynnfield" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 2:")
- input = read("#")
- if input == "nehalem" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 3:")
- input = read("#")
- if input == "league" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 4:")
- input = read("#")
- if input == "anakin" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 5:")
- input = read("#")
- if input == "neihemiah" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 6:")
- input = read("#")
- if input == "d6" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 7:")
- input = read("#")
- if input == "lambda" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 8:")
- input = read("#")
- if input == "darthvader" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 9:")
- input = read("#")
- if input == "halflife" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Parola d'ordine 10:")
- input = read("#")
- if input == "2033" then
- term.clear()
- term.setCursorPos(1, 1)
- print("DOOMSDAY DEVICE DISATTIVATO")
- redstone.setOutput("back", true)
- sleep(1)
- redstone.setOutput("back", false)
- elseif input == "lilli" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Password root accettata")
- print("Welcom to BASH - Bourne-Again-SHell")
- break
- else
- print("Password errata - Terminale bloccato")
- print("Verrai ora distrutto")
- redstone.setOutput("top", true)
- sleep(15)
- redstone.setOutput("top", false)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment