Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local colors = require("colors")
- local component = require("component")
- local sides = require("sides")
- print("your train is on its way !")
- rs = component.redstone
- state = rs.getBundledInput(sides.bottom,colors.orange)
- if state == 0 then
- rs.setBundledOutput(sides.top,colors.orange,255)
- train = component.proxy(component.get("d73f"))
- train.setDestination("City/gjfujskylab")
- else
- train2 = component.proxy(component.get("c433")
- os.sleep(2)
- rs.setBundledOutput(sides.top,colors.orange,0)
- end
- local shell = require("shell")
- shell.execute("clear")
- os.sleep(2)
- shell.execute("wer38station")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement