mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-14 20:00:17 +02:00
reduced textures in lrfurn mod and added a full color range to lrfurn and beds
This commit is contained in:
@ -1,14 +1,4 @@
|
||||
local sofas_list = {
|
||||
{ "Red Sofa", "red"},
|
||||
{ "Orange Sofa", "orange"},
|
||||
{ "Yellow Sofa", "yellow"},
|
||||
{ "Green Sofa", "green"},
|
||||
{ "Blue Sofa", "blue"},
|
||||
{ "Violet Sofa", "violet"},
|
||||
{ "Black Sofa", "black"},
|
||||
{ "Grey Sofa", "grey"},
|
||||
{ "White Sofa", "white"},
|
||||
}
|
||||
|
||||
|
||||
local sofa_sbox = {
|
||||
type = "fixed",
|
||||
@ -23,16 +13,16 @@ local sofa_cbox = {
|
||||
}
|
||||
}
|
||||
|
||||
for i in ipairs(sofas_list) do
|
||||
local sofadesc = sofas_list[i][1]
|
||||
local colour = sofas_list[i][2]
|
||||
for i in ipairs(lrfurn.colors) do
|
||||
local colour = lrfurn.colors[i][1]
|
||||
local hue = lrfurn.colors[i][2]
|
||||
|
||||
minetest.register_node("lrfurn:sofa_"..colour, {
|
||||
description = sofadesc,
|
||||
description = "Sofa ("..colour..")",
|
||||
drawtype = "mesh",
|
||||
mesh = "lrfurn_sofa_short.obj",
|
||||
tiles = {
|
||||
"lrfurn_sofa_"..colour..".png",
|
||||
"lrfurn_bg_white.png^[colorize:"..hue.."^lrfurn_sofa_overlay.png",
|
||||
"lrfurn_sofa_bottom.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
|
Reference in New Issue
Block a user