Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setSignal(side,color,on)
- if (on == true) then
- redstone.setBundledOutput(side,colors.combine(redstone.getBundledOutput(side),color))
- end
- if (on == false) then
- redstone.setBundledOutput(side,colors.subtract(redstone.getBundledOutput(side),color))
- end
- end
- function readSignal(side,color)
- return colors.test(redstone.getBundledInput(side),color)
- end
Advertisement
Add Comment
Please, Sign In to add comment