groups = {dig_immediate=2},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
+ dug = {name="default_gravel_footstep", gain=1.0},
}),
can_dig = function(pos, player)
table = table or {}
table.footstep = table.footstep or
{name="default_hard_footstep", gain=0.5}
+ table.dug = table.dug or
+ {name="default_hard_footstep", gain=1.0}
default.node_sound_defaults(table)
return table
end
table = table or {}
table.footstep = table.footstep or
{name="default_dirt_footstep", gain=1.0}
+ table.dug = table.dug or
+ {name="default_dirt_footstep", gain=1.5}
table.place = table.place or
{name="default_place_node", gain=1.0}
default.node_sound_defaults(table)
table.footstep = table.footstep or
{name="default_sand_footstep", gain=0.5}
table.dug = table.dug or
- {name="", gain=1.0}
+ {name="default_sand_footstep", gain=1.0}
table.place = table.place or
{name="default_place_node", gain=1.0}
default.node_sound_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name="default_wood_footstep", gain=0.5}
+ table.dug = table.dug or
+ {name="default_wood_footstep", gain=1.0}
default.node_sound_defaults(table)
return table
end
table = table or {}
table.footstep = table.footstep or
{name="default_grass_footstep", gain=0.35}
+ table.dug = table.dug or
+ {name="default_grass_footstep", gain=0.85}
table.dig = table.dig or
{name="default_dig_crumbly", gain=0.4}
- table.dug = table.dug or
- {name="", gain=1.0}
table.place = table.place or
{name="default_place_node", gain=1.0}
default.node_sound_defaults(table)
groups = {crumbly=2, falling_node=1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
+ dug = {name="default_gravel_footstep", gain=1.0},
}),
})
groups = {crumbly=3,falling_node=1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_snow_footstep", gain=0.25},
+ dug = {name="default_snow_footstep", gain=0.75},
}),
on_construct = function(pos)
pos.y = pos.y - 1
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_snow_footstep", gain=0.25},
+ dug = {name="default_snow_footstep", gain=0.75},
}),
})