Mesh nodes with a somewhat-low-poly model are used here to provide a somewhat-realistic look compared to Dan's old version.
Place three steel ingots, one regular glass, and one torch, in the following pattern:
Code: Select all
-- Steel -- -- Glass -- Steel Torch Steel
All colors in the abridged Unified Dyes "colorwallmounted" palette are supported, including esoteric shades like grey and black. The screenshot below shows a sample of the available colors (in fact, it shows the color set this mod used to have before dynamic colorization became possible).
You can right-click a light to turn it on/off, or send it a Mesecons signal. They are also Digilines compatible, and will respond to "on" and "off" messages sent from another source. There are no return/status messages. Just shift-punch a light to set its channel.
These lights will stay on when placed, until you explicitly shut them off with one of the above.
Dependencies: default, unifieddyes, and a Minetest engine build newer than 2017-01-23.
Download: https://gitlab.com/VanessaE/ilights/-/a ... master.zip
...or browse the code: https://gitlab.com/VanessaE/ilights
Regarding the black lights (and for that matter, other colors not usually seen with a light), as Dan said originally, "I have no idea how that works, but hey."