From: PilzAdam Date: Mon, 20 May 2013 12:38:51 +0000 (+0200) Subject: Add the soil group X-Git-Tag: 0.4.7~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d015f0e2e6d8bfedf0302667d6affbcc24db338d;p=oweals%2Fminetest_game.git Add the soil group --- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index f0e8f2da..26e02ed5 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -92,7 +92,7 @@ minetest.register_node("default:dirt_with_grass", { description = "Dirt with Grass", tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, is_ground_content = true, - groups = {crumbly=3}, + groups = {crumbly=3,soil=1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ footstep = {name="default_grass_footstep", gain=0.4}, @@ -103,7 +103,7 @@ minetest.register_node("default:dirt_with_grass_footsteps", { description = "Dirt with Grass and Footsteps", tiles = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, is_ground_content = true, - groups = {crumbly=3, not_in_creative_inventory=1}, + groups = {crumbly=3,soil=1,not_in_creative_inventory=1}, drop = 'default:dirt', sounds = default.node_sound_dirt_defaults({ footstep = {name="default_grass_footstep", gain=0.4}, @@ -126,7 +126,7 @@ minetest.register_node("default:dirt", { description = "Dirt", tiles = {"default_dirt.png"}, is_ground_content = true, - groups = {crumbly=3}, + groups = {crumbly=3,soil=1}, sounds = default.node_sound_dirt_defaults(), })