Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Plat form builder
- -- Plazter v.1---
- --2013
- slot = 1
- local args = {...}
- function platform()
- for i = 1,args[1] do
- turtle.placeDown()
- turtle.forward()
- if turtle.getItemCount(slot) < 1 then
- slot = slot+1
- turtle.select(slot)
- end
- end
- end
- function right()
- turtle.turnRight()
- turtle.placeDown()
- turtle.forward()
- turtle.turnRight()
- end
- function left()
- turtle.turnleft()
- turtle.placeDown()
- turtle.forward()
- turtle.turnLeft()
- end
- function full()
- platform()
- right()
- platform()
- left()
- end
- function row()
- for i = 1,args[2]/2 do
- full()
- end
- end
- row()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement