diff --git a/mods/ITEMS/mcl_doors/api_doors.lua b/mods/ITEMS/mcl_doors/api_doors.lua index e6eef4e0d..a6e428c88 100644 --- a/mods/ITEMS/mcl_doors/api_doors.lua +++ b/mods/ITEMS/mcl_doors/api_doors.lua @@ -278,7 +278,7 @@ function mcl_doors:register_door(name, def) end minetest.register_node(name.."_b_1", { - tiles = {"blank.png", tt[2].."^[transformFXR90", tb[2], tb[2].."^[transformFX", tb[1], tb[1].."^[transformFX"}, + tiles = {"blank.png", tb.."^[transformFY", tb, tb.."^[transformFX", tb.."^[transformFX", tb}, use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true, paramtype = "light", paramtype2 = "facedir", @@ -350,7 +350,7 @@ function mcl_doors:register_door(name, def) end minetest.register_node(name.."_t_1", { - tiles = {tt[2].."^[transformR90", "blank.png", tt[2], tt[2].."^[transformFX", tt[1], tt[1].."^[transformFX"}, + tiles = {tt.."^[transformFY", "blank.png", tt, tt.."^[transformFX", tt.."^[transformFX", tt}, use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true, paramtype = "light", paramtype2 = "facedir", @@ -421,8 +421,10 @@ function mcl_doors:register_door(name, def) end end + -- NOTE: Figure out a way to blit the bottom 3 pixels of the bottom door texture to the top of the texture via texture modifiers only. + minetest.register_node(name.."_b_2", { - tiles = {"blank.png", tt[2].."^[transformFXR90", tb[2].."^[transformI", tb[2].."^[transformFX", tb[1].."^[transformFX", tb[1]}, + tiles = {"blank.png", tb.."^[transformR180", tb, tb.."^[transformFX", tb, tb.."^[transformFX"}, use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true, paramtype = "light", paramtype2 = "facedir", @@ -493,8 +495,10 @@ function mcl_doors:register_door(name, def) end end + -- NOTE: Figure out a way to blit the top 3 pixels of the top door texture to the bottom of the texture via texture modifiers only. + minetest.register_node(name.."_t_2", { - tiles = {tt[2].."^[transformR90", "blank.png", tt[2].."^[transformI", tt[2].."^[transformFX", tt[1].."^[transformFX", tt[1]}, + tiles = {tt.."^[transformR180", "blank.png", tt, tt.."^[transformFX", tt, tt.."^[transformFX"}, use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true, paramtype = "light", paramtype2 = "facedir",