SimplePipes
SimplePipes copied to clipboard
Crash
Original report by EntranceJew#6969 from the fabric discord: https://paste.ee/p/gzRRY
https://paste.ee/p/MiRwo attached a computercraft command computer next to a wooden extractor to send pulses at a rate of once per game tick (probably?) with this program:
local tArgs = { ... }
if #tArgs < 1 then
print( "Usage: pulse <pulsepertick> <sides...>" )
return
end
sides = {
"top",
"left",
"right",
"bottom",
"front",
"back"
}
tps = (1/20)
speedfactor = tonumber( tArgs[1] ) or 1
tts = (tps * speedfactor)/2
while true do
for _, side in ipairs(sides) do
redstone.setOutput(side, true)
end
sleep(tts)
for _, side in ipairs(sides) do
redstone.setOutput(side, false)
end
sleep(tts)
end
https://paste.ee/p/4TRiv put pumps in a circle because i don't know which direction they're supposed to go and the pumps still didn't do anything, so i put lava inside a container and it eventually broke