Posted 23 March 2013 - 11:24 AM
Can anyone Show me some basic variable turtle building programs? Like building platforms, and square rooms?
turtle.up()
for up=1, 5 do -- go up 5 times
for forward=1, 5 do -- go forward 5 times
turtle.placeDown() -- place down a block for this row
if forward ~= 5 then
turtle.forward() -- only go forward if we are not at the end of the wall
end
end
turtle.turnRight() -- turn around to start the next row
turtle.turnRight()
turtle.up()
end