#3 Add support for pickaxe tweaks integration

Open
lazerbeak12345 wants to merge 2 commits from lazerbeak12345/add_pickaxe_tweaks into Piezo_/master
2 changed files with 6 additions and 1 deletions
  1. 2 1
      depends.txt
  2. 4 0
      init.lua

+ 2 - 1
depends.txt

@@ -1,3 +1,4 @@
 default
 farming?
-3d_armor?
+3d_armor?
+pick_axe_tweaks?

+ 4 - 0
init.lua

@@ -305,6 +305,10 @@ instant_ores.register_toolset = function(mod, name, desc, color, level, ingredie
 		}	
 	})
 
+	if minetest.get_modpath("pick_axe_tweaks") then
+		pick_axe_tweaks.register_pick_axes({mod..":pick_"..name})
+	end
+
 	maketool(":"..mod..":shovel_"..name, {
 		description = desc.." Shovel",
 		inventory_image = "tool_base.png^tool_shovel_base.png^(tool_shovel.png^[colorize:"..color..")",