forked from MTSR/moreblocks
homedecor errors, aliasing error suppress, block sound error
This commit is contained in:
parent
76f022ec5c
commit
8e08e4be26
@ -12,7 +12,8 @@ local sound_wood = moreblocks.node_sound_wood_defaults()
|
|||||||
local sound_stone = moreblocks.node_sound_stone_defaults()
|
local sound_stone = moreblocks.node_sound_stone_defaults()
|
||||||
local sound_glass = moreblocks.node_sound_glass_defaults()
|
local sound_glass = moreblocks.node_sound_glass_defaults()
|
||||||
local sound_leaves = moreblocks.node_sound_leaves_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.
|
-- Don't break on 0.4.14 and earlier.
|
||||||
local sound_metal = (moreblocks.node_sound_metal_defaults
|
local sound_metal = (moreblocks.node_sound_metal_defaults
|
||||||
and moreblocks.node_sound_metal_defaults() or sound_stone)
|
and moreblocks.node_sound_metal_defaults() or sound_stone)
|
||||||
@ -39,7 +40,6 @@ end
|
|||||||
local deprecated = (" ("..S('Deprecated')..")")
|
local deprecated = (" ("..S('Deprecated')..")")
|
||||||
|
|
||||||
-- start gravel add part 1
|
-- start gravel add part 1
|
||||||
local sound_gravel = default.node_sound_gravel_defaults()
|
|
||||||
|
|
||||||
local box_slope = {
|
local box_slope = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -939,6 +939,8 @@ local nodes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for name, def in pairs(nodes) do
|
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.is_ground_content = def.is_ground_content == true
|
||||||
def.tiles = def.tiles or {"moreblocks_" ..name.. ".png"}
|
def.tiles = def.tiles or {"moreblocks_" ..name.. ".png"}
|
||||||
minetest.register_node("moreblocks:" ..name, def)
|
minetest.register_node("moreblocks:" ..name, def)
|
||||||
@ -970,6 +972,7 @@ for name, def in pairs(nodes) do
|
|||||||
sounds = def.sounds,
|
sounds = def.sounds,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Items
|
-- Items
|
||||||
|
Loading…
x
Reference in New Issue
Block a user