Add tool aliases

This commit is contained in:
Wuzzy 2017-02-26 18:57:57 +01:00
parent 151c1e62ba
commit c668d98c87
2 changed files with 22 additions and 0 deletions

View file

@ -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")

View file

@ -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")