From d4e5d04b4cc65846af7dae950e10c00eca8e2716 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Thu, 6 Jun 2019 04:41:22 -0400 Subject: update homedecor --- homedecor_lighting/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homedecor_lighting/init.lua b/homedecor_lighting/init.lua index de6974e..cc0fdbb 100644 --- a/homedecor_lighting/init.lua +++ b/homedecor_lighting/init.lua @@ -724,7 +724,7 @@ for brightness_level = 0, 14 do paramtype2 = "color", palette = "unifieddyes_palette_extended.png", walkable = false, - light_source = word_to_bright[light_brightn_name], + light_source = brightness_level, groups = {cracky=2,oddly_breakable_by_hand=1, ud_param2_colorable = 1, not_in_creative_inventory=nici }, selection_box = slamp_cbox, sounds = default.node_sound_wood_defaults(), @@ -765,7 +765,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do end homedecor.register("plasma_ball_"..light_brightn_name, { - description = S("Plasma Ball"), + description = S("Plasma Ball/light"), mesh = "homedecor_plasma_ball.obj", tiles = { { name = "homedecor_generic_plastic.png", color = homedecor.color_black }, @@ -894,7 +894,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do }) homedecor.register("wall_lamp_"..light_brightn_name, { - description = S("Wall Lamp"), + description = S("Wall Lamp/light"), mesh = "homedecor_wall_lamp.obj", tiles = { { name = "homedecor_generic_metal.png", color = homedecor.color_med_grey }, -- cgit v1.2.3