Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c = require("component")
- local term = require("term")
- local component = require("component")
- local event = require("event")
- local serialization = require("serialization")
- local gpu = component.gpu
- local tun = component.tunnel
- local w, h = gpu.getResolution()
- gpu.fill(1, 1, w, h, " ")
- local asd = 1
- local os = require("os")
- local address
- repeat
- term.clear(true)
- print("Warp Computer")
- print("")
- print("Travel between dimensions? y/n")
- answer = io.read()
- print()
- if answer == "y" then
- print("Before travel you need to empty the reactor of its fuel, have you done so? y/n")
- answer = io.read()
- print()
- if answer == "y" then
- print("Traveling.")
- tun.send("warp")
- print("Command sent.")
- elseif answer == "n" then
- print("Aborted, empty the reactor and try again.")
- end
- os.sleep(5)
- elseif answer == "n" then
- print("Aborted")
- os.sleep(5)
- end
- until asd == 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement