diff --git a/MODS/bluestone/bluestone_button/init.lua b/MODS/bluestone/bluestone_button/init.lua index b9c34784a..0dd802931 100644 --- a/MODS/bluestone/bluestone_button/init.lua +++ b/MODS/bluestone/bluestone_button/init.lua @@ -7,7 +7,7 @@ local S = mesecon.S local function button_turnoff(pos) local node = minetest.get_node(pos) local rules = mesecon.rules.buttonlike_get(node) - minetest.sound_play("mesecons_button_pop", {pos = pos}) + minetest.sound_play("mesecons_button_pop", {pos = pos}, true) mesecon.flipstate(pos, node) mesecon.receptor_off(pos, rules) end @@ -36,7 +36,7 @@ local function on_place(itemstack, placer, pointed_thing) end local function press(pos, node) - minetest.sound_play("mesecons_button_push", {pos = pos}) + minetest.sound_play("mesecons_button_push", {pos = pos}, true) mesecon.flipstate(pos, node) mesecon.receptor_on(pos, mesecon.rules.buttonlike_get(node)) minetest.get_node_timer(pos):start(1) diff --git a/MODS/bluestone/bluestone_torch/init.lua b/MODS/bluestone/bluestone_torch/init.lua index 7429f9778..835824236 100644 --- a/MODS/bluestone/bluestone_torch/init.lua +++ b/MODS/bluestone/bluestone_torch/init.lua @@ -8,7 +8,6 @@ default.register_torch("bluestone_torch:torch", { }}, inventory_image = "bluestone_torch.png", wield_image = "bluestone_torch.png", - wield_image2 = "[combine:32x32:7,0=bluestone_torch.png", use_texture_alpha = "clip", light_source = 9, damage_per_second = 1, diff --git a/MODS/bluestone/mesecons_pistons/init.lua b/MODS/bluestone/mesecons_pistons/init.lua index 1e5921199..a2a29b4e9 100644 --- a/MODS/bluestone/mesecons_pistons/init.lua +++ b/MODS/bluestone/mesecons_pistons/init.lua @@ -76,7 +76,7 @@ local function piston_remove_pusher(pos, node, check_falling) pos = pos, max_hear_distance = 20, gain = 0.3 - }) + }, true) if check_falling then minetest.check_for_falling(pusherpos) @@ -98,8 +98,9 @@ local function piston_on(pos, node) local success, stack, oldstack = mesecon.mvps_push(pusher_pos, dir, max_push, meta:get_string("owner")) if not success then if stack == "protected" then - meta:set_string("infotext", meta:get_string("infotext") .. "\n" .. - S("Blocked by a protected area on the way!")) + local infotext = meta:get_string("infotext") + local msg = "\n" .. S("Blocked by a protected area on the way!") + meta:set_string("infotext", infotext .. msg) end return end @@ -111,7 +112,7 @@ local function piston_on(pos, node) pos = pos, max_hear_distance = 20, gain = 0.3 - }) + }, true) mesecon.mvps_move_objects(pusher_pos, dir, oldstack) end @@ -349,7 +350,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", { paramtype2 = "facedir", is_ground_content = false, drop = "mesecons_pistons:piston_normal_off", - after_dig_node = piston_after_dig, + after_destruct = piston_after_dig, node_box = piston_on_box, selection_box = piston_on_box, sounds = default.node_sound_wood_defaults(), @@ -428,7 +429,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", { paramtype2 = "facedir", is_ground_content = false, drop = "mesecons_pistons:piston_sticky_off", - after_dig_node = piston_after_dig, + after_destruct = piston_after_dig, node_box = piston_on_box, selection_box = piston_on_box, sounds = default.node_sound_wood_defaults(), diff --git a/MODS/bluestone/mesecons_walllever/init.lua b/MODS/bluestone/mesecons_walllever/init.lua index bac571361..5e5b53f86 100644 --- a/MODS/bluestone/mesecons_walllever/init.lua +++ b/MODS/bluestone/mesecons_walllever/init.lua @@ -19,7 +19,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", { else mesecon.receptor_off(pos, mesecon.rules.buttonlike_get(node)) end - minetest.sound_play("mesecons_lever", {pos = pos}) + minetest.sound_play("mesecons_lever", {pos = pos}, true) end }, { tiles = {