Remove falling nodes

This commit is contained in:
rubenwardy 2017-10-12 16:42:19 +01:00
parent d1f21b62db
commit 5c69ac553d
2 changed files with 7 additions and 7 deletions

View file

@ -7,12 +7,12 @@ function default.register_falling_node(nodename, texture)
minetest.log("error", debug.traceback())
minetest.log('error', "WARNING: default.register_falling_node is deprecated")
if minetest.registered_nodes[nodename] then
minetest.registered_nodes[nodename].groups.falling_node = 1
-- minetest.registered_nodes[nodename].groups.falling_node = 1
end
end
function default.spawn_falling_node(p, nodename)
spawn_falling_node(p, nodename)
-- spawn_falling_node(p, nodename)
end
-- Liquids

View file

@ -465,21 +465,21 @@ minetest.register_node("default:dirt_with_rainforest_litter", {
minetest.register_node("default:sand", {
description = "Sand",
tiles = {"default_sand.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1},
groups = {crumbly = 3, sand = 1},
sounds = default.node_sound_sand_defaults(),
})
minetest.register_node("default:desert_sand", {
description = "Desert Sand",
tiles = {"default_desert_sand.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1},
groups = {crumbly = 3, sand = 1},
sounds = default.node_sound_sand_defaults(),
})
minetest.register_node("default:silver_sand", {
description = "Silver Sand",
tiles = {"default_silver_sand.png"},
groups = {crumbly = 3, falling_node = 1, sand = 1},
groups = {crumbly = 3, sand = 1},
sounds = default.node_sound_sand_defaults(),
})
@ -487,7 +487,7 @@ minetest.register_node("default:silver_sand", {
minetest.register_node("default:gravel", {
description = "Gravel",
tiles = {"default_gravel.png"},
groups = {crumbly = 2, falling_node = 1},
groups = {crumbly = 2},
sounds = default.node_sound_gravel_defaults(),
drop = {
max_items = 1,
@ -522,7 +522,7 @@ minetest.register_node("default:snow", {
{-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({
footstep = {name = "default_snow_footstep", gain = 0.15},
dug = {name = "default_snow_footstep", gain = 0.2},