0
0
Fork 0

Make beds transparent to sunlight

This commit is contained in:
Wuzzy 2017-03-20 18:40:31 +01:00
parent e9af6ea705
commit c6c8232c6d
1 changed files with 2 additions and 0 deletions

View File

@ -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},