Advertisement
asweigart

floormake

Mar 28th, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. os.loadAPI('hare')
  2. local tArgs = {...}
  3.  
  4. if tArgs[1] == nil then F_LEN = 33 else F_LEN = tonumber(tArgs[1]) end
  5. if tArgs[2] == nil then R_LEN = 33 else R_LEN = tonumber(tArgs[2]) end
  6.  
  7. local movements = hare.split(hare.getAreaCoverActions(F_LEN, R_LEN, true))
  8.  
  9. for i=1,#movements do
  10. hare.selectItem('multibrickfancy')
  11. turtle.placeDown()
  12. hare.doActions(movements[i], true)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement