mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-09 07:15:11 -04:00
Updated API Colors (markdown)
parent
2993a7287f
commit
e30a6975e3
@ -18,3 +18,9 @@ This "API" serves a global table that allows you to refer to colors by their nam
|
||||
- Black (`black`), Number: 15
|
||||
|
||||
Note that the indexing starts at zero, not one.
|
||||
|
||||
Useful for setting or getting bundled redstone output or input, for example:
|
||||
```lua
|
||||
local rs = component.redstone
|
||||
rs.setBundledOutput(sides.back, colors.green, rs.getBundledInput(sides.front, colors.blue))
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user