Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cob = 1
- plank = 2
- log = 3
- glass = 4
- step = 5
- function refual()
- while turtle.getFuelLevel() < 100 do
- print("brandstof nodig in laatste slot, druk op een toest voor door te gaan")
- os.pullEvent("key")
- turtle.select(16)
- turtle.refuel()
- turtle.select(1)
- end
- end
- function setplock(slot)
- turtle.select(slot)
- while turtle.getItemCount( turtle.getSelectedSlot() ) == 0 do
- print("item nodig")
- os.pullEvent("key")
- end
- turtle.placeDown()
- end
- function stepplace()
- turtle.select(step)
- turtle.down()
- turtle.turnLeft()
- turtle.back()
- turtle.place()
- turtle.up()
- turtle.forward()
- turtle.turnRight()
- end
- function placeblock(slot)
- turtle.dig()
- turtle.digDown()
- setplock(slot)
- end
- function draaiL180()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function draaiR180()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- for i = 1,2 do
- for i = 1,9 do
- placeblock(plank)
- turtle.forward()
- end
- draaiR180()
- turtle.forward()
- for i = 1,9 do
- placeblock(plank)
- turtle.forward()
- end
- draaiL180()
- turtle.forward()
- end
- for i = 1,9 do
- placeblock(plank)
- turtle.forward()
- end
- draaiR180()
- turtle.forward()
- for i = 1,5 do
- turtle.forward()
- end
- for i = 1,4 do
- placeblock(plank)
- turtle.forward()
- end
- draaiL180()
- turtle.forward()
- for i = 1,4 do
- placeblock(plank)
- turtle.forward()
- end
- turtle.up()
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(cob)
- turtle.turnRight()
- turtle.forward()
- for i = 1,4 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,10 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.forward()
- placeblock(cob)
- turtle.forward()
- turtle.turnLeft()
- for i = 1,5 do
- placeblock(cob)
- turtle.forward()
- end
- placeblock(cob)
- turtle.up()
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- placeblock(plank)
- turtle.turnRight()
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(glass)
- turtle.forward()
- placeblock(log)
- turtle.forward()
- turtle.up()
- turtle.turnLeft()
- placeblock(cob)
- turtle.forward()
- placeblock(cob)
- turtle.forward()
- placeblock(cob)
- turtle.turnRight()
- turtle.forward()
- for i = 1,4 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,10 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(cob)
- turtle.forward()
- end
- turtle.forward()
- placeblock(cob)
- turtle.forward()
- turtle.turnLeft()
- for i = 1,5 do
- placeblock(cob)
- turtle.forward()
- end
- placeblock(cob)
- turtle.up()
- turtle.turnLeft()
- placeblock(plank)
- turtle.forward()
- placeblock(plank)
- turtle.forward()
- placeblock(plank)
- turtle.turnRight()
- turtle.forward()
- for i = 1,4 do
- placeblock(plank)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- placeblock(plank)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,10 do
- placeblock(plank)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,8 do
- placeblock(plank)
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,5 do
- placeblock(plank)
- turtle.forward()
- end
- placeblock(plank)
- turtle.forward()
- turtle.turnLeft()
- stepplace()
- turtle.forward()
- stepplace()
- turtle.turnRight()
- turtle.forward()
- for i = 1,4 do
- stepplace()
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,8 do
- stepplace()
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,6 do
- stepplace()
- turtle.forward()
- end
- for i = 1,6 do
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,10 do
- stepplace()
- turtle.forward()
- end
- turtle.turnLeft()
- for i = 1,7 do
- turtle.forward()
- end
- turtle.turnLeft()
- stepplace()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement