daily pastebin goal
26%
SHARE
TWEET

CC: tofu6

hevohevo Mar 3rd, 2016 (edited) 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- tofu6
  2. --  surround four directions with walls
  3. turtle.select(1) -- the usual phrase
  4.  
  5. turtle.up()  -- move up
  6.  
  7. -- stack six squares
  8. for ronoji=1,6 do
  9.   -- 1st stage is made with slot 1, 2nd stage is slot 2, ...
  10.   turtle.select(ronoji)
  11.  
  12.   -- make 4 sides of a square
  13.   for hen=1,4 do
  14.     -- -- put 4 blocks in the ground
  15.     for i=1,4 do
  16.       turtle.forward()  -- move to next position
  17.       turtle.placeDown()  -- put a block
  18.     end
  19.  
  20.     turtle.turnRight()  -- turn 90 degrees to the right
  21.   end
  22.  
  23.   turtle.up()  -- move up
  24. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top