Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local l = ...
- function buildFancyStone()
- data = turtle.getItemDetail()
- if data.name ~= "TConstruct:decoration.multibrickfancy" then
- for i=1,16 do
- data = turtle.getItemDetail(i)
- if data.name == "TConstruct:decoration.multibrickfancy" then
- turtle.select(i)
- break
- end
- end
- end
- turtle.place()
- end
- function buildStoneWall()
- data = turtle.getItemDetail()
- if data.name ~= "chisel:stonebricksmooth" then
- for i=1,16 do
- data = turtle.getItemDetail(i)
- if data.name == "chisel:stonebricksmooth" then
- turtle.select(i)
- break
- end
- end
- end
- turtle.place()
- end
- function execute()
- turtle.back()
- turtle.back()
- for i=1,4 do
- buildFancyStone()
- turtle.up()
- end
- for i=1,4 do
- turtle.down()
- end
- turtle.back()
- for j=1,3 do
- for i=1,4 do
- buildStoneWall()
- turtle.up()
- end
- for i=1,4 do
- turtle.down()
- end
- turtle.back()
- end
- for i=1,4 do
- buildFancyStone()
- turtle.up()
- end
- for i=1,4 do
- turtle.down()
- end
- end
- for i=1,l do
- execute()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement