diff options
-rw-r--r-- | advtrains/misc_nodes.lua | 8 | ||||
-rw-r--r-- | advtrains_interlocking/demosignals.lua | 3 | ||||
-rwxr-xr-x | advtrains_signals_ks/init.lua | 4 |
3 files changed, 4 insertions, 11 deletions
diff --git a/advtrains/misc_nodes.lua b/advtrains/misc_nodes.lua index fe484ac..bcf7329 100644 --- a/advtrains/misc_nodes.lua +++ b/advtrains/misc_nodes.lua @@ -16,7 +16,7 @@ function advtrains.register_platform(modprefix, preset) description = attrans("@1 Platform (low)", desc), tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex}, groups = {cracky = 1, not_blocking_trains = 1, platform=1}, - sounds = default.node_sound_stone_defaults(), + sounds = ndef.sounds, drawtype = "nodebox", node_box = { type = "fixed", @@ -33,7 +33,7 @@ function advtrains.register_platform(modprefix, preset) description = attrans("@1 Platform (high)", desc), tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex}, groups = {cracky = 1, not_blocking_trains = 1, platform=2}, - sounds = default.node_sound_stone_defaults(), + sounds = ndef.sounds, drawtype = "nodebox", node_box = { type = "fixed", @@ -58,7 +58,7 @@ function advtrains.register_platform(modprefix, preset) minetest.register_node(modprefix..":platform_45_"..nodename, { description = attrans("@1 Platform (45 degree)", desc), groups = {cracky = 1, not_blocking_trains = 1, platform=2}, - sounds = default.node_sound_stone_defaults(), + sounds = ndef.sounds, drawtype = "mesh", mesh = "advtrains_platform_diag.b3d", selection_box = diagonalbox, @@ -80,7 +80,7 @@ function advtrains.register_platform(modprefix, preset) minetest.register_node(modprefix..":platform_45_low_"..nodename, { description = attrans("@1 Platform (low, 45 degree)", desc), groups = {cracky = 1, not_blocking_trains = 1, platform=2}, - sounds = default.node_sound_stone_defaults(), + sounds = ndef.sounds, drawtype = "mesh", mesh = "advtrains_platform_diag_low.b3d", selection_box = diagonalbox_low, diff --git a/advtrains_interlocking/demosignals.lua b/advtrains_interlocking/demosignals.lua index cba1f30..1c1b8b2 100644 --- a/advtrains_interlocking/demosignals.lua +++ b/advtrains_interlocking/demosignals.lua @@ -41,7 +41,6 @@ minetest.register_node("advtrains_interlocking:ds_danger", { advtrains_signal = 2, save_in_at_nodedb = 1, }, - sounds = default.node_sound_stone_defaults(), advtrains = { set_aspect = setaspect, supported_aspects = suppasp, @@ -61,7 +60,6 @@ minetest.register_node("advtrains_interlocking:ds_free", { advtrains_signal = 2, save_in_at_nodedb = 1, }, - sounds = default.node_sound_stone_defaults(), advtrains = { set_aspect = setaspect, supported_aspects = suppasp, @@ -83,7 +81,6 @@ minetest.register_node("advtrains_interlocking:ds_slow", { advtrains_signal = 2, save_in_at_nodedb = 1, }, - sounds = default.node_sound_stone_defaults(), advtrains = { set_aspect = setaspect, supported_aspects = suppasp, diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index 3209cb1..b05506e 100755 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -105,7 +105,6 @@ for _, rtab in ipairs({ }, drop = "advtrains_signals_ks:hs_danger_0", inventory_image = "advtrains_signals_ks_hs_inv.png", - sounds = default.node_sound_stone_defaults(), advtrains = { set_aspect = setaspectf(rot), supported_aspects = suppasp, @@ -151,7 +150,6 @@ for _, rtab in ipairs({ }, drop = "advtrains_signals_ks:ra_danger_0", inventory_image = "advtrains_signals_ks_ra_inv.png", - sounds = default.node_sound_stone_defaults(), advtrains = { set_aspect = setaspectf_ra(rot), supported_aspects = suppasp_ra, @@ -203,7 +201,6 @@ for _, rtab in ipairs({ }, drop = "advtrains_signals_ks:sign_8_0", inventory_image = "advtrains_signals_ks_sign_8.png", - sounds = default.node_sound_stone_defaults(), advtrains = { -- This is a static signal! No set_aspect get_aspect = function(pos, node) @@ -239,7 +236,6 @@ for _, rtab in ipairs({ not_in_creative_inventory = (rtab.ici) and 0 or 1, }, drop = "advtrains_signals_ks:mast_mast_0", - sounds = default.node_sound_stone_defaults(), }) advtrains.trackplacer.add_worked("advtrains_signals_ks:mast","mast", "_"..rot) end |