Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args={...}
- local args[1] = z
- local x = 0
- function bloodbrick()
- if turtle.getItemCount(1) > 0 then
- turtle.select(1)
- elseif turtle.getItemCount(2) > 0 then
- turtle.select(2)
- elseif turtle.getItemCount(3) > 0 then
- turtle.select(3)
- elseif turtle.getItemCount(4) > 0 then
- turtle.select(4)
- end
- end
- function abyssal()
- if turtle.getItemCount(5) > 0 then
- turtle.select(5)
- elseif turtle.getItemCount(6) > 0 then
- turtle.select(6)
- elseif turtle.getItemCount(7) > 0 then
- turtle.select(7)
- elseif turtle.getItemcount(8) > 0 then
- turtle.select(8)
- end
- end
- function fence()
- if turtle.getItemCount(9) > 0 then
- turtle.select(9)
- elseif turtle.getItemCount(10) > 0 then
- turtle.select(10)
- elseif turtle.getItemcount(11) > 0 then
- turtle.select(11)
- elseif turtle.getItemCount(12) > 0 then
- turtle.select(12)
- end
- end
- function quarried()
- if turtle.getItemCount(13) > 0 then
- turtle.select(13)
- elseif turtle.getItemCount(14) > 0 then
- turtle.select(14)
- elseif turtle.getItemCount(15) > 0 then
- turtle.select(15)
- elseif turtle.getItemCount(16) > 0 then
- turtle.select(16)
- end
- end
- function up()
- turtle.up()
- x = x + 1
- end
- for i = 1, z do
- up()
- abyssal()
- turtle.placeDown()
- up()
- quarried()
- turtle.placeDown()
- up()
- fence()
- turtle.placeDown()
- up()
- turtle.placeDown()
- up()
- turtle.placeDown()
- up()
- up()
- up()
- end
Advertisement
Add Comment
Please, Sign In to add comment