don't reference lrfurn chair colors in homedecor chair LBM

use a local copy instead
This commit is contained in:
Vanessa Ezekowitz 2017-03-11 21:20:54 -05:00
parent 763bcb2e95
commit 761b18c17e

View File

@ -162,7 +162,25 @@ minetest.register_alias('armchair', 'homedecor:armchair')
homedecor.old_static_chairs = {}
for _, color in ipairs(lrfurn.colors) do
local chair_colors = {
"black",
"brown",
"blue",
"cyan",
"dark_grey",
"dark_green",
"green",
"grey",
"magenta",
"orange",
"pink",
"red",
"violet",
"white",
"yellow",
}
for _, color in ipairs(chair_colors) do
table.insert(homedecor.old_static_chairs, "homedecor:chair_"..color)
table.insert(homedecor.old_static_chairs, "homedecor:armchair_"..color)
end