From 0cb2c2eb8cabc02e1f05700f3c40d5a4d5e4c1ba Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 17 Jan 2017 02:08:41 +0100 Subject: [PATCH] Add wall sounds --- mods/wallet/init.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mods/wallet/init.lua b/mods/wallet/init.lua index 677560e150..24294044e6 100644 --- a/mods/wallet/init.lua +++ b/mods/wallet/init.lua @@ -111,12 +111,13 @@ local function register_wall(nodename, name, texture, invtex) is_ground_content = false, tiles = {texture}, paramtype = "light", - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,wall=1}, drop = nodename, node_box = { type = "fixed", fixed = take }, + sounds = default.node_sound_stone_defaults(), }) end @@ -129,12 +130,13 @@ local function register_wall(nodename, name, texture, invtex) tiles = {texture}, paramtype = "light", is_ground_content = false, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,wall=1}, drop = nodename, node_box = { type = "fixed", fixed = {pillar, full_blocks[1]} }, + sounds = default.node_sound_stone_defaults(), }) minetest.register_node(nodename.."_21", { @@ -146,12 +148,13 @@ local function register_wall(nodename, name, texture, invtex) tiles = {texture}, paramtype = "light", is_ground_content = false, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,fences=1}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,wall=1}, drop = nodename, node_box = { type = "fixed", fixed = {pillar, full_blocks[2]} }, + sounds = default.node_sound_stone_defaults(), }) -- Inventory item @@ -172,7 +175,8 @@ local function register_wall(nodename, name, texture, invtex) fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16} }, collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2}, - on_construct = update_wall + on_construct = update_wall, + sounds = default.node_sound_stone_defaults(), }) end