From df44dd3dad61d80fd611c7406c54cb4cb8eee1f3 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Thu, 6 Jun 2019 01:48:44 -0400 Subject: [PATCH] remove some bogus aliases, fix plasma ball --- homedecor_lighting/init.lua | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/homedecor_lighting/init.lua b/homedecor_lighting/init.lua index c18aca0b..de6974ee 100644 --- a/homedecor_lighting/init.lua +++ b/homedecor_lighting/init.lua @@ -1797,18 +1797,9 @@ minetest.register_alias("homedecor:glowlight_quarter_max", "homedecor:glowli minetest.register_alias("homedecor:glowlight_small_cube", "homedecor:glowlight_small_cube_14") minetest.register_alias("homedecor:glowlight_small_cube_max", "homedecor:glowlight_small_cube_14") -minetest.register_alias("homedecor:rope_light_14_floor", "homedecor:rope_light_on_floor_14") -minetest.register_alias("homedecor:rope_light_on_floor_max", "homedecor:rope_light_on_floor_14") - -minetest.register_alias("homedecor:rope_light_on_ceiling", "homedecor:rope_light_on_ceiling_14") -minetest.register_alias("homedecor:rope_light_on_ceiling_max", "homedecor:rope_light_on_ceiling_14") - minetest.register_alias("homedecor:plasma_lamp", "homedecor:plasma_lamp_14") minetest.register_alias("homedecor:plasma_lamp_max", "homedecor:plasma_lamp_14") -minetest.register_alias("homedecor:plasma_ball", "homedecor:plasma_ball_14") -minetest.register_alias("homedecor:plasma_ball_max", "homedecor:plasma_ball_14") - minetest.register_alias("homedecor:ground_lantern", "homedecor:ground_lantern_14") minetest.register_alias("homedecor:ground_lantern_max", "homedecor:ground_lantern_14") @@ -1836,14 +1827,16 @@ minetest.register_alias("homedecor:table_lamp_max", "homedecor:table_ minetest.register_alias("homedecor:standing_lamp", "homedecor:standing_lamp_14") minetest.register_alias("homedecor:standing_lamp_max", "homedecor:standing_lamp_14") -minetest.register_alias("homedecor:wall_lamp", "homedecor:wall_lamp_on") - minetest.register_alias("3dforniture:table_lamp", "homedecor:table_lamp_14") minetest.register_alias("3dforniture:table_lamp_max", "homedecor:table_lamp_14") minetest.register_alias("3dforniture:torch_wall", "homedecor:torch_wall") minetest.register_alias("torch_wall", "homedecor:torch_wall") +minetest.register_alias("homedecor:plasma_ball", "homedecor:plasma_ball_on") +minetest.register_alias("homedecor:wall_lamp", "homedecor:wall_lamp_on") + + for name, level in pairs(word_to_bright) do minetest.register_alias("homedecor:glowlight_half_"..name, "homedecor:glowlight_half_"..level) minetest.register_alias("homedecor:glowlight_quarter_"..name, "homedecor:glowlight_quarter_"..level)