diff --git a/api.txt b/api.txt index d82943b..401a5db 100644 --- a/api.txt +++ b/api.txt @@ -351,6 +351,14 @@ end {"cus", punchy, {damage = 5} } +Void Pick +--------- + +This is a special item that can be dropped and allows the user to dig cracky grouped +blocks as they are e.g. stone with copper is picked up as stone with copper, not copper +ore. Adding {no_silktouch=1} group to a block prevents it from being dug in this way. + + Final Words =========== diff --git a/lb_special.lua b/lb_special.lua index 9b0fd84..7cc7c50 100644 --- a/lb_special.lua +++ b/lb_special.lua @@ -329,7 +329,8 @@ if not lucky_block.mod_mcl then if nn == "default:furnace_active" or nn:find("xpanes:") or nn:find("door") - or minetest.get_item_group(nn, "cracky") == 0 then + or minetest.get_item_group(nn, "cracky") == 0 + or minetest.get_item_group(nn, "no_silktouch") == 1 then return old_handle_node_drops(pos, drops, digger) end @@ -337,7 +338,7 @@ if not lucky_block.mod_mcl then end minetest.register_tool("lucky_block:pick_void", { - description = "Void pick (Soft Touch)", + description = "Void pick (Silk Touch)", inventory_image = "lucky_void_pick.png", wield_image = "lucky_void_pick.png^[transformR90", tool_capabilities = {