Posted 12 May 2014 - 06:43 PM
Hey,
i have an advanced computer with a single vanilla chest on the left and one on the right side. The right chest is my source and full of planks. Now i want to move one plank from slot 1 to the chest on the left side which is north of the computer. My code:
As response i got a '0' which means no items were moved. But what went wrong? I tried it with a turtle, with pushItemIntoSlot, different chest positions, the other way around with pullItem etc.
Using ComputerCraft 1.58, with OpenPeripherals Core 0.33 & ModsLib 0.4b
maybe someone can dip my nose on the problem,
greets
duffdunker
i have an advanced computer with a single vanilla chest on the left and one on the right side. The right chest is my source and full of planks. Now i want to move one plank from slot 1 to the chest on the left side which is north of the computer. My code:
chest = peripheral.wrap("right") -- source chest with planks
target = "north" -- empty target chest position relativ to the computer
chest.pushItem( target, 1, 1)
As response i got a '0' which means no items were moved. But what went wrong? I tried it with a turtle, with pushItemIntoSlot, different chest positions, the other way around with pullItem etc.
Using ComputerCraft 1.58, with OpenPeripherals Core 0.33 & ModsLib 0.4b
maybe someone can dip my nose on the problem,
greets
duffdunker