forked from Mineclonia/Mineclonia
No sunlight propagates through slab/stair
This commit is contained in:
parent
7c14697745
commit
aeaf62a559
|
@ -602,6 +602,7 @@ function mcstair.add(name, stairtiles)
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
sunlight_propagates = false,
|
||||||
groups = outer_groups,
|
groups = outer_groups,
|
||||||
sounds = node_def.sounds,
|
sounds = node_def.sounds,
|
||||||
node_box = {
|
node_box = {
|
||||||
|
@ -622,6 +623,7 @@ function mcstair.add(name, stairtiles)
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
sunlight_propagates = false,
|
||||||
groups = inner_groups,
|
groups = inner_groups,
|
||||||
sounds = node_def.sounds,
|
sounds = node_def.sounds,
|
||||||
node_box = {
|
node_box = {
|
||||||
|
|
|
@ -19,6 +19,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
|
||||||
tiles = images,
|
tiles = images,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
sunlight_propagates = false,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = groups,
|
groups = groups,
|
||||||
sounds = sounds,
|
sounds = sounds,
|
||||||
|
@ -111,6 +112,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
|
||||||
tiles = images,
|
tiles = images,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
sunlight_propagates = false,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = groups,
|
groups = groups,
|
||||||
sounds = sounds,
|
sounds = sounds,
|
||||||
|
|
Loading…
Reference in New Issue