Propagate sunlight for rocks, stems

This commit is contained in:
James Stevenson 2016-06-03 12:55:51 -04:00
parent 503d966733
commit c8d70f4b34
2 changed files with 3 additions and 0 deletions

View file

@ -165,6 +165,7 @@ minetest.register_node("fun_caves:giant_mushroom_stem", {
is_ground_content = false, is_ground_content = false,
groups = {choppy=2, oddly_breakable_by_hand=1, flammable=2, plant=1}, groups = {choppy=2, oddly_breakable_by_hand=1, flammable=2, plant=1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
sunlight_propagates = true,
paramtype = "light", paramtype = "light",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { type = "fixed", fixed = { {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}, }}, node_box = { type = "fixed", fixed = { {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}, }},

View file

@ -34,6 +34,7 @@ for grid_count = 1,6 do
is_ground_content = true, is_ground_content = true,
walkable = false, walkable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
drawtype = "nodebox", drawtype = "nodebox",
buildable_to = true, buildable_to = true,
node_box = { type = "fixed", node_box = { type = "fixed",
@ -68,6 +69,7 @@ minetest.register_node("fun_caves:small_rocks", {
is_ground_content = true, is_ground_content = true,
walkable = false, walkable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
drawtype = "nodebox", drawtype = "nodebox",
node_box = { type = "fixed", node_box = { type = "fixed",
fixed = default_grid }, fixed = default_grid },