From 2b5664c0004b2f4ed8c712b8b6f75d9d3294c829 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 26 Feb 2017 11:11:19 -0500 Subject: updated lots of mods: blox, bobblocks, homedecor, coloredwood, gloopblocks, moreblocks, plasticbox, replacer, solidcolor, stained_glass, technic, unifiedbricks, and unifieddyes (in most of these, it's to upgrade to the Unified Dyes "extended" palette) --- homedecor/doors_and_gates.lua | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'homedecor/doors_and_gates.lua') diff --git a/homedecor/doors_and_gates.lua b/homedecor/doors_and_gates.lua index 81d8583..f29ea24 100644 --- a/homedecor/doors_and_gates.lua +++ b/homedecor/doors_and_gates.lua @@ -293,10 +293,12 @@ end -- Gates local gate_list = { - { "picket", S("Unpainted Picket Fence Gate") }, - { "picket_white", S("White Picket Fence Gate") }, - { "barbed_wire", S("Barbed Wire Fence Gate") }, - { "chainlink", S("Chainlink Fence Gate") }, + { "picket", S("Unpainted Picket Fence Gate") }, + { "picket_white", S("White Picket Fence Gate") }, + { "barbed_wire", S("Barbed Wire Fence Gate") }, + { "chainlink", S("Chainlink Fence Gate") }, + { "half_door", S("\"Half\" Door") }, + { "half_door_white", S("\"Half\" Door (white)") } } local gate_models_closed = { @@ -315,7 +317,12 @@ local gate_models_closed = { { -8/16, 7/16, 13/32, 8/16, 8/16, 15/32 }, -- top piece { -8/16, -8/16, 13/32, 8/16, -7/16, 15/32 }, -- bottom piece { -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }, -- the chainlink itself - { -8/16, -3/16, 6/16, -6/16, 3/16, 8/16 }} -- the lump representing the lock + { -8/16, -3/16, 6/16, -6/16, 3/16, 8/16 }}, -- the lump representing the lock + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}, -- the whole door :P + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}, -- the whole door :P + } local gate_models_open = { @@ -334,7 +341,11 @@ local gate_models_open = { { 13/32, 7/16, -8/16, 15/32, 8/16, 8/16 }, -- top piece { 13/32, -8/16, -8/16, 15/32, -7/16, 8/16 }, -- bottom piece { 7/16, -8/16, -8/16, 7/16, 8/16, 8/16 }, -- the chainlink itself - { 6/16, -3/16, -8/16, 8/16, 3/16, -6/16 }} -- the lump representing the lock + { 6/16, -3/16, -8/16, 8/16, 3/16, -6/16 }}, -- the lump representing the lock + + {{ 6/16, -8/16, -8/16, 8/16, 8/16, 8/16 }}, -- the whole door :P + + {{ 6/16, -8/16, -8/16, 8/16, 8/16, 8/16 }}, -- the whole door :P } for i, g in ipairs(gate_list) do @@ -409,8 +420,8 @@ for i, g in ipairs(gate_list) do def.selection_box.fixed = { 0.4, -0.5, -0.5, 0.5, 0.5, 0.5 } def.node_box.fixed = gate_models_open[i] def.tiles = { - tiles[1], - tiles[2], + tiles[1].."^[transformR90", + tiles[2].."^[transformR270", tiles[6], tiles[5], tiles[4], -- cgit v1.2.3