Skip to content

Commit

Permalink
Add the soil group
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed May 20, 2013
1 parent ea6d504 commit d015f0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mods/default/nodes.lua
Expand Up @@ -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},
Expand All @@ -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},
Expand All @@ -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(),
})

Expand Down

0 comments on commit d015f0e

Please sign in to comment.