1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-24 08:00:16 +02:00

replace the rest of the hard coded texture conversions to use homedecor.textures

This commit is contained in:
wsor4035
2024-03-03 14:48:55 -05:00
parent f432c53117
commit 13e562986a
6 changed files with 12 additions and 24 deletions

View File

@ -288,8 +288,7 @@ homedecor.register("swing_rope", {
selection_box = homedecor.nodebox.null
})
local water_tex = "default_water.png"
if not minetest.get_modpath("default") then water_tex = "[combine:16x16^[noalpha^[colorize:#00008b" end
local water_tex = homedecor.textures.water.tile
local cobble_tex = minetest.registered_nodes["mapgen_stone"].tiles[1]
local stone_drop = minetest.registered_nodes["mapgen_stone"].drop
if stone_drop and type(stone_drop) == "string" then