diff options
author | Jeija <norrepli@gmail.com> | 2012-08-10 11:11:53 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-10 11:11:53 +0200 |
commit | 2fe312618c38135cf947dd91a7a8bc0d3e69711d (patch) | |
tree | 7befc2cb2bf6fd8be6a58d5c096440ffeee399f0 | |
parent | ce72ed2babec7cfc5f650e4e240e6d94a79e704e (diff) | |
download | mesecons-2fe312618c38135cf947dd91a7a8bc0d3e69711d.tar mesecons-2fe312618c38135cf947dd91a7a8bc0d3e69711d.tar.gz mesecons-2fe312618c38135cf947dd91a7a8bc0d3e69711d.tar.bz2 mesecons-2fe312618c38135cf947dd91a7a8bc0d3e69711d.tar.xz mesecons-2fe312618c38135cf947dd91a7a8bc0d3e69711d.zip |
Make button and Wall lever emit very few light if turned on
-rw-r--r-- | mesecons_button/init.lua | 1 | ||||
-rw-r--r-- | mesecons_walllever/init.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index bda118f..1ef6680 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -41,6 +41,7 @@ minetest.register_node("mesecons_button:button_on", { paramtype2 = "facedir", legacy_wallmounted = true, walkable = false, + light_source = LIGHT_MAX-9, selection_box = { type = "fixed", fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 } diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index 7dd8828..e315126 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -43,6 +43,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", { paramtype = "light", paramtype2 = "facedir", walkable = false, + light_source = LIGHT_MAX-9, selection_box = { type = "fixed", fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 }, |