From f181e712be786c1bd6ae4a8a686d13833360bbd3 Mon Sep 17 00:00:00 2001 From: Calinou Date: Sat, 29 Nov 2014 11:23:45 +0100 Subject: [PATCH] Make some common nodes let light pass through --- mods/default/nodes.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 34f29171..e6bfac7d 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -287,6 +287,7 @@ minetest.register_node("default:junglesapling", { inventory_image = "default_junglesapling.png", wield_image = "default_junglesapling.png", paramtype = "light", + sunlight_propagates = true, walkable = false, selection_box = { type = "fixed", @@ -305,6 +306,7 @@ minetest.register_node("default:junglegrass", { inventory_image = "default_junglegrass.png", wield_image = "default_junglegrass.png", paramtype = "light", + sunlight_propagates = true, walkable = false, buildable_to = true, is_ground_content = true, @@ -363,6 +365,7 @@ minetest.register_node("default:papyrus", { inventory_image = "default_papyrus.png", wield_image = "default_papyrus.png", paramtype = "light", + sunlight_propagates = true, walkable = false, is_ground_content = true, selection_box = { @@ -464,6 +467,7 @@ minetest.register_node("default:fence_wood", { inventory_image = fence_texture, wield_image = fence_texture, paramtype = "light", + sunlight_propagates = true, is_ground_content = false, selection_box = { type = "fixed", @@ -480,6 +484,7 @@ minetest.register_node("default:rail", { inventory_image = "default_rail.png", wield_image = "default_rail.png", paramtype = "light", + sunlight_propagates = true, walkable = false, is_ground_content = false, selection_box = { @@ -498,6 +503,7 @@ minetest.register_node("default:ladder", { wield_image = "default_ladder.png", paramtype = "light", paramtype2 = "wallmounted", + sunlight_propagates = true, walkable = false, climbable = true, is_ground_content = false, @@ -1324,6 +1330,7 @@ minetest.register_node("default:sapling", { inventory_image = "default_sapling.png", wield_image = "default_sapling.png", paramtype = "light", + sunlight_propagates = true, walkable = false, is_ground_content = true, selection_box = { @@ -1367,6 +1374,7 @@ minetest.register_node("default:dry_shrub", { inventory_image = "default_dry_shrub.png", wield_image = "default_dry_shrub.png", paramtype = "light", + sunlight_propagates = true, walkable = false, is_ground_content = true, buildable_to = true, @@ -1387,6 +1395,7 @@ minetest.register_node("default:grass_1", { inventory_image = "default_grass_3.png", wield_image = "default_grass_3.png", paramtype = "light", + sunlight_propagates = true, walkable = false, is_ground_content = true, buildable_to = true, @@ -1413,6 +1422,7 @@ for i=2,5 do inventory_image = "default_grass_"..i..".png", wield_image = "default_grass_"..i..".png", paramtype = "light", + sunlight_propagates = true, walkable = false, buildable_to = true, is_ground_content = true,