mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 02:42:25 +01:00
Make walls sunlight transparent
This commit is contained in:
parent
21ef2a83b6
commit
528ff21259
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user