diff options
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r-- | mesecons_extrawires/corner.lua | 2 | ||||
-rw-r--r-- | mesecons_extrawires/crossover.lua | 4 | ||||
-rw-r--r-- | mesecons_extrawires/tjunction.lua | 2 | ||||
-rw-r--r-- | mesecons_extrawires/vertical.lua | 9 |
4 files changed, 14 insertions, 3 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 8dc9866..d0b01f9 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -42,6 +42,7 @@ minetest.register_node("mesecons_extrawires:corner_on", { node_box = corner_nodebox, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:corner_off", + sounds = default.node_sound_defaults(), mesecons = {conductor = { state = mesecon.state.on, @@ -71,6 +72,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { selection_box = corner_selectionbox, node_box = corner_nodebox, groups = {dig_immediate = 3}, + sounds = default.node_sound_defaults(), mesecons = {conductor = { state = mesecon.state.off, diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index 4aefbbc..b8d66f7 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -34,6 +34,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", { stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3}, + sounds = default.node_sound_defaults(), mesecons = { conductor = { states = crossover_states, @@ -60,6 +61,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", { stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, + sounds = default.node_sound_defaults(), mesecons = { conductor = { states = crossover_states, @@ -86,6 +88,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", { stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, + sounds = default.node_sound_defaults(), mesecons = { conductor = { states = crossover_states, @@ -112,6 +115,7 @@ minetest.register_node("mesecons_extrawires:crossover_on", { stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, + sounds = default.node_sound_defaults(), mesecons = { conductor = { states = crossover_states, diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 53a69f6..e98b066 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -43,6 +43,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { node_box = tjunction_nodebox, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:tjunction_off", + sounds = default.node_sound_defaults(), mesecons = {conductor = { state = mesecon.state.on, @@ -72,6 +73,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { selection_box = tjunction_selectionbox, node_box = tjunction_nodebox, groups = {dig_immediate = 3}, + sounds = default.node_sound_defaults(), mesecons = {conductor = { state = mesecon.state.off, diff --git a/mesecons_extrawires/vertical.lua b/mesecons_extrawires/vertical.lua index 1cff013..1543194 100644 --- a/mesecons_extrawires/vertical.lua +++ b/mesecons_extrawires/vertical.lua @@ -88,7 +88,8 @@ mesecon.register_node("mesecons_extrawires:vertical", { is_vertical_conductor = true, drop = "mesecons_extrawires:vertical_off", after_place_node = vertical_update, - after_dig_node = vertical_update + after_dig_node = vertical_update, + sounds = default.node_sound_defaults(), },{ tiles = {"mesecons_wire_off.png"}, groups = {dig_immediate=3}, @@ -121,7 +122,8 @@ mesecon.register_node("mesecons_extrawires:vertical_top", { is_vertical_conductor = true, drop = "mesecons_extrawires:vertical_off", after_place_node = vertical_update, - after_dig_node = vertical_update + after_dig_node = vertical_update, + sounds = default.node_sound_defaults(), },{ tiles = {"mesecons_wire_off.png"}, mesecons = {conductor = { @@ -152,7 +154,8 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", { is_vertical_conductor = true, drop = "mesecons_extrawires:vertical_off", after_place_node = vertical_update, - after_dig_node = vertical_update + after_dig_node = vertical_update, + sounds = default.node_sound_defaults(), },{ tiles = {"mesecons_wire_off.png"}, mesecons = {conductor = { |