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 = "cycle"
- inverted = true
- side = "bottom"
- opentime = 5
- term.setTextColor(color)
- rs.setOutput(side,inverted)
- print("--------------------------------------------------")
- print("--------------VAULT-TEC DOOR CONTROLS-------------")
- print("------------------MAIN VAULT DOOR-----------------")
- print("--------------------------------------------------")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- INPUT COMMAND: --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- UI Model 0.1 --")
- print("--------------------------------------------------")
- print("--------------------------------------------------")
- term.setCursorPos(23,11)
- input = read("*")
- if input == password then
- if inverted == true then
- term.setCursorPos(6,12)
- print("Command Recognised. Vault Door Cycling.")
- rs.setOutput(side, false)
- sleep(opentime)
- os.reboot()
- end
- else
- term.setCursorPos(15,12)
- print("Command not Recognised.")
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement