summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2018-11-22 15:51:33 -0600
committercheapie <no-email-for-you@example.com>2018-11-22 15:51:33 -0600
commit2711c0e80c5be9001917eedca727c5a14827addb (patch)
tree9b685b3b702aa5dc0935eadaf72a736cfffd00d1
parentee65d188cae9bf2ab73ab356ff556a98a6e29b3c (diff)
downloaddigistuff-2711c0e80c5be9001917eedca727c5a14827addb.tar
digistuff-2711c0e80c5be9001917eedca727c5a14827addb.tar.gz
digistuff-2711c0e80c5be9001917eedca727c5a14827addb.tar.bz2
digistuff-2711c0e80c5be9001917eedca727c5a14827addb.tar.xz
digistuff-2711c0e80c5be9001917eedca727c5a14827addb.zip
Tweak visual brightness of dimmable lights
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index df2af95..33b5936 100644
--- a/init.lua
+++ b/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 ""),