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

quarry automation

Started by hunterguy4, 03 October 2013 - 08:01 AM
hunterguy4 #1
Posted 03 October 2013 - 10:01 AM
Title: quarry automation

howdy folks just wondering if anyone can help me with a small problem. iv been writing a program to have a turtle setup a quarry automaticly using teseracts and theres 1 problem, how to tell the turtle when the quarry is done and to tear down the setup and move on. iv considered gates but quarries can be inconsistent with there input do to caves, lava ect. iv also considered having the turtle sleep for the alloted time it would take a max quarry to finish but that comes to about 11 hours -_-/> can anyone think of a better way to tell the turtle that the quarry is finished so it can run the next function? thanks for the help =)

im playing on ftb unleashed btw just to let anyone curious know.
LBPHacker #2
Posted 03 October 2013 - 01:27 PM
Send the turtle down to the bedrock level and detect the block in front of it in every minute. If the block isn't there anymore, either some miner bumped into your turtle or the quarry is at bedrock level.
hunterguy4 #3
Posted 03 October 2013 - 01:31 PM
i was going to do this until i noticed a rare occurance where lava creates pillars of cobble the quarry dosnt break leaving some behind. obviously its unlikley to happen but for the arguments sake can you think of any other way, im not sure but can turtles return block ids like stone or cobble? if so i could use the scan idea to get around the lava pillar problem
LBPHacker #4
Posted 03 October 2013 - 01:36 PM
Nah, turtles can't do that. I'm not a pro at Buildcraft, don't laugh at me, but can you detect if the quarry uses energy or not? That'd be the easiest way.
hunterguy4 #5
Posted 03 October 2013 - 02:46 PM
hmm im not sure, that would be very useful though, that or if turtles could place gates which im not sure if they can. either way this is gana be a fun problem to try and work around =)

EDIT: it would appear that unlike mfsu's teseracs cannot output redstone signals which is a shame
immibis #6
Posted 03 October 2013 - 08:48 PM
You could pipe the items from the quarry into the turtle, then have the turtle drop them into the ender chest/tesseract.
Then the turtle can detect if there haven't been any items for a few minutes.
hunterguy4 #7
Posted 04 October 2013 - 11:40 AM
i like that idea, remind me can i pipe right into them or do they need to pull from a chest?
immibis #8
Posted 04 October 2013 - 10:10 PM
You can pipe directly into turtles.