diff --git a/mods/doors/README.txt b/mods/doors/README.txt index c83720ce..27f0507a 100644 --- a/mods/doors/README.txt +++ b/mods/doors/README.txt @@ -28,7 +28,6 @@ following Textures created by BlockMen (WTFPL): door_obsidian_glass_side.png following textures created by celeron55 (CC BY-SA 3.0): - door_trapdoor_side.png door_glass_a.png door_glass_b.png @@ -36,9 +35,10 @@ following Textures created by PenguinDad (CC BY-SA 4.0): door_glass.png door_obsidian_glass.png -Steel trapdoor textures by sofar (CC-BY-SA-3.0) +following textures created by sofar (CC-BY-SA-3.0) doors_trapdoor_steel.png doors_trapdoor_steel_side.png + door_trapdoor_side.png All other textures (created by PilzAdam): WTFPL diff --git a/mods/doors/init.lua b/mods/doors/init.lua index c8b69c43..e942d466 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -474,25 +474,28 @@ function doors.register_trapdoor(name, def) def_closed.node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.4, 0.5} + fixed = {-0.5, -0.5, -0.5, 0.5, -6/16, 0.5} } def_closed.selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.4, 0.5} + fixed = {-0.5, -0.5, -0.5, 0.5, -6/16, 0.5} } def_closed.tiles = { def.tile_front, def.tile_front, def.tile_side, def.tile_side, def.tile_side, def.tile_side } def_opened.node_box = { type = "fixed", - fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} + fixed = {-0.5, -0.5, 6/16, 0.5, 0.5, 0.5} } def_opened.selection_box = { type = "fixed", - fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} + fixed = {-0.5, -0.5, 6/16, 0.5, 0.5, 0.5} } - def_opened.tiles = { def.tile_side, def.tile_side, def.tile_side, def.tile_side, - def.tile_front, def.tile_front } + def_opened.tiles = { def.tile_side, def.tile_side, + def.tile_side .. '^[transform3', + def.tile_side .. '^[transform1', + def.tile_front, def.tile_front } + def_opened.drop = name_closed def_opened.groups.not_in_creative_inventory = 1 diff --git a/mods/doors/textures/doors_trapdoor_side.png b/mods/doors/textures/doors_trapdoor_side.png index c8605230..c45d870d 100644 Binary files a/mods/doors/textures/doors_trapdoor_side.png and b/mods/doors/textures/doors_trapdoor_side.png differ