mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-06 08:11:06 +01:00
14 lines
488 B
Lua
14 lines
488 B
Lua
|
|
local S = mobs.intllib
|
|
|
|
-- name tag
|
|
minetest.register_craftitem("mobs:nametag", {
|
|
description = S("Name Tag"),
|
|
_doc_items_longdesc = S("A name tag is an item to name an animal."),
|
|
_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 an animal with a rightclick. This uses up the name tag."),
|
|
inventory_image = "mobs_nametag.png",
|
|
wield_image = "mobs_nametag.png",
|
|
stack_max = 64,
|
|
groups = { tool=1 },
|
|
})
|
|
|