Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tankSide = "back"
- cableSide = "front"
- startPos = 90
- stopPos = 10
- sleepTime = 5
- tank = peripheral.wrap(tankSide)
- tankInfo = tank.getTankInfo(tankSide)
- for tankID,tankName in pairs(tankInfo) do
- print("ID: " .. posID)
- for funcID,funcList in pairs(tankName) do
- print("\tID: " .. posID .. ", Name: " .. funcList)
- end
- end
- while true do
- level = tank.getTankInfo(tankSide)
- --if
- redstone.setOutput(cableSide, False)
- sleep(sleepTime)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement