Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Prm = dofile("Premade")
- function step(n)
- for i = 1, n do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- Prm.nextSel(1)
- turtle.placeDown()
- end
- end
- function layer(l)
- turtle.digDown()
- turtle.placeDown()
- for i = 1, 3 do
- Prm.fuelCheck()
- step(l - 1)
- turtle.turnRight()
- end
- Prm.fuelCheck()
- step(l - 2)
- turtle.forward()
- turtle.turnRight()
- end
- local w, h = ...
- w = tonumber(w)
- h = tonumber(h)
- for i = 1, h do
- turtle.digUp()
- turtle.up()
- layer(w)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement