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

@ -5,8 +5,7 @@ local ob_cbox = {
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
}
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
homedecor.register("openframe_bookshelf", {
description = S("Bookshelf (open-frame)"),