1
0
Fork 0
VoxeLibre-Fork-Pixel/mods/ENTITIES/mcl_mobs/crafts.lua

17 lines
617 B
Lua
Raw Normal View History

local S = minetest.get_translator("mcl_mobs")
-- name tag
2018-05-31 18:32:26 +02:00
minetest.register_craftitem("mcl_mobs:nametag", {
2017-01-16 23:58:09 +01:00
description = S("Name Tag"),
2020-02-19 04:54:17 +01:00
_tt_help = S("Give names to mobs").."\n"..S("Set name at anvil"),
_doc_items_longdesc = S("A name tag is an item to name a mob."),
_doc_items_usagehelp = S("Before you use the name tag, you need to set a name at an anvil. Then you can use the name tag to name a mob. This uses up the name tag."),
inventory_image = "mobs_nametag.png",
wield_image = "mobs_nametag.png",
stack_max = 64,
groups = { tool=1 },
})
minetest.register_alias("mobs:nametag", "mcl_mobs:nametag")