Skip to content

Commit a4d056e

Browse files
CalinouEkdohibs
authored andcommittedMay 14, 2015
Make some common nodes let light pass through
1 parent 23a37e5 commit a4d056e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

Diff for: ‎mods/default/nodes.lua

+10
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ minetest.register_node("default:sapling", {
410410
inventory_image = "default_sapling.png",
411411
wield_image = "default_sapling.png",
412412
paramtype = "light",
413+
sunlight_propagates = true,
413414
walkable = false,
414415
is_ground_content = true,
415416
selection_box = {
@@ -531,6 +532,7 @@ minetest.register_node("default:junglesapling", {
531532
inventory_image = "default_junglesapling.png",
532533
wield_image = "default_junglesapling.png",
533534
paramtype = "light",
535+
sunlight_propagates = true,
534536
walkable = false,
535537
selection_box = {
536538
type = "fixed",
@@ -761,6 +763,7 @@ minetest.register_node("default:papyrus", {
761763
inventory_image = "default_papyrus.png",
762764
wield_image = "default_papyrus.png",
763765
paramtype = "light",
766+
sunlight_propagates = true,
764767
walkable = false,
765768
is_ground_content = true,
766769
selection_box = {
@@ -784,6 +787,7 @@ minetest.register_node("default:dry_shrub", {
784787
inventory_image = "default_dry_shrub.png",
785788
wield_image = "default_dry_shrub.png",
786789
paramtype = "light",
790+
sunlight_propagates = true,
787791
walkable = false,
788792
is_ground_content = true,
789793
buildable_to = true,
@@ -804,6 +808,7 @@ minetest.register_node("default:junglegrass", {
804808
inventory_image = "default_junglegrass.png",
805809
wield_image = "default_junglegrass.png",
806810
paramtype = "light",
811+
sunlight_propagates = true,
807812
walkable = false,
808813
buildable_to = true,
809814
is_ground_content = true,
@@ -824,6 +829,7 @@ minetest.register_node("default:grass_1", {
824829
inventory_image = "default_grass_3.png",
825830
wield_image = "default_grass_3.png",
826831
paramtype = "light",
832+
sunlight_propagates = true,
827833
walkable = false,
828834
is_ground_content = true,
829835
buildable_to = true,
@@ -851,6 +857,7 @@ for i=2,5 do
851857
inventory_image = "default_grass_"..i..".png",
852858
wield_image = "default_grass_"..i..".png",
853859
paramtype = "light",
860+
sunlight_propagates = true,
854861
walkable = false,
855862
buildable_to = true,
856863
is_ground_content = true,
@@ -1469,6 +1476,7 @@ minetest.register_node("default:ladder", {
14691476
wield_image = "default_ladder.png",
14701477
paramtype = "light",
14711478
paramtype2 = "wallmounted",
1479+
sunlight_propagates = true,
14721480
walkable = false,
14731481
climbable = true,
14741482
is_ground_content = false,
@@ -1491,6 +1499,7 @@ minetest.register_node("default:fence_wood", {
14911499
inventory_image = fence_texture,
14921500
wield_image = fence_texture,
14931501
paramtype = "light",
1502+
sunlight_propagates = true,
14941503
is_ground_content = false,
14951504
selection_box = {
14961505
type = "fixed",
@@ -1534,6 +1543,7 @@ minetest.register_node("default:rail", {
15341543
inventory_image = "default_rail.png",
15351544
wield_image = "default_rail.png",
15361545
paramtype = "light",
1546+
sunlight_propagates = true,
15371547
walkable = false,
15381548
is_ground_content = false,
15391549
selection_box = {

0 commit comments

Comments
 (0)