Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Updater Information **IGNORE**
- apiVersion = "1.2"
- function version()
- return apiVersion
- end
- function setwire (side, nColors, value)
- current=redstone.getBundledOutput(side)
- if onoff then
- rs.setBundledOutput(side, colors.subtract(current, nColors))
- else
- rs.setBundledOutput(side, colors.combine(current, nColors))
- end
- end
- function white()
- setwire(wireside, colors.white, onoff)
- end
- function orange()
- setwire(wireside, colors.orange, onoff)
- end
- function magenta()
- setwire(wireside, colors.magenta, onoff)
- end
- function lightblue()
- setwire(wireside, colors.lightBlue, onoff)
- end
- function yellow()
- setwire(wireside, colors.yellow, onoff)
- end
- function lime()
- setwire(wireside, colors.lime, onoff)
- end
- function pink()
- setwire(wireside, colors.pink, onoff)
- end
- function gray()
- setwire(wireside, colors.gray, onoff)
- end
- function lightgray()
- setwire(wireside, colors.lightGray, onoff)
- end
- function cyan()
- setwire(wireside, colors.cyan, onoff)
- end
- function purple()
- setwire(wireside, colors.purple, onoff)
- end
- function blue()
- setwire(wireside, colors.blue, onoff)
- end
- function brown()
- setwire(wireside, colors.brown, onoff)
- end
- function green()
- setwire(wireside, colors.green, onoff)
- end
- function red()
- setwire(wireside, colors.red, onoff)
- end
- function black()
- setwire(wireside, colors.black, onoff)
- end
Advertisement
Add Comment
Please, Sign In to add comment