Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local args = {...}
- local gearshift = peripheral.find("Create_SequencedGearshift")
- local pos = tonumber(args[1])
- if fs.exists("/nodes/node" .. pos) then
- shell.run("/nodes/node" .. pos)
- else
- gearshift.setInstructions({{ speed_modifier = 1, type = "end", value = 1}})
- end
Advertisement
Add Comment
Please, Sign In to add comment