From b88060dbfbb3cab1a594e0637264e129f6fa02cb Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sun, 6 Feb 2022 19:04:13 +0100 Subject: [PATCH] add doc description to barrels --- mods/ITEMS/mcl_barrels/init.lua | 10 ++++------ mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr | 4 +++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr | 4 +++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr | 4 +++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr | 4 +++- mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr | 4 +++- mods/ITEMS/mcl_barrels/locale/template.txt | 4 +++- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/mods/ITEMS/mcl_barrels/init.lua b/mods/ITEMS/mcl_barrels/init.lua index f918996ddc..ac54497de8 100644 --- a/mods/ITEMS/mcl_barrels/init.lua +++ b/mods/ITEMS/mcl_barrels/init.lua @@ -78,9 +78,8 @@ end minetest.register_node("mcl_barrels:barrel_closed", { description = S("Barrel"), - --_tt_help = tt_help, - --_doc_items_longdesc = longdesc, - --_doc_items_usagehelp = usagehelp, + _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"}, paramtype = "light", paramtype2 = "facedir", @@ -110,9 +109,8 @@ minetest.register_node("mcl_barrels:barrel_closed", { minetest.register_node("mcl_barrels:barrel_open", { description = S("Barrel Open"), - --_tt_help = tt_help, - --_doc_items_longdesc = longdesc, - --_doc_items_usagehelp = usagehelp, + _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, tiles = {"mcl_barrels_barrel_top_open.png", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png"}, paramtype = "light", diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr index aa73208a6d..2b85d71618 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.de.tr @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel= \ No newline at end of file +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 diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr index aa73208a6d..2b85d71618 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.es.tr @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel= \ No newline at end of file +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 diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr index 7cad1e1303..408a66c4db 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.fr.tr @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel=Tonneau \ No newline at end of file +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 diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr index aa73208a6d..2b85d71618 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.pl.tr @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel= \ No newline at end of file +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 diff --git a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr index aa73208a6d..2b85d71618 100644 --- a/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr +++ b/mods/ITEMS/mcl_barrels/locale/mcl_barrels.ru.tr @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel= \ No newline at end of file +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 diff --git a/mods/ITEMS/mcl_barrels/locale/template.txt b/mods/ITEMS/mcl_barrels/locale/template.txt index aa73208a6d..2b85d71618 100644 --- a/mods/ITEMS/mcl_barrels/locale/template.txt +++ b/mods/ITEMS/mcl_barrels/locale/template.txt @@ -1,2 +1,4 @@ # textdomain: mcl_barrels -Barrel= \ No newline at end of file +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