diff --git a/mods/ITEMS/REDSTONE/mesecons_lightstone/init.lua b/mods/ITEMS/REDSTONE/mesecons_lightstone/init.lua index ed1e67c941..eb5c5d97bd 100644 --- a/mods/ITEMS/REDSTONE/mesecons_lightstone/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_lightstone/init.lua @@ -21,6 +21,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", { groups = {handy=1, not_in_creative_inventory=1, mesecon = 2}, drop = "node mesecons_lightstone:lightstone_off", is_ground_content = false, + paramtype = "light", -- Real light level: 15 (Minetest caps at 14) light_source = 14, sounds = mcl_sounds.node_sound_stone_defaults(), diff --git a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua index c628d42b4c..1825d90ef9 100644 --- a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua @@ -8,6 +8,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", { wield_image = "jeija_solar_panel.png", wield_scale = { x=1, y=1, z=3 }, paramtype = "light", + sunlight_propagates = true, is_ground_content = false, selection_box = { type = "fixed", @@ -41,6 +42,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", { wield_image = "jeija_solar_panel.png", wield_scale = { x=1, y=1, z=3 }, paramtype = "light", + sunlight_propagates = true, is_ground_content = false, selection_box = { type = "fixed", @@ -115,6 +117,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", { wield_image = "jeija_solar_panel_inverted.png", wield_scale = { x=1, y=1, z=3 }, paramtype = "light", + sunlight_propagates = true, is_ground_content = false, selection_box = { type = "fixed", @@ -148,6 +151,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", { wield_image = "jeija_solar_panel_inverted.png", wield_scale = { x=1, y=1, z=3 }, paramtype = "light", + sunlight_propagates = true, is_ground_content = false, selection_box = { type = "fixed", diff --git a/mods/ITEMS/mcl_chests/init.lua b/mods/ITEMS/mcl_chests/init.lua index 9989224e7d..c08710c8b2 100644 --- a/mods/ITEMS/mcl_chests/init.lua +++ b/mods/ITEMS/mcl_chests/init.lua @@ -599,6 +599,8 @@ for color, desc in pairs(boxtypes) do sounds = mcl_sounds.node_sound_stone_defaults(), stack_max = 1, drop = "", + paramtype = "light", + sunlight_propagates = true, paramtype2 = "facedir", on_place = minetest.rotate_node, on_construct = function(pos) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index 3d2b512cbc..b37999d7d0 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -1196,6 +1196,7 @@ minetest.register_node("mcl_core:cactus", { groups = {handy=1, attached_node=1, plant=1, deco_block=1, dig_by_piston=1}, sounds = mcl_sounds.node_sound_wood_defaults(), paramtype = "light", + sunlight_propagates = true, node_placement_prediction = "", node_box = { type = "fixed", @@ -1629,6 +1630,7 @@ minetest.register_node("mcl_core:lava_flowing", { }, }, paramtype = "light", + sunlight_propagates = true, paramtype2 = "flowingliquid", -- Real light level: 15 (but Minetest caps at 14) light_source = 14, @@ -1679,6 +1681,7 @@ Lava interacts with water various ways: } }, paramtype = "light", + sunlight_propagates = true, -- Real light level: 15 (but Minetest caps at 14) light_source = 14, walkable = false, diff --git a/mods/ITEMS/mcl_end/init.lua b/mods/ITEMS/mcl_end/init.lua index 2a4489f98d..9bd21c78dd 100644 --- a/mods/ITEMS/mcl_end/init.lua +++ b/mods/ITEMS/mcl_end/init.lua @@ -185,6 +185,7 @@ minetest.register_node("mcl_end:chorus_flower", { }, drawtype = "nodebox", paramtype = "light", + sunlight_propagates = true, node_box = chorus_flower_box, selection_box = { type = "regular" }, sounds = mcl_sounds.node_sound_wood_defaults(), @@ -205,6 +206,7 @@ minetest.register_node("mcl_end:chorus_flower_dead", { }, drawtype = "nodebox", paramtype = "light", + sunlight_propagates = true, node_box = chorus_flower_box, selection_box = { type = "regular" }, sounds = mcl_sounds.node_sound_wood_defaults(), @@ -226,6 +228,7 @@ minetest.register_node("mcl_end:chorus_plant", { }, drawtype = "nodebox", paramtype = "light", + sunlight_propagates = true, -- TODO: Maybe improve nodebox a bit to look more “natural” node_box = { type = "connected", diff --git a/mods/ITEMS/mcl_furnaces/init.lua b/mods/ITEMS/mcl_furnaces/init.lua index e4c1f4a4e9..b4971a8569 100644 --- a/mods/ITEMS/mcl_furnaces/init.lua +++ b/mods/ITEMS/mcl_furnaces/init.lua @@ -334,6 +334,7 @@ minetest.register_node("mcl_furnaces:furnace_active", { "default_furnace_side.png", "default_furnace_front_active.png", }, paramtype2 = "facedir", + paramtype = "light", light_source = 13, drop = "mcl_furnaces:furnace", groups = {pickaxey=1, container=4, deco_block=1, not_in_creative_inventory=1, material_stone=1}, diff --git a/mods/ITEMS/mcl_nether/init.lua b/mods/ITEMS/mcl_nether/init.lua index f977c3ff42..0e34a3b3c6 100644 --- a/mods/ITEMS/mcl_nether/init.lua +++ b/mods/ITEMS/mcl_nether/init.lua @@ -13,6 +13,8 @@ minetest.register_node("mcl_nether:glowstone", { {items = {'mcl_nether:glowstone_dust 2'}}, } }, + paramtype = "light", + sunlight_propagates = true, -- Real light level: 15 (but Minetest caps at 14) light_source = 14, sounds = mcl_sounds.node_sound_glass_defaults(), diff --git a/mods/ITEMS/mcl_tnt/init.lua b/mods/ITEMS/mcl_tnt/init.lua index ffb17aaa75..a081f832bf 100644 --- a/mods/ITEMS/mcl_tnt/init.lua +++ b/mods/ITEMS/mcl_tnt/init.lua @@ -49,6 +49,8 @@ minetest.register_node("mcl_tnt:tnt", { is_ground_content = false, stack_max = 64, description = "TNT", + paramtype = "light", + sunlight_propagates = true, _doc_items_longdesc = string.format("An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, throw blocks affected by gravity all over the place and light fires. A single TNT has an explosion radius of %d. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by tools, explosions, fire, lava and redstone signals.", TNT_RANGE), _doc_items_usagehelp = "Place the TNT on the ground and ignite it with one of the methods above. Quickly get in safe distance quickly. The TNT will start to be affected by gravity and explodes in 4 seconds.", groups = { dig_immediate = 3, tnt = 1, },