Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function ss(s) turtle.select(s) end
- local chestSpot = 16
- local sapplinSpot = 1
- local logSpot = 2
- local enderchestSpot = 15
- term.clear() term.setCursorPos(1,1)
- print("----------------------------------")
- print("------ChromaLTS's treefarm--------")
- print("-> Slot " .. chestSpot .. ": Chest(1)")
- print("-> Saplin=" .. sapplinSpot )
- print("-> Log=" .. logSpot )
- print("-> Enderchest=" .. enderchestSpot )
- print("----------------------------------")
- --empty into chest
- ss(chestSpot)
- print("detect")
- print(turtle.detect())
- --place enderchest
- --takeout 1 stack coal
- --refuel
- local function Refuel()
- for i=1,16,1 do
- ss(i)
- turtle.refuel()
- end
- end
- --get stuff back
- print("New fuel level -> " .. turtle.getFuelLevel())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement