mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Add help for spawn eggs and name tags
This commit is contained in:
parent
1b3a2550f1
commit
564c94e18e
2 changed files with 4 additions and 0 deletions
|
@ -2826,6 +2826,8 @@ function mobs:register_egg(mob, desc, background, addegg, no_creative)
|
||||||
minetest.register_craftitem(mob, {
|
minetest.register_craftitem(mob, {
|
||||||
|
|
||||||
description = desc,
|
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,
|
inventory_image = invimg,
|
||||||
groups = grp,
|
groups = grp,
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ local S = mobs.intllib
|
||||||
-- name tag
|
-- name tag
|
||||||
minetest.register_craftitem("mobs:nametag", {
|
minetest.register_craftitem("mobs:nametag", {
|
||||||
description = S("Name Tag"),
|
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",
|
inventory_image = "mobs_nametag.png",
|
||||||
wield_image = "mobs_nametag.png",
|
wield_image = "mobs_nametag.png",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
|
Loading…
Reference in a new issue