From 3c2182a677d0819375ac323c2ea5aff1e64742be Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sun, 6 Feb 2022 22:55:09 +0100 Subject: [PATCH] add barrel tooltip help text --- mods/ITEMS/mcl_barrels/init.lua | 2 ++ mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr | 3 ++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr | 3 ++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr | 3 ++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr | 3 ++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr | 3 ++- mods/ITEMS/mcl_barrels/locale/template.txt | 3 ++- 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/mods/ITEMS/mcl_barrels/init.lua b/mods/ITEMS/mcl_barrels/init.lua index ac54497de..d30b4e0e0 100644 --- a/mods/ITEMS/mcl_barrels/init.lua +++ b/mods/ITEMS/mcl_barrels/init.lua @@ -78,6 +78,7 @@ end minetest.register_node("mcl_barrels:barrel_closed", { description = S("Barrel"), + _tt_help = S("27 inventory slots"), _doc_items_longdesc = S("Barrels are containers which provide 27 inventory slots."), _doc_items_usagehelp = S("To access its inventory, rightclick it. When broken, the items will drop out."), tiles = {"mcl_barrels_barrel_top.png", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png"}, @@ -109,6 +110,7 @@ minetest.register_node("mcl_barrels:barrel_closed", { minetest.register_node("mcl_barrels:barrel_open", { description = S("Barrel Open"), + _tt_help = S("27 inventory slots"), _doc_items_longdesc = S("Barrels are containers which provide 27 inventory slots."), _doc_items_usagehelp = S("To access its inventory, rightclick it. When broken, the items will drop out."), _doc_items_create_entry = false, diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr index 2b85d7161..e1fa1b603 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel= Barrels are containers which provide 27 inventory slots.= -To access its inventory, rightclick it. When broken, the items will drop out.= \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.= +27 inventory slots= \ No newline at end of file diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr index 2b85d7161..e1fa1b603 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel= Barrels are containers which provide 27 inventory slots.= -To access its inventory, rightclick it. When broken, the items will drop out.= \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.= +27 inventory slots= \ No newline at end of file diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr index 408a66c4d..0e93d1ee5 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel=Tonneau Barrels are containers which provide 27 inventory slots.=Les tonneaux sont des conteneurs qui offrent 27 emplacements d'inventaire. -To access its inventory, rightclick it. When broken, the items will drop out.=Pour accéder à son inventaire, faites un clic droit dessus. Une fois cassés, les articles tomberont. \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.=Pour accéder à son inventaire, faites un clic droit dessus. Une fois cassés, les articles tomberont. +27 inventory slots=27 emplacements d'inventaire \ No newline at end of file diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr index 2b85d7161..e1fa1b603 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel= Barrels are containers which provide 27 inventory slots.= -To access its inventory, rightclick it. When broken, the items will drop out.= \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.= +27 inventory slots= \ No newline at end of file diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr index 2b85d7161..e1fa1b603 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel= Barrels are containers which provide 27 inventory slots.= -To access its inventory, rightclick it. When broken, the items will drop out.= \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.= +27 inventory slots= \ No newline at end of file diff --git a/mods/ITEMS/mcl_barrels/locale/template.txt b/mods/ITEMS/mcl_barrels/locale/template.txt index 2b85d7161..e1fa1b603 100644 --- a/mods/ITEMS/mcl_barrels/locale/template.txt +++ b/mods/ITEMS/mcl_barrels/locale/template.txt @@ -1,4 +1,5 @@ # textdomain: mcl_barrels Barrel= Barrels are containers which provide 27 inventory slots.= -To access its inventory, rightclick it. When broken, the items will drop out.= \ No newline at end of file +To access its inventory, rightclick it. When broken, the items will drop out.= +27 inventory slots= \ No newline at end of file