1
0
Fork 0

Make walls sunlight transparent

This commit is contained in:
Wuzzy 2017-03-20 19:11:51 +01:00
parent 21ef2a83b6
commit 528ff21259
1 changed files with 4 additions and 0 deletions

View File

@ -146,6 +146,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
is_ground_content = false, is_ground_content = false,
tiles = tiles, tiles = tiles,
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
groups = internal_groups, groups = internal_groups,
drop = nodename, drop = nodename,
node_box = { node_box = {
@ -171,6 +172,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
}, },
tiles = tiles, tiles = tiles,
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
groups = internal_groups, groups = internal_groups,
drop = nodename, drop = nodename,
@ -195,6 +197,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
}, },
tiles = tiles, tiles = tiles,
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
groups = internal_groups, groups = internal_groups,
drop = nodename, drop = nodename,
@ -216,6 +219,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i
description = description, description = description,
_doc_items_longdesc = "A piece of wall. It cannot be jumped over with a simple jump. When multiple of these are placed to next to each other, they will automatically build a nice wall structure.", _doc_items_longdesc = "A piece of wall. It cannot be jumped over with a simple jump. When multiple of these are placed to next to each other, they will automatically build a nice wall structure.",
paramtype = "light", paramtype = "light",
sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
groups = main_node_groups, groups = main_node_groups,
tiles = tiles, tiles = tiles,