From c6c8232c6d28d8b2d2023a255ad6193be702bac3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 20 Mar 2017 18:40:31 +0100 Subject: [PATCH] Make beds transparent to sunlight --- mods/ITEMS/beds/api.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/beds/api.lua b/mods/ITEMS/beds/api.lua index 4041a8ee9..0241472d3 100644 --- a/mods/ITEMS/beds/api.lua +++ b/mods/ITEMS/beds/api.lua @@ -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},