diff --git a/mods/ITEMS/mcl_tools/aliases.lua b/mods/ITEMS/mcl_tools/aliases.lua new file mode 100644 index 0000000000..7aadabc15c --- /dev/null +++ b/mods/ITEMS/mcl_tools/aliases.lua @@ -0,0 +1,21 @@ +minetest.register_alias("mcl_core:pick_wood", "mcl_tools:pick_wood") +minetest.register_alias("mcl_core:pick_stone", "mcl_tools:pick_stone") +minetest.register_alias("mcl_core:pick_iron", "mcl_tools:pick_iron") +minetest.register_alias("mcl_core:pick_gold", "mcl_tools:pick_gold") +minetest.register_alias("mcl_core:pick_diamond", "mcl_tools:pick_diamond") +minetest.register_alias("mcl_core:shovel_wood", "mcl_tools:shovel_wood") +minetest.register_alias("mcl_core:shovel_stone", "mcl_tools:shovel_stone") +minetest.register_alias("mcl_core:shovel_iron", "mcl_tools:shovel_iron") +minetest.register_alias("mcl_core:shovel_gold", "mcl_tools:shovel_gold") +minetest.register_alias("mcl_core:shovel_diamond", "mcl_tools:shovel_diamond") +minetest.register_alias("mcl_core:axe_wood", "mcl_tools:axe_wood") +minetest.register_alias("mcl_core:axe_stone", "mcl_tools:axe_stone") +minetest.register_alias("mcl_core:axe_iron", "mcl_tools:axe_iron") +minetest.register_alias("mcl_core:axe_gold", "mcl_tools:axe_gold") +minetest.register_alias("mcl_core:axe_diamond", "mcl_tools:axe_diamond") +minetest.register_alias("mcl_core:sword_wood", "mcl_tools:sword_wood") +minetest.register_alias("mcl_core:sword_stone", "mcl_tools:sword_stone") +minetest.register_alias("mcl_core:sword_iron", "mcl_tools:sword_iron") +minetest.register_alias("mcl_core:sword_gold", "mcl_tools:sword_gold") +minetest.register_alias("mcl_core:sword_diamond", "mcl_tools:sword_diamond") +minetest.register_alias("mcl_core:shears", "mcl_tools:shears") diff --git a/mods/ITEMS/mcl_tools/init.lua b/mods/ITEMS/mcl_tools/init.lua index 7e5d4643d7..4c5d9b8b73 100644 --- a/mods/ITEMS/mcl_tools/init.lua +++ b/mods/ITEMS/mcl_tools/init.lua @@ -390,3 +390,4 @@ minetest.register_tool("mcl_tools:shears", { dofile(minetest.get_modpath("mcl_tools").."/crafting.lua") +dofile(minetest.get_modpath("mcl_tools").."/aliases.lua")