mirror of
https://cheapiesystems.com/git/digistuff
synced 2024-11-24 16:13:45 +01:00
Tweak visual brightness of dimmable lights
This commit is contained in:
parent
ee65d188ca
commit
2711c0e80c
2
init.lua
2
init.lua
@ -992,7 +992,7 @@ if minetest.get_modpath("mesecons_noteblock") then
|
||||
end
|
||||
|
||||
for i=0,14,1 do
|
||||
local mult = 255 - ((14-i)*16)
|
||||
local mult = 255 - ((14-i)*12)
|
||||
minetest.register_node("digistuff:light_"..i, {
|
||||
drop = "digistuff:light_0",
|
||||
description = "Digilines Dimmable Light"..(i > 0 and " (on state - you hacker you!)" or ""),
|
||||
|
Loading…
Reference in New Issue
Block a user