• API
• FAQ
• Tools
• Archive
daily pastebin goal
28%
SHARE
TWEET

# Untitled

a guest Feb 23rd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. shell.run("clear")
2. print("Samen in Slot 1 einlegen")
3. print("")
4. print("Treibstoff in Slot 16 einlegen")
5. print("")
6. print("Habe " .. turtle.getFuelLevel() .." Treibstoff")
7. print("")
8. print("Soll ich tanken?")
9. print("Ja / Nein")
10. print("")
11.
13.
14. if Tanken == "Ja" then
15.   shell.run("refuel all")
16.   shell.run("clear")
17. else
18.  print("")
19.  print("Kein Tanken erforderlich")
20.  shell.run("clear")
21. end
22.
23.
24. print("Wie lang ist das Feld?")
26. print("")
27. print("Wie breit ist das Feld?")
29. print("")
30.
31. a = a1+0
32. b = b1+0
33. c = a1+1
34.
35. while a > 0 do
36.
37.   while b > 0 do
38.     turtle.digDown()
39.     turtle.select(1)
40.     turtle.placeDown()
41.     b = b-1
42.     turtle.forward()
43.   end
44.
45.   a = a-1
46.   b = b1+0
47.
48.   turtle.turnRight()
49.   turtle.forward()
50.   turtle.turnRight()
51.   turtle.forward()
52.
53.   while b > 0 do
54.     turtle.digDown()
55.     turtle.placeDown()
56.     b = b-1
57.     turtle.forward()
58.   end
59.
60.   a = a-1
61.   b = b1+0
62.
63.   turtle.turnLeft()
64.   turtle.forward()
65.   turtle.turnLeft()
66.   turtle.forward()
67. end
68.
69. turtle.turnLeft()
70. while c > 0 do
71.   turtle.forward()
72.   c = c-1
73. end
74. turtle.back()
75. turtle.turnRight()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top