remove sounds

This commit is contained in:
Bruno Rybársky 2022-08-13 09:14:42 +02:00
parent ff32d01fd2
commit b56d2a8b06
5 changed files with 0 additions and 12 deletions

@ -46,7 +46,6 @@ minetest.register_node("digistuff:camera", {
if fields.distance and tonumber(fields.distance) then meta:set_int("distance",math.max(math.min(20,fields.distance),0)) end if fields.distance and tonumber(fields.distance) then meta:set_int("distance",math.max(math.min(20,fields.distance),0)) end
if fields.radius and tonumber(fields.radius) then meta:set_int("radius",math.max(math.min(10,fields.radius),1)) end if fields.radius and tonumber(fields.radius) then meta:set_int("radius",math.max(math.min(10,fields.radius),1)) end
end, end,
sounds = default and default.node_sound_stone_defaults()
}) })
minetest.register_abm({ minetest.register_abm({

@ -62,7 +62,6 @@ minetest.register_node("digistuff:digimese", {
light_source = 3, light_source = 3,
groups = {cracky = 3, level = 2}, groups = {cracky = 3, level = 2},
is_ground_content = false, is_ground_content = false,
sounds = default and default.node_sound_stone_defaults(),
digiline = { wire = { rules = { digiline = { wire = { rules = {
{x = 1, y = 0, z = 0}, {x = 1, y = 0, z = 0},
{x =-1, y = 0, z = 0}, {x =-1, y = 0, z = 0},
@ -86,7 +85,6 @@ minetest.register_node("digistuff:junctionbox", {
{-0.1,-0.15,0.35,0.1,0.15,0.5}, {-0.1,-0.15,0.35,0.1,0.15,0.5},
} }
}, },
sounds = default and default.node_sound_stone_defaults(),
digiline = { digiline = {
receptor = {}, receptor = {},
wire = { wire = {

@ -24,7 +24,6 @@ minetest.register_node("digistuff:detector", {
if fields.msg then meta:set_string("msg",fields.msg) end if fields.msg then meta:set_string("msg",fields.msg) end
if fields.radius then meta:set_string("radius",fields.radius) end if fields.radius then meta:set_string("radius",fields.radius) end
end, end,
sounds = default and default.node_sound_stone_defaults()
}) })
minetest.register_abm({ minetest.register_abm({

@ -18,7 +18,6 @@ for i=0,14,1 do
is_ground_content = false, is_ground_content = false,
light_source = i, light_source = i,
color = {r = mult,g = mult,b = mult}, color = {r = mult,g = mult,b = mult},
sounds = default and default.node_sound_glass_defaults(),
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
meta:set_string("formspec","field[channel;Channel;${channel}") meta:set_string("formspec","field[channel;Channel;${channel}")

@ -121,7 +121,6 @@ minetest.register_node("digistuff:button", {
meta:set_int("mlight",fields.mlight == "true" and 1 or 0) meta:set_int("mlight",fields.mlight == "true" and 1 or 0)
end end
end, end,
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:button_off", { minetest.register_node("digistuff:button_off", {
@ -166,7 +165,6 @@ minetest.register_node("digistuff:button_off", {
after_destruct = digistuff.remove_receiver, after_destruct = digistuff.remove_receiver,
description = "Digilines Button (off state - you hacker you!)", description = "Digilines Button (off state - you hacker you!)",
on_rightclick = digistuff.button_push, on_rightclick = digistuff.button_push,
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:button_off_pushed", { minetest.register_node("digistuff:button_off_pushed", {
@ -212,7 +210,6 @@ minetest.register_node("digistuff:button_off_pushed", {
after_destruct = digistuff.remove_receiver, after_destruct = digistuff.remove_receiver,
description = "Digilines Button (off, pushed state - you hacker you!)", description = "Digilines Button (off, pushed state - you hacker you!)",
on_rightclick = digistuff.button_push, on_rightclick = digistuff.button_push,
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:button_on", { minetest.register_node("digistuff:button_on", {
@ -259,7 +256,6 @@ minetest.register_node("digistuff:button_on", {
after_destruct = digistuff.remove_receiver, after_destruct = digistuff.remove_receiver,
on_rightclick = digistuff.button_push, on_rightclick = digistuff.button_push,
description = "Digilines Button (on state - you hacker you!)", description = "Digilines Button (on state - you hacker you!)",
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:button_on_pushed", { minetest.register_node("digistuff:button_on_pushed", {
@ -306,7 +302,6 @@ minetest.register_node("digistuff:button_on_pushed", {
after_destruct = digistuff.remove_receiver, after_destruct = digistuff.remove_receiver,
on_rightclick = digistuff.button_push, on_rightclick = digistuff.button_push,
description = "Digilines Button (on, pushed state - you hacker you!)", description = "Digilines Button (on, pushed state - you hacker you!)",
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:wall_knob", { minetest.register_node("digistuff:wall_knob", {
@ -366,7 +361,6 @@ minetest.register_node("digistuff:wall_knob", {
meta:set_int("protected",fields.protected == "true" and 1 or 0) meta:set_int("protected",fields.protected == "true" and 1 or 0)
end end
end, end,
sounds = default and default.node_sound_stone_defaults(),
}) })
minetest.register_node("digistuff:wall_knob_configured", { minetest.register_node("digistuff:wall_knob_configured", {
@ -421,5 +415,4 @@ minetest.register_node("digistuff:wall_knob_configured", {
meta:set_string("infotext",string.format("Current setting: %d\nLeft-click to turn down or right-click to turn up",math.floor(tonumber(value)))) meta:set_string("infotext",string.format("Current setting: %d\nLeft-click to turn down or right-click to turn up",math.floor(tonumber(value))))
digiline:receptor_send(pos,digistuff.button_get_rules(node),meta:get_string("channel"),value) digiline:receptor_send(pos,digistuff.button_get_rules(node),meta:get_string("channel"),value)
end, end,
sounds = default and default.node_sound_stone_defaults(),
}) })