Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- champs
- local mainFields = {}
- table.insert(mainFields, colors.orange) --NO
- table.insert(mainFields, colors.magenta) --N
- table.insert(mainFields, colors.lightBlue) --NE
- table.insert(mainFields, colors.yellow) --O
- table.insert(mainFields, colors.lime) --center
- table.insert(mainFields, colors.pink) --E
- table.insert(mainFields, colors.gray) --SO
- table.insert(mainFields, colors.lightGray) --S
- table.insert(mainFields, colors.cyan) --SE
- function get(side)
- return redstone.getBundledOutput(side)
- end
- function set(side, value)
- return redstone.setBundledOutput(side, value)
- end
- function test(side, color)
- return colors.test(get(side), color)
- end
- function add(side, color)
- return set(side, colors.combine(get(side), color))
- end
- function rem(side, color)
- return set(side, colors.subtract(get(side), color))
- end
Advertisement
Add Comment
Please, Sign In to add comment