mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-18 16:10:39 +01:00
328 lines
11 KiB
Lua
328 lines
11 KiB
Lua
|
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
|
local S
|
|
if (minetest.get_modpath("intllib")) then
|
|
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
|
S = intllib.Getter(minetest.get_current_modname())
|
|
else
|
|
S = function ( s ) return s end
|
|
end
|
|
|
|
homedecor_door_models = {
|
|
{
|
|
"closet_mahogany",
|
|
S("Mahogany Closet Door"),
|
|
|
|
{{ -8/16, 5/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0/32, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -12/32, 13/32, 8/16, -11/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -13/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16},
|
|
{ -8/16, 10/32, 13/32, 8/16, 11/32, 15/32 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -11/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 5/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0/32, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -12/32, 13/32, 8/16, -11/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -13/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16},
|
|
{ -8/16, 10/32, 13/32, 8/16, 11/32, 15/32 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -11/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"closet_oak",
|
|
S("Oak Closet Door"),
|
|
|
|
{{ -8/16, 5/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0/32, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -12/32, 13/32, 8/16, -11/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -13/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16},
|
|
{ -8/16, 10/32, 13/32, 8/16, 11/32, 15/32 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -11/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 5/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0/32, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -12/32, 13/32, 8/16, -11/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -13/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16},
|
|
{ -8/16, 10/32, 13/32, 8/16, 11/32, 15/32 },
|
|
{ -8/16, 8/32, 13/32, 8/16, 9/32, 15/32 },
|
|
{ -8/16, 6/32, 13/32, 8/16, 7/32, 15/32 },
|
|
{ -8/16, 4/32, 13/32, 8/16, 5/32, 15/32 },
|
|
{ -8/16, 2/32, 13/32, 8/16, 3/32, 15/32 },
|
|
{ -8/16, 0, 13/32, 8/16, 1/32, 15/32 },
|
|
{ -8/16, -2/32, 13/32, 8/16, -1/32, 15/32 },
|
|
{ -8/16, -4/32, 13/32, 8/16, -3/32, 15/32 },
|
|
{ -8/16, -6/32, 13/32, 8/16, -5/32, 15/32 },
|
|
{ -8/16, -8/32, 13/32, 8/16, -7/32, 15/32 },
|
|
{ -8/16, -10/32, 13/32, 8/16, -9/32, 15/32 },
|
|
{ -8/16, -16/32, 6/16, 8/16, -11/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"exterior_fancy",
|
|
S("Fancy Wood/Glass Door"),
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"glass",
|
|
S("Glass Office Door"),
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"wood_glass",
|
|
S("Glass and Wood, Oak-colored"),
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"wood_glass_mahogany",
|
|
S("Glass and Wood, Mahogany-colored"),
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"wood_glass_white",
|
|
S("Glass and Wood, White"),
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -3/32, 6/16, 8/16, 1/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -7/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }},
|
|
|
|
{{ -8/16, 7/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -1/32, 6/16, 8/16, 3/32, 8/16 },
|
|
{ -8/16, -8/16, 6/16, 8/16, -6/16, 8/16 },
|
|
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 },
|
|
{ -1/16, -8/16, 6/16, 1/16, 8/16, 8/16 },
|
|
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 },
|
|
{ -8/16, -8/16, 7/16, 8/16, 8/16, 7/16 }}
|
|
},
|
|
|
|
----------
|
|
|
|
{
|
|
"wood_plain",
|
|
S("Plain Wooden Door"),
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }},
|
|
|
|
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}
|
|
},
|
|
|
|
}
|
|
|