Name tag: Update texture conversion and add alias
[MineClone/MineClone2.git] / mods / ENTITIES / mcl_mobs / crafts.lua
blob41243bf52b79e325867810945401d5707570aaca
2 local S = mobs.intllib
4 -- name tag
5 minetest.register_craftitem("mcl_mobs:nametag", {
6 description = S("Name Tag"),
7 _doc_items_longdesc = S("A name tag is an item to name a mob."),
8 _doc_items_usagehelp = S("Before you use the name tag, you need to set a name at an anvil. Now you can use the name tag to name a mob with a rightclick. This uses up the name tag."),
9 inventory_image = "mobs_nametag.png",
10 wield_image = "mobs_nametag.png",
11 stack_max = 64,
12 groups = { tool=1 },
15 minetest.register_alias("mobs:nametag", "mcl_mobs:nametag")