Posted 14 July 2017 - 06:31 PM
Hello fellows,
I found redpower's/bluepower's bundled cables a bit awkward to use, because "redstone.setBundledOutput()" only enables given colours on the given side and disables the others. So I made 2 simple functions that make handling bundled cables a bit easier.
Code:
http://actofgod.spdn...0/f/0097dbb29a/
I don't want any credit for this, just copy it so you don't have to create these functions yourself:)
I found redpower's/bluepower's bundled cables a bit awkward to use, because "redstone.setBundledOutput()" only enables given colours on the given side and disables the others. So I made 2 simple functions that make handling bundled cables a bit easier.
--Sets "nColors" at "sSide" to "bState" without modifying other colors
setBundledOutput(sSide, nColors, bState)
--Returns the current state of a specific cable at "sSide" or all active colors if "nColor" is nil
getBundledOutput(sSide, nColor)
Code:
http://actofgod.spdn...0/f/0097dbb29a/
I don't want any credit for this, just copy it so you don't have to create these functions yourself:)