mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Add tool aliases
This commit is contained in:
parent
151c1e62ba
commit
c668d98c87
21
mods/ITEMS/mcl_tools/aliases.lua
Normal file
21
mods/ITEMS/mcl_tools/aliases.lua
Normal 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")
|
@ -390,3 +390,4 @@ minetest.register_tool("mcl_tools:shears", {
|
|||||||
|
|
||||||
|
|
||||||
dofile(minetest.get_modpath("mcl_tools").."/crafting.lua")
|
dofile(minetest.get_modpath("mcl_tools").."/crafting.lua")
|
||||||
|
dofile(minetest.get_modpath("mcl_tools").."/aliases.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user