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

Quarry Height

Started by Zaoxbe, 24 September 2012 - 03:55 PM
Zaoxbe #1
Posted 24 September 2012 - 05:55 PM
Can someone help me make a program for a framequarry (RP2)?
So that the quarry stops at a certain height, goes back up and moves on to make a new hole.
This is what a got so far:

local y = 74

while y > 8 do
if rs.getInput("front") then
y = y - 1
print(y)
sleep(5)
end
end



Thank you !
Fatal_Exception #2
Posted 24 September 2012 - 05:58 PM
You might want to tell us what signals your frame quarry expects, and what they do.
Zaoxbe #3
Posted 24 September 2012 - 06:12 PM
When the redstone from the front of the computer is on it will stop the quarry from digging and going down.
On the right side of the computer is a timer that moves the quarry up. the redstone signal has to be off to move the quarry up.

I hope this is enough information.