diff --git a/mods/ITEMS/mcl_cartography_table/init.lua b/mods/ITEMS/mcl_cartography_table/init.lua index f23be9d79..dca9493ee 100644 --- a/mods/ITEMS/mcl_cartography_table/init.lua +++ b/mods/ITEMS/mcl_cartography_table/init.lua @@ -12,6 +12,7 @@ minetest.register_node("mcl_cartography_table:cartography_table", { }, paramtype2 = "facedir", groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, + sounds = mcl_sounds.node_sound_wood_defaults(), _mcl_blast_resistance = 2.5, _mcl_hardness = 2.5 }) diff --git a/mods/ITEMS/mcl_cartography_table/mod.conf b/mods/ITEMS/mcl_cartography_table/mod.conf index ebea16197..0a80c0111 100644 --- a/mods/ITEMS/mcl_cartography_table/mod.conf +++ b/mods/ITEMS/mcl_cartography_table/mod.conf @@ -1,3 +1,4 @@ name = mcl_cartography_table author = PrairieWind +depends = mcl_core, mcl_sounds, mcl_tools description = Adds the cartography table villager workstation to MineClone 2/5. Used to copy and create maps. \ No newline at end of file diff --git a/mods/ITEMS/mcl_fletching_table/init.lua b/mods/ITEMS/mcl_fletching_table/init.lua index 686a1dc2c..7cb66f8b1 100644 --- a/mods/ITEMS/mcl_fletching_table/init.lua +++ b/mods/ITEMS/mcl_fletching_table/init.lua @@ -11,6 +11,7 @@ minetest.register_node("mcl_fletching_table:fletching_table", { }, paramtype2 = "facedir", groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, + sounds = mcl_sounds.node_sound_wood_defaults(), _mcl_blast_resistance = 2.5, _mcl_hardness = 2.5 }) diff --git a/mods/ITEMS/mcl_fletching_table/mod.conf b/mods/ITEMS/mcl_fletching_table/mod.conf index 5a4e9a900..8b2a8ab5c 100644 --- a/mods/ITEMS/mcl_fletching_table/mod.conf +++ b/mods/ITEMS/mcl_fletching_table/mod.conf @@ -1,3 +1,4 @@ name = mcl_fletching_table author = PrairieWind +depends = mcl_core, mcl_sounds, mcl_tools description = Adds the fletching table villager workstation to MineClone 2/5. diff --git a/mods/ITEMS/mcl_lectern/init.lua b/mods/ITEMS/mcl_lectern/init.lua index 94f86c830..e6b7e3db8 100644 --- a/mods/ITEMS/mcl_lectern/init.lua +++ b/mods/ITEMS/mcl_lectern/init.lua @@ -96,6 +96,15 @@ local lectern_def = { local lectern_node = ItemStack(itemstack) -- Place the node! local _, success = minetest.item_place_node(lectern_node, placer, pointed_thing, fdir) + + -- Add placement sound. + local idef = lectern_node:get_definition() + if success then + if idef.sounds and idef.sounds.place then + minetest.sound_play(idef.sounds.place, {pos=above, gain=1}, true) + end + end + if not success then return itemstack end diff --git a/mods/ITEMS/mcl_loom/init.lua b/mods/ITEMS/mcl_loom/init.lua index 19be8d58b..5475980bd 100644 --- a/mods/ITEMS/mcl_loom/init.lua +++ b/mods/ITEMS/mcl_loom/init.lua @@ -12,6 +12,7 @@ minetest.register_node("mcl_loom:loom", { }, paramtype2 = "facedir", groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, + sounds = mcl_sounds.node_sound_wood_defaults(), _mcl_blast_resistance = 2.5, _mcl_hardness = 2.5 }) diff --git a/mods/ITEMS/mcl_loom/mod.conf b/mods/ITEMS/mcl_loom/mod.conf index 9ebb10ff3..e316b201a 100644 --- a/mods/ITEMS/mcl_loom/mod.conf +++ b/mods/ITEMS/mcl_loom/mod.conf @@ -1,3 +1,4 @@ name = mcl_loom author = PrairieWind +depends = mcl_core, mcl_sounds, mcl_tools description = Adds the loom villager workstation to MineClone 2/5. Used to add patterns to banners. \ No newline at end of file