Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change many metal nodes to use default metal sounds
  • Loading branch information
sofar authored and paramat committed Oct 25, 2016
1 parent fa9a345 commit fbac9be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions mods/default/nodes.lua
Expand Up @@ -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(),
})


Expand All @@ -973,15 +973,15 @@ 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", {
description = "Bronze Block",
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(),
})


Expand Down Expand Up @@ -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(),
})


Expand Down Expand Up @@ -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}
})

Expand Down Expand Up @@ -1895,7 +1895,7 @@ minetest.register_node("default:ladder_steel", {
--wall_side = = <default>
},
groups = {cracky = 2},
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_metal_defaults(),
})

default.register_fence("default:fence_wood", {
Expand Down
4 changes: 2 additions & 2 deletions mods/doors/init.lua
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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},
Expand Down
8 changes: 4 additions & 4 deletions mods/stairs/init.lua
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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()
)
2 changes: 1 addition & 1 deletion mods/xpanes/init.lua
Expand Up @@ -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"}
Expand Down

0 comments on commit fbac9be

Please sign in to comment.