View difference between Paste ID: J4bNhQ12 and K915m49V
SHOW: | | - or go back to the newest paste.
1
local function ss(s) turtle.select(s)   end
2
3
local chestSpot = 16
4
local sapplinSpot = 1
5
local logSpot = 2
6
local enderchestSpot = 15
7
8
9-
turtle.print("-----------------------")
9+
print("-----------------------")
10-
turtle.print("------ChromaLTS's treefarm--------")
10+
print("------ChromaLTS's treefarm--------")
11-
turtle.print("---Chest=" .. 		chestSpot)
11+
print("---Chest=" .. 		chestSpot)
12-
turtle.print("---Saplin=" .. 		sapplinSpot)
12+
print("---Saplin=" .. 		sapplinSpot)
13-
turtle.print("---Log=" .. 			logSpot)
13+
print("---Log=" .. 			logSpot)
14-
turtle.print("---Enderchest=" .. 	enderchestSpot)
14+
print("---Enderchest=" .. 	enderchestSpot)
15-
turtle.print("-----------------------")
15+
print("-----------------------")
16
17
--empty into chest
18
19
20
--place enderchest
21
--takeout 1 stack coal
22
--refuel
23
24
for i=1,16,1 do
25
	 ss(i)
26
	turtle.refuel()
27
end
28
29
--get stuff back
30
31
32
33
34
print("New fuel level -> " .. turtle.getFuelLevel())