Title: Dropping items
I am trying to make my turtle drop all items from slot 1-15 to the chest above it, but can't seem to figure out how.
Dropping items
Started by Claydelas, Aug 17 2013 05:52 AM
1 reply to this topic
#1
Posted 17 August 2013 - 05:52 AM
#2
Posted 17 August 2013 - 09:48 AM
You can make a turtle drop items by first selecting the desired slot, and then calling turtle.drop().
for i=1,15 do --# This is a for loop. It will go from the number 1 to 15 and store that number in the variable i turtle.select(i) --# We need to select the correct slot turtle.dropUp(64) --# You can change the direction that the turtle drops using turtle.dropDown, turtle.drop, and turtle.dropUp end
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











