Make some nodes let light pass through

This commit is contained in:
Calinou 2012-12-16 18:37:16 +01:00
parent 73d078fd27
commit 9c7a68acd6
1 changed files with 9 additions and 0 deletions

View File

@ -869,6 +869,7 @@ minetest.register_node("default:junglegrass", {
wield_image = "default_junglegrass.png",
paramtype = "light",
walkable = false,
sunlight_propagates = true,
groups = {snappy=3,flammable=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})
@ -915,6 +916,7 @@ minetest.register_node("default:papyrus", {
paramtype = "light",
is_ground_content = true,
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
@ -951,6 +953,7 @@ minetest.register_node("default:fence_wood", {
wield_image = "default_fence.png",
paramtype = "light",
is_ground_content = true,
sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
@ -968,6 +971,7 @@ minetest.register_node("default:rail", {
paramtype = "light",
is_ground_content = true,
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
@ -987,6 +991,7 @@ minetest.register_node("default:ladder", {
is_ground_content = true,
walkable = false,
climbable = true,
sunlight_propagates = true,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
@ -1101,6 +1106,7 @@ minetest.register_node("default:lava_flowing", {
pointable = false,
diggable = false,
buildable_to = true,
sunlight_propagates = true,
liquidtype = "flowing",
liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source",
@ -1127,6 +1133,7 @@ minetest.register_node("default:lava_source", {
pointable = false,
diggable = false,
buildable_to = true,
sunlight_propagates = true,
liquidtype = "source",
liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source",
@ -1557,6 +1564,7 @@ minetest.register_node("default:sapling", {
wield_image = "default_sapling.png",
paramtype = "light",
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
@ -1592,6 +1600,7 @@ minetest.register_node("default:dry_shrub", {
wield_image = "default_dry_shrub.png",
paramtype = "light",
walkable = false,
sunlight_propagates = true,
groups = {snappy=3,flammable=3,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {