Add rail sounds

Wuzzy 2017-02-08 01:22:38 +01:00
parent 307832e101
commit 03351895f3
2 changed files with 2 additions and 1 deletions

@ -1071,6 +1071,7 @@ minetest.register_node("mcl_core:rail", {
}, },
stack_max = 64, stack_max = 64,
groups = {cracky=3,oddly_breakable_by_hand=3,attached_node=1,rail=1,connect_to_raillike=1,dig_by_water=1,transport=1}, groups = {cracky=3,oddly_breakable_by_hand=3,attached_node=1,rail=1,connect_to_raillike=1,dig_by_water=1,transport=1},
sounds = mcl_core.node_sound_defaults(),
}) })
minetest.register_node("mcl_core:ladder", { minetest.register_node("mcl_core:ladder", {

@ -21,7 +21,7 @@ minetest.register_node("mcl_minecarts:golden_rail", {
minetest.get_meta(pos):set_string("cart_acceleration", "0.5") minetest.get_meta(pos):set_string("cart_acceleration", "0.5")
end end
end, end,
sounds = mcl_core.node_sound_defaults(),
mesecons = { mesecons = {
effector = { effector = {
action_on = function(pos, node) action_on = function(pos, node)