SHARE
TWEET

CC: tofu5

hevohevo Mar 3rd, 2016 (edited) 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top