Jump to content

Tekkit Lite Stripmining Program (German)


Recommended Posts

print("---Stripmining---")

print("Entleerkiste hinter die turtle")

print("Fackelkiste unter die turtle (64-er Stacks)")

print("Kohlekiste links neben turtle (60-er Stacks)")

print("6 Kohle in den zweiten Slot legen")

print("Mit Eingabe 0 bestätigen:")

z = io.read()

z = z + 0

while z > 0 do

print("Fehler! Bitte erneut mit Eingabe 0 bestätigen:")

z = io.read()

z = z + 0

end

turtle.select(2)

turtle.refuel()

turtle.up()

a = 2

e = 0

t = a * 3

k = 6

x = 0

while x < 20 do

a = 10

b = 10

c = b

while a > 0 do

b = c

d = 3

while d > 0 do

while turtle.detect() do

turtle.dig()

sleep(0.5)

end

turtle.forward()

turtle.digDown()

d = d - 1

end

turtle.select(1)

turtle.placeDown()

turtle.turnLeft()

while b > 0 do

while turtle.detect() do

turtle.dig()

sleep(0.5)

end

turtle.forward()

turtle.digDown()

b = b - 1

end

turtle.dig()

turtle.select(1)

turtle.place()

turtle.turnLeft()

turtle.turnLeft()

b = c

while b > 0 do

turtle.forward()

b = b - 1

end

b = c

while b > 0 do

while turtle.detect() do

turtle.dig()

sleep(0.5)

end

turtle.forward()

turtle.digDown()

b = b - 1

end

turtle.dig()

turtle.select(1)

turtle.place()

turtle.turnLeft()

turtle.turnLeft()

b = c

while b > 0 do

turtle.forward()

b = b - 1

end

turtle.turnRight()

a = a - 1

end

e = e + t

f = e

turtle.turnLeft()

turtle.turnLeft()

while e > 0 do

turtle.forward()

e = e - 1

end

turtle.down()

g = 16

while g > 0 do

turtle.select(g)

turtle.drop()

g = g - 1

end

turtle.suckDown()

j = turtle.getItemCount(1)

m = j - 32

turtle.dropDown(m)

turtle.turnRight()

turtle.suck()

i = turtle.getItemCount(2)

while i < k do

turtle.suck()

i = turtle.getItemCount(2)

end

i = i - k

turtle.select(2)

turtle.drop(i)

turtle.refuel()

turtle.turnRight()

turtle.up()

e = f

while e > 0 do

turtle.forward()

e = e - 1

end

e = f

k = k + 1

x = x + 1

end

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...