Add _tt_help to many more items

This commit is contained in:
Wuzzy 2020-03-08 03:18:47 +01:00
parent ba74546d48
commit cbda2ef326
19 changed files with 88 additions and 34 deletions

View file

@ -195,8 +195,7 @@ end
-- Standing banner node
-- This one is also used for the help entry to avoid spamming the help with 16 entries.
minetest.register_node("mcl_banners:standing_banner", {
_tt_help = S("Paintable"),
_doc_items_entry_name = "Banner",
_doc_items_entry_name = S("Banner"),
_doc_items_image = "mcl_banners_item_base.png^mcl_banners_item_overlay.png",
_doc_items_longdesc = S("Banners are tall colorful decorative blocks. They can be placed on the floor and at walls. Banners can be emblazoned with a variety of patterns using a lot of dye in crafting."),
_doc_items_usagehelp = S("Use crafting to draw a pattern on top of the banner. Emblazoned banners can be emblazoned again to combine various patterns. You can draw up to 12 layers on a banner that way. If the banner includes a gradient, only 3 layers are possible.").."\n"..
@ -321,6 +320,7 @@ for colorid, colortab in pairs(mcl_banners.colors) do
-- TODO: Combine the items into only 1 item.
minetest.register_craftitem(itemstring, {
description = desc,
_tt_help = S("Paintable decoration"),
_doc_items_create_entry = false,
inventory_image = inv,
wield_image = inv,