Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- The idea here is to keep the stairs enclosed to bridge gaps of air or lava
- -- GhastGuard[R]
- placed=0
- place=1
- function blocksides()
- turtle.turnRight()
- if turtle.place() then
- placed=placed+1
- end
- turtle.turnRight()
- turtle.turnRight()
- if turtle.place() then
- placed=placed+1
- end
- turtle.turnRight()
- end
- function tup()
- -- turtle up
- turtle.digUp()
- turtle.up()
- end
- function digstep()
- -- wub wub
- -- we need 1 to stand on below us, one for our feet, one for our head, one to jump into, and one above that for a roof...
- if turtle.placeDown() then
- placed=placed+1
- end
- blocksides()
- tup()
- blocksides()
- tup()
- blocksides()
- -- roof
- if turtle.placeUp() then
- placed=placed+1
- end
- -- return to head, move forward
- turtle.down()
- turtle.dig()
- turtle.forward()
- end
- for x=1, 50 do
- digstep()
- if placed>57 then
- placed=0
- place=place+1
- turtle.select(place)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement