1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-23 23:50:18 +02:00

add texture table

This commit is contained in:
unknown
2022-05-01 15:24:10 -04:00
parent 78a5c5747c
commit 6370ebe1c8
13 changed files with 48 additions and 50 deletions

View File

@ -145,8 +145,7 @@ homedecor.register("dishwasher_"..m, {
})
end
local wood_tex = "default_wood.png"
if not minetest.get_modpath("default") then wood_tex = "[combine:16x16^[noalpha^[colorize:#654321" end
local wood_tex = homedecor.textures.default_wood
local cabinet_sides = "("..wood_tex.."^[transformR90)^homedecor_kitchen_cabinet_bevel.png"
local cabinet_sides_colored = "(homedecor_generic_wood_plain.png^[transformR90)^homedecor_kitchen_cabinet_bevel.png"