forked from minetest/minetest_game
Make some common nodes let light pass through
This commit is contained in:
parent
23a37e5e79
commit
a4d056e493
|
@ -410,6 +410,7 @@ minetest.register_node("default:sapling", {
|
||||||
inventory_image = "default_sapling.png",
|
inventory_image = "default_sapling.png",
|
||||||
wield_image = "default_sapling.png",
|
wield_image = "default_sapling.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
@ -531,6 +532,7 @@ minetest.register_node("default:junglesapling", {
|
||||||
inventory_image = "default_junglesapling.png",
|
inventory_image = "default_junglesapling.png",
|
||||||
wield_image = "default_junglesapling.png",
|
wield_image = "default_junglesapling.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -761,6 +763,7 @@ minetest.register_node("default:papyrus", {
|
||||||
inventory_image = "default_papyrus.png",
|
inventory_image = "default_papyrus.png",
|
||||||
wield_image = "default_papyrus.png",
|
wield_image = "default_papyrus.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
@ -784,6 +787,7 @@ minetest.register_node("default:dry_shrub", {
|
||||||
inventory_image = "default_dry_shrub.png",
|
inventory_image = "default_dry_shrub.png",
|
||||||
wield_image = "default_dry_shrub.png",
|
wield_image = "default_dry_shrub.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
|
@ -804,6 +808,7 @@ minetest.register_node("default:junglegrass", {
|
||||||
inventory_image = "default_junglegrass.png",
|
inventory_image = "default_junglegrass.png",
|
||||||
wield_image = "default_junglegrass.png",
|
wield_image = "default_junglegrass.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
|
@ -824,6 +829,7 @@ minetest.register_node("default:grass_1", {
|
||||||
inventory_image = "default_grass_3.png",
|
inventory_image = "default_grass_3.png",
|
||||||
wield_image = "default_grass_3.png",
|
wield_image = "default_grass_3.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
|
@ -851,6 +857,7 @@ for i=2,5 do
|
||||||
inventory_image = "default_grass_"..i..".png",
|
inventory_image = "default_grass_"..i..".png",
|
||||||
wield_image = "default_grass_"..i..".png",
|
wield_image = "default_grass_"..i..".png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
|
@ -1469,6 +1476,7 @@ minetest.register_node("default:ladder", {
|
||||||
wield_image = "default_ladder.png",
|
wield_image = "default_ladder.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
climbable = true,
|
climbable = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
@ -1491,6 +1499,7 @@ minetest.register_node("default:fence_wood", {
|
||||||
inventory_image = fence_texture,
|
inventory_image = fence_texture,
|
||||||
wield_image = fence_texture,
|
wield_image = fence_texture,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -1534,6 +1543,7 @@ minetest.register_node("default:rail", {
|
||||||
inventory_image = "default_rail.png",
|
inventory_image = "default_rail.png",
|
||||||
wield_image = "default_rail.png",
|
wield_image = "default_rail.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user