1
0
Fork 0

Add help for spawn eggs and name tags

objects
Wuzzy 2017-03-18 18:08:18 +01:00
parent 1b3a2550f1
commit 564c94e18e
2 changed files with 4 additions and 0 deletions

View File

@ -2826,6 +2826,8 @@ function mobs:register_egg(mob, desc, background, addegg, no_creative)
minetest.register_craftitem(mob, {
description = desc,
_doc_items_longdesc = "So called “spawn eggs” are items which are used to spawn a single monster or animal.",
_doc_items_usagehelp = "Place the spawn egg on any block to make a mob appear at this position.",
inventory_image = invimg,
groups = grp,

View File

@ -4,6 +4,8 @@ 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 most animals and monsters."),
_doc_items_usagehelp = S("Rightclick an animal or monster while holding the name tag, then enter a name."),
inventory_image = "mobs_nametag.png",
wield_image = "mobs_nametag.png",
stack_max = 64,