Remove falling nodes
This commit is contained in:
parent
d1f21b62db
commit
5c69ac553d
2 changed files with 7 additions and 7 deletions
|
@ -7,12 +7,12 @@ function default.register_falling_node(nodename, texture)
|
||||||
minetest.log("error", debug.traceback())
|
minetest.log("error", debug.traceback())
|
||||||
minetest.log('error', "WARNING: default.register_falling_node is deprecated")
|
minetest.log('error', "WARNING: default.register_falling_node is deprecated")
|
||||||
if minetest.registered_nodes[nodename] then
|
if minetest.registered_nodes[nodename] then
|
||||||
minetest.registered_nodes[nodename].groups.falling_node = 1
|
-- minetest.registered_nodes[nodename].groups.falling_node = 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function default.spawn_falling_node(p, nodename)
|
function default.spawn_falling_node(p, nodename)
|
||||||
spawn_falling_node(p, nodename)
|
-- spawn_falling_node(p, nodename)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Liquids
|
-- Liquids
|
||||||
|
|
|
@ -465,21 +465,21 @@ minetest.register_node("default:dirt_with_rainforest_litter", {
|
||||||
minetest.register_node("default:sand", {
|
minetest.register_node("default:sand", {
|
||||||
description = "Sand",
|
description = "Sand",
|
||||||
tiles = {"default_sand.png"},
|
tiles = {"default_sand.png"},
|
||||||
groups = {crumbly = 3, falling_node = 1, sand = 1},
|
groups = {crumbly = 3, sand = 1},
|
||||||
sounds = default.node_sound_sand_defaults(),
|
sounds = default.node_sound_sand_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:desert_sand", {
|
minetest.register_node("default:desert_sand", {
|
||||||
description = "Desert Sand",
|
description = "Desert Sand",
|
||||||
tiles = {"default_desert_sand.png"},
|
tiles = {"default_desert_sand.png"},
|
||||||
groups = {crumbly = 3, falling_node = 1, sand = 1},
|
groups = {crumbly = 3, sand = 1},
|
||||||
sounds = default.node_sound_sand_defaults(),
|
sounds = default.node_sound_sand_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:silver_sand", {
|
minetest.register_node("default:silver_sand", {
|
||||||
description = "Silver Sand",
|
description = "Silver Sand",
|
||||||
tiles = {"default_silver_sand.png"},
|
tiles = {"default_silver_sand.png"},
|
||||||
groups = {crumbly = 3, falling_node = 1, sand = 1},
|
groups = {crumbly = 3, sand = 1},
|
||||||
sounds = default.node_sound_sand_defaults(),
|
sounds = default.node_sound_sand_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -487,7 +487,7 @@ minetest.register_node("default:silver_sand", {
|
||||||
minetest.register_node("default:gravel", {
|
minetest.register_node("default:gravel", {
|
||||||
description = "Gravel",
|
description = "Gravel",
|
||||||
tiles = {"default_gravel.png"},
|
tiles = {"default_gravel.png"},
|
||||||
groups = {crumbly = 2, falling_node = 1},
|
groups = {crumbly = 2},
|
||||||
sounds = default.node_sound_gravel_defaults(),
|
sounds = default.node_sound_gravel_defaults(),
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
|
@ -522,7 +522,7 @@ minetest.register_node("default:snow", {
|
||||||
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
|
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3, falling_node = 1, puts_out_fire = 1, snowy = 1},
|
groups = {crumbly = 3, puts_out_fire = 1, snowy = 1},
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_dirt_defaults({
|
||||||
footstep = {name = "default_snow_footstep", gain = 0.15},
|
footstep = {name = "default_snow_footstep", gain = 0.15},
|
||||||
dug = {name = "default_snow_footstep", gain = 0.2},
|
dug = {name = "default_snow_footstep", gain = 0.2},
|
||||||
|
|
Loading…
Reference in a new issue