1
0
forked from MTSR/moreblocks

homedecor errors, aliasing error suppress, block sound error

This commit is contained in:
Evgeniy 2025-02-04 05:51:13 +03:00
parent 76f022ec5c
commit 8e08e4be26

View File

@ -12,7 +12,8 @@ local sound_wood = moreblocks.node_sound_wood_defaults()
local sound_stone = moreblocks.node_sound_stone_defaults()
local sound_glass = moreblocks.node_sound_glass_defaults()
local sound_leaves = moreblocks.node_sound_leaves_defaults()
local sound_gravel = default.node_sound_gravel_defaults()
local sound_sand = default.node_sound_sand_defaults()
-- Don't break on 0.4.14 and earlier.
local sound_metal = (moreblocks.node_sound_metal_defaults
and moreblocks.node_sound_metal_defaults() or sound_stone)
@ -39,7 +40,6 @@ end
local deprecated = (" ("..S('Deprecated')..")")
-- start gravel add part 1
local sound_gravel = default.node_sound_gravel_defaults()
local box_slope = {
type = "fixed",
@ -939,6 +939,8 @@ local nodes = {
}
for name, def in pairs(nodes) do
if name ~= "tar" and core.get_modpath("building_blocks") then
--homedecor errors, aliasing error suppress
def.is_ground_content = def.is_ground_content == true
def.tiles = def.tiles or {"moreblocks_" ..name.. ".png"}
minetest.register_node("moreblocks:" ..name, def)
@ -971,6 +973,7 @@ for name, def in pairs(nodes) do
})
end
end
end
-- Items