daily pastebin goal
88%
SHARE
TWEET

CC: tofu4

hevohevo Mar 3rd, 2016 (edited) 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- tofu4
  2. --  surround four directions with walls
  3.  
  4. turtle.up()  -- move up
  5.  
  6. -- make 4 sides of a square
  7. for hen=1,4 do
  8.   -- put 4 blocks in the ground
  9.   for i=1,4 do
  10.     turtle.forward()  -- move to next position
  11.     turtle.placeDown()  -- put a block
  12.   end
  13.  
  14.   turtle.turnRight()  -- turn 90 degrees to the right
  15. end
  16.  
  17. turtle.up() -- move up
  18.  
  19. -- make 4 sides of a square
  20. for hen=1,4 do
  21.   -- put 4 blocks in the ground
  22.   for i=1,4 do
  23.     turtle.forward()  -- move to next position
  24.     turtle.placeDown()  -- put a block
  25.   end
  26.  
  27.   turtle.turnRight()  -- turn 90 degrees to the right
  28. end
  29.  
  30. turtle.up() -- move up
  31.  
  32. -- make 4 sides of a square
  33. for hen=1,4 do
  34.   -- put 4 blocks in the ground
  35.   for i=1,4 do
  36.     turtle.forward()  -- move to next position
  37.     turtle.placeDown()  -- put a block
  38.   end
  39.  
  40.   turtle.turnRight()  -- turn 90 degrees to the right
  41. end
  42.  
  43. turtle.up() -- move up
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