Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local color = colors.lime
- term.clear()
- term.setCursorPos(1,1)
- password = "pipboy"
- inverted = true
- side = "bottom"
- opentime = 5
- term.setTextColor(color)
- rs.setOutput(side,inverted)
- print("--------------------------------------------------")
- print("---------------VAULT 8 DOOR CONTROLS--------------")
- print("--------------------------------------------------")
- print("-- ROBCO INDUSTRIES (TM) TERMLINK PROTOCOL --")
- print("-- ENTER PASSWORD NOW --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- PASSWORD: --")
- print("-- [ ] --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- ROBCO / VAULT-TEC UI Model 1.3 --")
- print("--------------------------------------------------")
- print("--------------------------------------------------")
- term.setCursorPos(21,10)
- input = read("*", nil, 6)
- if input == password then
- if inverted == true then
- term.setCursorPos(8,12)
- print("Password Recognised. Door Opening.")
- rs.setOutput(side, false)
- sleep(opentime)
- os.reboot()
- end
- else
- term.setCursorPos(12,12)
- print("Password not Recognised.")
- sleep(1)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement