View difference between Paste ID: AcmyfPW5 and e3qVPqr4
SHOW: | | - or go back to the newest paste.
1
-- champs
2-
table.insert(mainFields, colors.orange)
2+
3
table.insert(mainFields, colors.orange)     --NO
4-
                     colors.magenta,\
4+
table.insert(mainFields, colors.magenta)    --N
5-
                     colors.lightBlue,\
5+
table.insert(mainFields, colors.lightBlue)  --NE
6-
                     colors.yellow,\
6+
table.insert(mainFields, colors.yellow)     --O
7-
                     colors.lime,\
7+
table.insert(mainFields, colors.lime)       --center
8-
                     colors.pink,\
8+
table.insert(mainFields, colors.pink)       --E
9-
                     colors.gray,\
9+
table.insert(mainFields, colors.gray)       --SO
10-
                     colors.lightGray,\
10+
table.insert(mainFields, colors.lightGray)  --S
11-
                     colors.cyan}
11+
table.insert(mainFields, colors.cyan)       --SE
12
13
function get(side)
14
  return redstone.getBundledOutput(side)
15
end
16
17
function set(side, value)
18
  return redstone.setBundledOutput(side, value)
19
end
20
21
function test(side, color)
22
  return colors.test(get(side), color)
23
end
24
25
function add(side, color)
26
  return set(side, colors.combine(get(side), color))
27
end
28
29
function rem(side, color)
30
  return set(side, colors.subtract(get(side), color))
31
end