Make beds transparent to sunlight

master
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",
tiles = def.tiles.bottom,
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "facedir",
is_ground_content = false,
stack_max = 1,
@ -161,6 +162,7 @@ function beds.register_bed(name, def)
tiles = def.tiles.top,
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
pointable = false,
groups = {handy = 1, flammable = 3, bed = 2},