From a57bdbe436ec5f45967182a86f6b33353386ba61 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 12 Mar 2017 03:43:49 +0100 Subject: [PATCH] Make doors and trapdoors transparent to sunlight --- mods/ITEMS/mcl_doors/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/ITEMS/mcl_doors/init.lua b/mods/ITEMS/mcl_doors/init.lua index 407441494..07904c70a 100644 --- a/mods/ITEMS/mcl_doors/init.lua +++ b/mods/ITEMS/mcl_doors/init.lua @@ -162,6 +162,7 @@ function mcl_doors:register_door(name, def) tiles = {tt[2].."^[transformFY", tt[2], tb[2].."^[transformFX", tb[2], tb[1], tb[1].."^[transformFX"}, paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, is_ground_content = false, drop = name, drawtype = "nodebox", @@ -200,6 +201,7 @@ function mcl_doors:register_door(name, def) tiles = {tt[2].."^[transformFY", tt[2], tt[2].."^[transformFX", tt[2], tt[1], tt[1].."^[transformFX"}, paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, is_ground_content = false, drop = "", drawtype = "nodebox", @@ -238,6 +240,7 @@ function mcl_doors:register_door(name, def) tiles = {tt[2].."^[transformFY", tt[2], tb[2].."^[transformFX", tb[2], tb[1].."^[transformFX", tb[1]}, paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, is_ground_content = false, drop = name, drawtype = "nodebox", @@ -276,6 +279,7 @@ function mcl_doors:register_door(name, def) tiles = {tt[2].."^[transformFY", tt[2], tt[2].."^[transformFX", tt[2], tt[1].."^[transformFX", tt[1]}, paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, is_ground_content = false, drop = "", drawtype = "nodebox", @@ -533,6 +537,7 @@ function mcl_doors:register_trapdoor(name, def) paramtype = "light", stack_max = 64, paramtype2 = "facedir", + sunlight_propagates = true, groups = def.groups, _mcl_hardness = def._mcl_hardness, sounds = def.sounds, @@ -560,6 +565,7 @@ function mcl_doors:register_trapdoor(name, def) is_ground_content = false, paramtype = "light", paramtype2 = "facedir", + sunlight_propagates = true, pointable = true, groups = def.groups, _mcl_hardness = def._mcl_hardness,