Doors: Fix orientations of trapdoor textures

This commit is contained in:
Thomas--S 2016-07-18 07:14:01 +02:00 committed by paramat
parent 79dbafc13b
commit 72f4c6be48

View File

@ -603,8 +603,10 @@ function doors.register_trapdoor(name, def)
type = "fixed",
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_closed.tiles = {def.tile_front,
def.tile_front .. '^[transformFY',
def.tile_side, def.tile_side,
def.tile_side, def.tile_side}
def_opened.node_box = {
type = "fixed",
@ -617,7 +619,8 @@ function doors.register_trapdoor(name, def)
def_opened.tiles = {def.tile_side, def.tile_side,
def.tile_side .. '^[transform3',
def.tile_side .. '^[transform1',
def.tile_front, def.tile_front}
def.tile_front .. '^[transform46',
def.tile_front .. '^[transform6'}
def_opened.drop = name_closed
def_opened.groups.not_in_creative_inventory = 1