Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- print("Was Tiefe diese?:")
- tiefe = tonumber(io.read())
- print("Was Breite diese?:")
- breite = tonumber(io.read())
- print("Was Höhe diese?:")
- hoehe = tonumber(io.read())
- turtle.select(1)
- turtle.up()
- for h=1,hoehe,1 do
- for i=1,2,1 do
- for t=1,tiefe,1 do
- if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
- turtle.select(turtle.getSelectedSlot()+1)
- end
- turtle.placeDown()
- end
- turtle.turnRight()
- for b=1,breite,1 do
- if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
- turtle.select(turtle.getSelectedSlot()+1)
- end
- turtle.placeDown()
- end
- turtle.turnRight()
- end
- turtle.up()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement