Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Input
- local x
- local y
- local z
- print("Side of Computer touching the Transporter:")
- Input = read()
- transporter = peripheral.wrap(Input)
- while true do
- Input = read()
- if Input == "source" then
- Input = read()
- x = Input
- Input = read()
- y = Input
- Input = read()
- z = Input
- transporter.source(x,y,z)
- print(x," ",y," ",z)
- elseif Input == "dest" then
- Input = read()
- x = Input
- Input = read()
- y = Input
- Input = read()
- z = Input
- transporter.dest(x,y,z)
- print(x," ",y," ",z)
- elseif Input == "energize" then
- transporter.energize()
- elseif Input == "lock" then
- transporter.lock()
- elseif Input == "release" then
- transporter.release()
- elseif Input == "lockStrength" then
- transporter.lockStrength()
- elseif Input == "powerBoost" then
- Input = read()
- transporter.powerBoost(Input)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement