mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Make beds transparent to sunlight
This commit is contained in:
parent
e9af6ea705
commit
c6c8232c6d
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ function beds.register_bed(name, def)
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = def.tiles.bottom,
|
tiles = def.tiles.bottom,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
@ -161,6 +162,7 @@ function beds.register_bed(name, def)
|
||||||
tiles = def.tiles.top,
|
tiles = def.tiles.top,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
groups = {handy = 1, flammable = 3, bed = 2},
|
groups = {handy = 1, flammable = 3, bed = 2},
|
||||||
|
|
Loading…
Reference in a new issue