1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-20 22:30:23 +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

@ -11,12 +11,8 @@ local S = minetest.get_translator("homedecor_misc")
homedecor_misc = {}
local wool_black, wool_grey, wood_tex = "wool_black.png", "wool_grey.png", "default_wood.png"
if not minetest.get_modpath("wool") then
wool_black = "[combine:16x16^[noalpha^[colorize:#000000"
wool_grey = "[combine:16x16^[noalpha^[colorize:#313b3c"
end
if not minetest.get_modpath("default") then wood_tex = "[combine:16x16^[noalpha^[colorize:#654321" end
local wool_black, wool_grey = homedecor.textures.wool_black, homedecor.textures.wool_grey
local wood_tex = homedecor.textures.default_wood
homedecor.register("ceiling_paint", {
description = S("Textured Ceiling Paint"),