47 posts
Posted 17 April 2013 - 05:16 AM
Hello Everyone,
For the next Version of my DDT (Diggy Diggy Turtle) I want to have it put the Item's from Slot 2 - 4
Into a Chest.
Anyone have any Help?
7508 posts
Location
Australia
Posted 17 April 2013 - 05:17 AM
turtle.drop will place in inventories before dropping it.
there is also dropUp and dropDown…
47 posts
Posted 17 April 2013 - 05:25 AM
Would this work?
for inventory = 2, 4 do
turtle.dropDown()
end
Also, if there is a Chest under the Turtle will the Turtle put the Items from Slot 2 - 4 into the Chest.
169 posts
Posted 17 April 2013 - 06:33 AM
Well, you would have to add turtle.select(inventory) before doing the drop, but yes, that should work.
52 posts
Posted 18 April 2013 - 05:48 PM
for inventory = 2, 4 do turtle.dropDown()endThat will not work.. In order to select from slot 2 -4 you must do this
for inventory = 2, 4 do
turtle.select(inventory)
turtle.dropDown()
end