dreambuilder_game/rgblightstone
VanessaE fd97137fac Just some maintenance. Nothing to see here, move along. :-) 2020-04-30 06:14:19 -04:00
..
textures updated digistuff, homedecor, roads, moreblocks, moretrees, quartz, 2019-06-18 15:11:50 -04:00
README update biome_lib, bonemeal, digidisplay, digistuff, dreambuilder hotbar, 2020-04-30 02:41:17 -04:00
init.lua Just some maintenance. Nothing to see here, move along. :-) 2020-04-30 06:14:19 -04:00
mod.conf update biome_lib, bonemeal, digidisplay, digistuff, dreambuilder hotbar, 2020-04-30 02:41:17 -04:00

README

RGB Lightstones for Minetest

License:
---Code: WTFPL
---Textures: "white" image by VanessaE (WTFPL), "palette" image is from here: https://commons.wikimedia.org/wiki/File:256colour.png

Depends: digilines
(should load without it but won't be real useful)

Instructions:

* Place the thing
* Right-click and set a channel
* Send a digilines message to it on that channel with the color you want (choices listed below)

Colors available for 256-color version: Any 6-digit hex color, such as "FF0000", "#c0ffee", "123456"... (will be set to the nearest color available)
Colors available for true-color version: Any 6-digit hex color, all values are supported

Group addressing mode:

If you are building something with large numbers of these things, set them all to the same channel, set X and Y addresses on each, and send nested tables (Y on the outside) with colors for all of them.
For example, given this display:

X=1 Y=1     X=2 Y=1

X=1 Y=2     X=2 Y=2

to make it show:

red     green
blue    yellow

send this:

{{"FF0000","00FF00"},
{"0000FF","FFFF00"}}

Note that if you are using group addressing mode, if there is an already-configured RGB lightstone node directly above the one you are setting up,
punching the one you are setting up (or right-clicking and selecting the Auto-Fill option) will attempt to auto-fill it (incrementing the Y address) from the one above.