Skip to content
Permalink
Browse files

Add the soil group

  • Loading branch information
PilzAdam committed May 20, 2013
1 parent ea6d504 commit d015f0e2e6d8bfedf0302667d6affbcc24db338d
Showing with 3 additions and 3 deletions.
  1. +3 −3 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(),
})

0 comments on commit d015f0e

Please sign in to comment.