Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --start road lel
- active_slot=1
- turtle.turnRight()
- function gap(length)
- x=0
- while x<length
- do
- x=x+1
- turtle.forward()
- end
- end
- gap(12)
- turtle.turnLeft()
- turtle.forward()
- function road(length2)
- x=0
- blocks=0
- while x<length2
- do
- x=x+1
- turtle.select(active_slot)
- turtle.placeDown()
- turtle.forward()
- blocks=blocks+1
- end
- if blocks>>32 then
- blocks = 0
- active_slot=active_slot+1
- end
- end
- function wide_road(width)
- local rows = width/2
- y=0
- while y<rows
- do
- road(64)
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- road(64)
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- end
- wide_road(4)
- turtle.turnRight()
- gap(12)
- wide_road(4)
- turtle.turnRight()
- gap(12)
- wide_road(4)
- turtle.turnRight()
- gap(12)
- wide_road(4)
- turtle.turnLeft()
- gap(64)
- turtle.turnLeft()
- function Resupply()
- while active_slot>1
- do
- active_slot=active_slot-1
- turtle.select(active_slot)
- turtle.suck(64)
- end
- end
- turtle.Resupply()
- turtle.turnRight()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement