Add the soil group
authorPilzAdam <pilzadam@minetest.net>
Mon, 20 May 2013 12:38:51 +0000 (14:38 +0200)
committerPilzAdam <pilzadam@minetest.net>
Mon, 20 May 2013 12:38:51 +0000 (14:38 +0200)
mods/default/nodes.lua

index f0e8f2da26d644bf61359f36d51e310659d345c3..26e02ed5f733ebed9a79c98d3dbfc941a1802ff8 100644 (file)
@@ -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(),
 })