From fbac9be51cb8acf23b9c1983d2f21dca87209306 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 19 Oct 2016 16:34:22 -0700 Subject: [PATCH] Change many metal nodes to use default metal sounds --- mods/default/nodes.lua | 12 ++++++------ mods/doors/init.lua | 4 ++-- mods/stairs/init.lua | 8 ++++---- mods/xpanes/init.lua | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index b575704..5c7b163 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -956,7 +956,7 @@ minetest.register_node("default:steelblock", { tiles = {"default_steel_block.png"}, is_ground_content = false, groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), }) @@ -973,7 +973,7 @@ minetest.register_node("default:copperblock", { tiles = {"default_copper_block.png"}, is_ground_content = false, groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), }) minetest.register_node("default:bronzeblock", { @@ -981,7 +981,7 @@ minetest.register_node("default:bronzeblock", { tiles = {"default_bronze_block.png"}, is_ground_content = false, groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), }) @@ -1016,7 +1016,7 @@ minetest.register_node("default:goldblock", { tiles = {"default_gold_block.png"}, is_ground_content = false, groups = {cracky = 1}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), }) @@ -1849,7 +1849,7 @@ register_sign("wood", "Wooden", { }) register_sign("steel", "Steel", { - sounds = default.node_sound_defaults(), + sounds = default.node_sound_metal_defaults(), groups = {cracky = 2, attached_node = 1} }) @@ -1895,7 +1895,7 @@ minetest.register_node("default:ladder_steel", { --wall_side = = }, groups = {cracky = 2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), }) default.register_fence("default:fence_wood", { diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 7a8006c..52564b0 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -422,7 +422,7 @@ doors.register("door_steel", { inventory_image = "doors_item_steel.png", protected = true, groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), sound_open = "doors_steel_door_open", sound_close = "doors_steel_door_close", recipe = { @@ -621,7 +621,7 @@ doors.register_trapdoor("doors:trapdoor_steel", { tile_front = "doors_trapdoor_steel.png", tile_side = "doors_trapdoor_steel_side.png", protected = true, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), sound_open = "doors_steel_door_open", sound_close = "doors_steel_door_close", groups = {cracky = 1, level = 2, door = 1}, diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index 132c0e6..6a43352 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -473,7 +473,7 @@ stairs.register_stair_and_slab( {"default_steel_block.png"}, "Steel Block Stair", "Steel Block Slab", - default.node_sound_stone_defaults() + default.node_sound_metal_defaults() ) stairs.register_stair_and_slab( @@ -483,7 +483,7 @@ stairs.register_stair_and_slab( {"default_copper_block.png"}, "Copper Block Stair", "Copper Block Slab", - default.node_sound_stone_defaults() + default.node_sound_metal_defaults() ) stairs.register_stair_and_slab( @@ -493,7 +493,7 @@ stairs.register_stair_and_slab( {"default_bronze_block.png"}, "Bronze Block Stair", "Bronze Block Slab", - default.node_sound_stone_defaults() + default.node_sound_metal_defaults() ) stairs.register_stair_and_slab( @@ -503,5 +503,5 @@ stairs.register_stair_and_slab( {"default_gold_block.png"}, "Gold Block Stair", "Gold Block Slab", - default.node_sound_stone_defaults() + default.node_sound_metal_defaults() ) diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index dc7428f..7137aee 100644 --- a/mods/xpanes/init.lua +++ b/mods/xpanes/init.lua @@ -164,7 +164,7 @@ xpanes.register_pane("bar", { inventory_image = "xpanes_bar.png", wield_image = "xpanes_bar.png", groups = {cracky=2}, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_metal_defaults(), recipe = { {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}