hevohevo

CC: tofu5

Mar 3rd, 2016
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. -- tofu5
  2. --  surround four directions with walls
  3.  
  4. turtle.up()  -- move up
  5.  
  6. -- stack three squares
  7. for ronoji=1,3 do
  8.   -- make 4 sides of a square
  9.   for hen=1,4 do
  10.     -- put 4 blocks in the ground
  11.     for i=1,4 do
  12.       turtle.forward()  -- move to next position
  13.       turtle.placeDown()  -- put a block
  14.     end
  15.  
  16.     turtle.turnRight()  -- turn 90 degrees to the right
  17.   end
  18.  
  19.   turtle.up() -- move up
  20. end
Add Comment
Please, Sign In to add comment