Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local width, height = term.getSize()
- local nX, nY, nZ = bundt.getTurtlePosition()
- local dx, dy = 0, 0
- for kx=nX - math.floor(width*.5), nX + math.ceil(width*.5) do
- dx = dx + 1
- dy = 0
- for kz=nZ - math.floor(height*.5), nZ + math.ceil(height*.5) do
- dy = dy + 1
- term.setCursorPos(dx, dy)
- bundt.drawBlockInMap(kx, nY, kz)
- end
- end
- sleep()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement