diff --git a/mods/darkage/nodes.lua b/mods/darkage/nodes.lua index 53918cfe..aaeba04c 100755 --- a/mods/darkage/nodes.lua +++ b/mods/darkage/nodes.lua @@ -222,7 +222,7 @@ minetest.register_node("darkage:lamp", { description = "Lamp", tiles = {"darkage_lamp.png"}, paramtype = "light", - light_source = 18, + light_source = default.LIGHT_MAX, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,flammable=1}, sounds = default.node_sound_glass_defaults(), }) @@ -352,7 +352,7 @@ minetest.register_node("darkage:glow_glass", { drawtype = "glasslike", tiles = {"darkage_glass.png"}, paramtype = "light", - light_source = 18, + light_source = default.LIGHT_MAX, sunlight_propagates = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), diff --git a/mods/darkage/stairs.lua b/mods/darkage/stairs.lua index e41fe4d2..e820c770 100755 --- a/mods/darkage/stairs.lua +++ b/mods/darkage/stairs.lua @@ -166,7 +166,7 @@ if stairsplus then description = "Medieval Glow Glass", tiles = {"darkage_glass.png"}, paramtype = "light", - light_source = 18, + light_source = default.LIGHT_MAX, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_stone_defaults(), sunlight_propagates = true, diff --git a/mods/glow/glow/init.lua b/mods/glow/glow/init.lua index fa9153e7..8e8f7372 100755 --- a/mods/glow/glow/init.lua +++ b/mods/glow/glow/init.lua @@ -1,12 +1,11 @@ -- glow/init.lua -- mod by john and Zeg9 -LIGHT_MAX = 15 minetest.register_node("glow:stone", { description = "Glowing stone", tiles = {"glow_stone.png"}, - light_source = LIGHT_MAX, + light_source = default.LIGHT_MAX, groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), }) @@ -14,7 +13,7 @@ minetest.register_node("glow:stone", { minetest.register_node("glow:lamp", { description = "Lamp", tiles = {"glow_stone.png^glow_lamp_frame.png"}, - light_source = LIGHT_MAX, + light_source = default.LIGHT_MAX, groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), }) diff --git a/mods/homedecor_modpack/chains/init.lua b/mods/homedecor_modpack/chains/init.lua index 2facad04..becbb35a 100755 --- a/mods/homedecor_modpack/chains/init.lua +++ b/mods/homedecor_modpack/chains/init.lua @@ -70,7 +70,7 @@ minetest.register_node("chains:chain_top_brass", { minetest.register_node("chains:chandelier", { description = "Chandelier (wrought iron)", paramtype = "light", - light_source = LIGHT_MAX-2, + light_source = default.LIGHT_MAX-2, walkable = false, climbable = true, sunlight_propagates = true, @@ -97,7 +97,7 @@ minetest.register_node("chains:chandelier", { minetest.register_node("chains:chandelier_brass", { description = "Chandelier (brass)", paramtype = "light", - light_source = LIGHT_MAX-2, + light_source = default.LIGHT_MAX-2, walkable = false, climbable = true, sunlight_propagates = true, diff --git a/mods/homedecor_modpack/homedecor/climate-control.lua b/mods/homedecor_modpack/homedecor/climate-control.lua index 09f714e6..462f4504 100755 --- a/mods/homedecor_modpack/homedecor/climate-control.lua +++ b/mods/homedecor_modpack/homedecor/climate-control.lua @@ -111,7 +111,7 @@ homedecor.register("ceiling_fan", { } }, groups = { snappy = 3 }, - light_source = LIGHT_MAX-1, + light_source = default.LIGHT_MAX-1, sounds = default.node_sound_glass_defaults(), }) diff --git a/mods/homedecor_modpack/homedecor/misc-nodes.lua b/mods/homedecor_modpack/homedecor/misc-nodes.lua index b623cde9..6a82020a 100755 --- a/mods/homedecor_modpack/homedecor/misc-nodes.lua +++ b/mods/homedecor_modpack/homedecor/misc-nodes.lua @@ -195,7 +195,7 @@ homedecor.register("fishtank_lighted", { "homedecor_fishtank_water_top_lighted.png", "homedecor_fishtank_sides_lighted.png", }, - light_source = LIGHT_MAX-4, + light_source = default.LIGHT_MAX-4, use_texture_alpha = true, selection_box = ft_cbox, collision_box = ft_cbox, diff --git a/mods/maptools/nodes.lua b/mods/maptools/nodes.lua index fc940ca3..e0510cb2 100755 --- a/mods/maptools/nodes.lua +++ b/mods/maptools/nodes.lua @@ -242,7 +242,7 @@ minetest.register_node("maptools:lightbulb", { drawtype = "airlike", walkable = false, pointable = false, - light_source = 15, + light_source = default.LIGHT_MAX, paramtype = "light", sunlight_propagates = true, drop = "", diff --git a/mods/moreblocks/nodes.lua b/mods/moreblocks/nodes.lua index 0d1999e0..58c75b74 100755 --- a/mods/moreblocks/nodes.lua +++ b/mods/moreblocks/nodes.lua @@ -290,7 +290,7 @@ local nodes = { tiles = {"moreblocks_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"}, --MFF connected glass paramtype = "light", sunlight_propagates = true, - light_source = 15, + light_source = default.LIGHT_MAX, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, sounds = sound_glass, }, @@ -300,7 +300,7 @@ local nodes = { tiles = {"moreblocks_trap_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"}, --MFF connected glass paramtype = "light", sunlight_propagates = true, - light_source = 15, + light_source = default.LIGHT_MAX, walkable = false, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, sounds = sound_glass, diff --git a/mods/sea/sealamps/init.lua b/mods/sea/sealamps/init.lua index 684738d4..c3b5af5b 100755 --- a/mods/sea/sealamps/init.lua +++ b/mods/sea/sealamps/init.lua @@ -14,7 +14,7 @@ minetest.register_node("sealamps:torch", { paramtype2 = "wallmounted", sunlight_propagates = true, walkable = false, - light_source = LIGHT_MAX-1, + light_source = default.LIGHT_MAX-1, selection_box = { type = "wallmounted", wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1}, @@ -40,7 +40,7 @@ minetest.register_node("sealamps:lantern", { paramtype2 = "wallmounted", sunlight_propagates = true, walkable = false, - light_source = LIGHT_MAX-1, + light_source = default.LIGHT_MAX-1, selection_box = { type = "wallmounted", wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1}, @@ -71,4 +71,4 @@ minetest.register_craft({ recipe = { {'default:steel_ingot', 'default:bronze_ingot', 'default:glass'}, }, -}) \ No newline at end of file +}) diff --git a/mods/snow/src/nodes.lua b/mods/snow/src/nodes.lua index c8310a30..53a9c635 100755 --- a/mods/snow/src/nodes.lua +++ b/mods/snow/src/nodes.lua @@ -132,7 +132,7 @@ minetest.register_node("snow:star", table.copy(nodedef)) -- Star (Lit Version) on Xmas Trees nodedef.description = nodedef.description.." Lighted" -nodedef.light_source = LIGHT_MAX +nodedef.light_source = default.LIGHT_MAX nodedef.tiles = {"snow_star_lit.png"} nodedef.drop = "snow:star" nodedef.groups.not_in_creative_inventory = 1 diff --git a/mods/throwing/fire_arrow.lua b/mods/throwing/fire_arrow.lua index 85a44a15..424d81c4 100755 --- a/mods/throwing/fire_arrow.lua +++ b/mods/throwing/fire_arrow.lua @@ -105,7 +105,7 @@ minetest.register_node("throwing:light", { paramtype = "light", sunlight_propagates = true, tiles = {"throwing_empty.png"}, - light_source = LIGHT_MAX-4, + light_source = default.LIGHT_MAX-4, selection_box = { type = "fixed", fixed = {