This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Halikar's profile picture

Inventory Upgrade Turtle suckSneaky

Started by Halikar, 04 May 2013 - 03:34 PM
Halikar #1
Posted 04 May 2013 - 05:34 PM
I am having trouble getting this command to work in any direction other than the one the turtle is facing. If I put four chests around the turtle for simple testing, each with different contents, only the one in front is accessed no matter what side suckSneaky is set to access. I am currently using the Feed The Beast Ultimate mod pack, so I'm using Minecraft 1.4.7, ComputerCraft 1.5, but the version of Misc Peripherals is unspecified in the pack.

This is the testing example I am currently using:

local inv = peripheral.wrap("right")
turtle.select(1)
inv.suckSneaky(2,1) -- North
turtle.select(2)
inv.suckSneaky(3,1) -- South
turtle.select(3)
inv.suckSneaky(4,1) -- West
turtle.select(4)
inv.suckSneaky(5,1) -- East


[addendum] Welp, I feel silly. I finally read the info on the Inventory Upgrade and realized the direction referred to was the direction of the "pipe" INTO the target block, not the turtle's facing. Whoops! I have everything working now… :)/>/>
Lyqyd #2
Posted 05 May 2013 - 02:21 AM
Split into new topic.