mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Add mud sounds
This commit is contained in:
parent
cbe0f80d68
commit
c26a9aded5
4 changed files with 9 additions and 2 deletions
|
@ -6,6 +6,11 @@ minetest.register_node("mcl_mud:mud", {
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
tiles = {"mcl_mud.png"},
|
tiles = {"mcl_mud.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
|
sounds = {
|
||||||
|
footstep = {name="mud_footsteps", gain=1},
|
||||||
|
dug = {name="mud_place_dug", gain=1},
|
||||||
|
place = {name="mud_place_dug", gain=1},
|
||||||
|
},
|
||||||
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
|
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
|
||||||
_mcl_blast_resistance = 0.5,
|
_mcl_blast_resistance = 0.5,
|
||||||
_mcl_hardness = 0.5,
|
_mcl_hardness = 0.5,
|
||||||
|
@ -22,7 +27,8 @@ minetest.register_node("mcl_mud:packed_mud", {
|
||||||
_doc_items_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
|
_doc_items_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
tiles = {"mcl_mud_packed_mud.png"},
|
tiles = {"mcl_mud_packed_mud.png"},
|
||||||
groups = {handy=1, pickaxey=1, enderman_takable=1, building_block=1},
|
groups = {handy=1, pickaxey=1, building_block=1},
|
||||||
|
sounds = mcl_sounds.node_sound_dirt_defaults(),
|
||||||
_mcl_blast_resistance = 3,
|
_mcl_blast_resistance = 3,
|
||||||
_mcl_hardness = 1,
|
_mcl_hardness = 1,
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
name = mcl_mud
|
name = mcl_mud
|
||||||
author = TheRandomLegoBrick
|
author = TheRandomLegoBrick
|
||||||
description = Adds various mud blocks.
|
description = Adds various mud blocks.
|
||||||
|
depends = mcl_sounds
|
BIN
mods/ITEMS/mcl_mud/sounds/mud_footsteps.ogg
Normal file
BIN
mods/ITEMS/mcl_mud/sounds/mud_footsteps.ogg
Normal file
Binary file not shown.
BIN
mods/ITEMS/mcl_mud/sounds/mud_place_dug.ogg
Normal file
BIN
mods/ITEMS/mcl_mud/sounds/mud_place_dug.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue