diff --git a/src/brulijam/shape0.svg b/src/brulijam/shape0.svg
deleted file mode 100644
index f1e1ae8..0000000
--- a/src/brulijam/shape0.svg
+++ /dev/null
@@ -1,57 +0,0 @@
-
\ No newline at end of file
diff --git a/src/brulijam/shape1.svg b/src/brulijam/shape1.svg
deleted file mode 100644
index 4d88588..0000000
--- a/src/brulijam/shape1.svg
+++ /dev/null
@@ -1,53 +0,0 @@
-
\ No newline at end of file
diff --git a/src/brulijam/shape2.svg b/src/brulijam/shape2.svg
deleted file mode 100644
index b9f8261..0000000
--- a/src/brulijam/shape2.svg
+++ /dev/null
@@ -1,72 +0,0 @@
-
\ No newline at end of file
diff --git a/src/brulijam/sync.lua b/src/brulijam/sync.lua
index 6c1d606..efcbd03 100644
--- a/src/brulijam/sync.lua
+++ b/src/brulijam/sync.lua
@@ -23,7 +23,8 @@ local copyList = {
[15] = "/startup.lua",
[16] = "/brulijam/drucker.lua",
[17] = "/brulijam/files/shape-hex-64-20.svg",
- [18] = "/brulijam/files/shape-hex-64.svg"
+ [18] = "/brulijam/files/shape-hex-64.svg",
+ [19] = "/brulijam/t-farmer.lua",
}
diff --git a/src/brulijam/t-farmer.lua b/src/brulijam/t-farmer.lua
new file mode 100644
index 0000000..07c5f27
--- /dev/null
+++ b/src/brulijam/t-farmer.lua
@@ -0,0 +1,72 @@
+basic = require("lib.basic")
+
+local toPlant = {
+ [1] = "minecraft:wheat_seed",
+ [2] = "minecraft:potato",
+ [3] = "minecraft:carrot",
+}
+
+local function selectSeed()
+ for i=1, 16 do
+ turtle.select(i)
+ itemDetail = turtle.getItemDetail()
+ if itemDetail ~= nil then
+ if itemDetail.name == toPlant[currentSeed] then
+ currentSeed = currentSeed + 1
+ return
+ end
+ end
+ end
+ print("No seeds left")
+end
+
+
+
+
+turtle.up()
+
+--do 3 rows
+for i=1, 3 do
+ --do one row
+ for j=1, 2 do
+ for k=1, 3 do
+ turtle.forward()
+ local blockFound, blockData = turtle.inspectDown()
+ if blockFound then
+ turtle.digDown()
+ turtle.suckDown()
+ selectSeed()
+ turtle.placeDown()
+ end
+ end
+ turtle.forward()
+ end
+ -- move to next row
+ if i%2==0 then
+ turtle.turnRight()
+ turtle.forward()
+ turtle.turnRight()
+ else
+ turtle.turnLeft()
+ turtle.forward()
+ turtle.turnLeft()
+ end
+end
+
+
+
+
+
+
+
+
+
+
+local function main()
+
+end
+
+
+
+currentSeed = 1
+main()
\ No newline at end of file
diff --git a/src/brulijam/turtle-miner-fibo.lua b/src/brulijam/turtle-miner-fibo.lua
index 67ba65b..8434e25 100644
--- a/src/brulijam/turtle-miner-fibo.lua
+++ b/src/brulijam/turtle-miner-fibo.lua
@@ -165,7 +165,7 @@ end
local function recursiveOreMining()
for i=0, 3 do
turtle.turnLeft()
- flockFound, blockData = turtle.inspect()
+ blockFound, blockData = turtle.inspect()
if isOre(blockData) then
basic.secureDig()
turtle.forward()
@@ -174,7 +174,7 @@ local function recursiveOreMining()
end
end
- flockFound, blockData = turtle.inspectUp()
+ blockFound, blockData = turtle.inspectUp()
if isOre(blockData) then
basic.secureDigUp()
turtle.up()
@@ -182,7 +182,7 @@ local function recursiveOreMining()
turtle.down()
end
- flockFound, blockData = turtle.inspectDown()
+ blockFound, blockData = turtle.inspectDown()
if isOre(blockData) then
basic.secureDigDown()
turtle.down()