neobridge

                Never    
Lua
       
function turnR()
   turtle.turnLeft()
   turtle.turnLeft()
end

function goF(s)
 for n=1,s do
   while turtle.detect()==true do
      turtle.dig()
   end
   turtle.forward()
 end
end
function board(c,w,b)

  for i=1,w do
    goF(1)
    turtle.turnRight()
    turtle.select(c)
    for r=1,((b-1)/2) do
      goF(1)
    end
   turtle.placeDown()
   turnR()
   for t=1,(b-1) do
    goF(1)
    turtle.placeDown()
   end
   turnR()
   p=(b-1)/2
   goF(p)
   turtle.turnLeft()
  end
end

function sims()
  turtle.turnLeft()
  goF(2)
  turtle.select(2)
  turtle.place()
  turnR()
  goF(1)
  turnR()
  turtle.place()
  turtle.turnLeft()
  goF(1)
  turtle.turnRight()
  goF(1)
  turtle.place()
  turtle.turnLeft()
  goF(1)
  turtle.turnRight()
  turtle.place()
  turtle.turnRight()
  turtle.select(1)
  turtle.place()
  turtle.up()
  turtle.select(3)
  turtle.place()
  turtle.down()
  turtle.turnLeft()
  turtle.select(2)
  turnR()
  goF(1)
  turnR()
  turtle.place()
end

function sims2(s)
  turtle.turnLeft()
  goF(2)
  turtle.select(s)
  turtle.place()
  turnR()
  goF(1)
  turnR()
  turtle.place()
  turtle.turnLeft()
  goF(1)
  turtle.turnRight()
  goF(1)
  turtle.place()
  turtle.turnLeft()
  goF(1)
  turtle.turnRight()
  turtle.place()
  turnR()
  goF(1)
  turnR()
  turtle.place()
end

function gelaender()
  for u=1,5 do
    if u==3 then
      turtle.select(1)
      turtle.place()
      turtle.select(3)
      turtle.up()
      turtle.place()
      turtle.down()
     else
      turtle.select(2)
      turtle.place()
    end
    turtle.turnLeft()
    goF(1)
    turtle.turnRight()
  end
end  

function gelaender2(s)
  for u=1,5 do
      turtle.select(s)
      turtle.place()
    turtle.turnLeft()
    goF(1)
    turtle.turnRight()
  end
end  


function tower()
  turtle.down()
  goF(1)
  turtle.select(2)
  turtle.place()
  turtle.back()
  turtle.select(1)
  turtle.place()
  turtle.turnRight()
  goF(1)
  turtle.turnLeft()
  goF(1)
  turtle.place()
  turtle.turnRight()
  goF(1)
  turtle.turnLeft()
  turtle.select(2)
  turtle.place()
  turtle.back()
  turtle.select(1)
  turtle.place()
  turtle.turnLeft()
  goF(2)
  turtle.turnRight()
end

function ecke(e)
if e==1 then 
 turtle.turnRight()
else
 turtle.turnLeft()
end
  goF(1)
  turtle.select(1)
  turtle.place()
  turtle.down()
  turtle.select(4)
  turtle.placeUp()
  turtle.down()
  goF(1)
  turtle.select(5)
  turtle.placeUp()
  turtle.back()
  turtle.back()
  turtle.up()
  turtle.up()
if e==1 then 
  turtle.turnLeft()
 else
  turtle.turnRight()
end
end

-- print(" Slot 1 \t Cobblestone \n Slot 2 \t Cobblezaun \n Slot 3 \t Fackeln \n  Slot 4 \t Slaps \n  Slot 5 \t Treppen \n")
-- print("Verstanden? Beliebige Taste zum Fortfahren")
-- r=io.read()   

--OBERER TEIL

--board(1,5,5)
--board(1,3,7)
--sims()
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender()
--turnR()
--goF(2)
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender()
--turtle.back()
--turtle.turnRight()
--sims()

--UNTERER TEIL 
--turtle.back()
--turtle.turnLeft()
--goF(1)
--turtle.down()
--turtle.down()
--turtle.back()
--sims2(2)
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender2(2)
--turnR()
--goF(2)
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender2(2)
--turtle.back()
--turtle.turnRight()
--sims2(2)

--turtle.back()
--turtle.turnLeft()
--goF(1)
--turtle.down()
--turtle.back()
--sims2(1)
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender2(1)
--turnR()
--goF(2)
--turtle.turnLeft()
--goF(1)
--turtle.turnRight()
--gelaender2(1)
--turtle.back()
--turtle.turnRight()
--sims2(1)

--TURM
p=0

--while turtle.detectDown()==false do
--  tower()
--  p=p+1
--end

--turtle.turnRight()
--goF(2)
--turtle.turnRight()
--goF(2)
--for m=1,p do
--  turtle.up()
--end

--p=0
--while turtle.detectDown()==false do
--  tower()
--  p=p+1
--end

--Ecken
p=4
turtle.turnLeft()
goF(3)
turtle.turnRight()
turtle.forward()
for g=1,p do
turtle.up()
end
ecke(1)
ecke(0)
turnR()
goF(4)
ecke(1)
ecke(0)
turtle.back()
turtle.back()
turtle.turnLeft()
goF(6)
for j=1,4 do
turtle.up()
end
turtle.back()

Raw Text