read if gay
This commit is contained in:
parent
4f2631b349
commit
61eefcba8c
24 changed files with 21871 additions and 4224 deletions
|
@ -16,11 +16,11 @@ function fell(index)
|
|||
im.select("minecraft:birch_sapling")
|
||||
print("going towards tree")
|
||||
pf.lookat(trees[index or math.random(#trees)])
|
||||
has, data = turtle.inspect()
|
||||
print(has,data)
|
||||
if
|
||||
has and data.name ==
|
||||
"minecraft:birch_log"
|
||||
has, block = turtle.inspect()
|
||||
print(has,block)
|
||||
if
|
||||
has and block.name ==
|
||||
"minecraft:birch_log"
|
||||
then
|
||||
turtle.dig()
|
||||
turtle.forward()
|
||||
|
@ -39,7 +39,7 @@ end
|
|||
|
||||
for i = 1,#trees do
|
||||
fell(i)
|
||||
end
|
||||
pf.returnHome()
|
||||
|
||||
end
|
||||
pf.returnHome()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue