diff --git a/init.lua b/init.lua index eeb640f..4bb474c 100644 --- a/init.lua +++ b/init.lua @@ -96,6 +96,7 @@ for _, onpole in ipairs({"", "_onpole"}) do wield_image = "basic_signs_sign_wall_locked_inv.png", groups = wood_groups, default_color = "0", + on_rightclick = signs_lib.construct_sign, on_construct = signs_lib.construct_sign, on_destruct = signs_lib.destruct_sign, after_place_node = function(pos, placer, itemstack, pointed_thing) @@ -145,6 +146,7 @@ for _, onpole in ipairs({"", "_onpole"}) do wield_image = "basic_signs_steel_"..color[1].."_inv.png", groups = steel_groups, default_color = color[3], + on_rightclick = signs_lib.construct_sign, on_construct = signs_lib.construct_sign, on_destruct = signs_lib.destruct_sign, after_place_node = signs_lib.after_place_node, @@ -196,6 +198,7 @@ minetest.register_node("basic_signs:yard_sign", { wield_image = "default_sign_wood.png", groups = nci_wood_groups, default_color = "0", + on_rightclick = signs_lib.construct_sign, on_construct = signs_lib.construct_sign, on_destruct = signs_lib.destruct_sign, after_place_node = signs_lib.after_place_node, @@ -240,6 +243,7 @@ minetest.register_node("basic_signs:hanging_sign", { wield_image = "default_sign_wood.png", groups = nci_wood_groups, default_color = "0", + on_rightclick = signs_lib.construct_sign, on_construct = signs_lib.construct_sign, on_destruct = signs_lib.destruct_sign, after_place_node = signs_lib.after_place_node,