Make button and Wall lever emit very few light if turned on

This commit is contained in:
Jeija 2012-08-10 11:11:53 +02:00
parent ce72ed2bab
commit 2fe312618c
2 changed files with 2 additions and 0 deletions

View File

@ -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 }

View File

@ -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 },