From 540b72f1d6f74bdfbdbc4dccfff3f0bdbc80dc95 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sat, 26 Feb 2022 19:10:54 +0100 Subject: [PATCH] add target help text --- mods/ITEMS/REDSTONE/mcl_target/init.lua | 5 ++--- mods/ITEMS/REDSTONE/mcl_target/locale/mcl_target.fr.tr | 4 ++++ mods/ITEMS/REDSTONE/mcl_target/locale/template.txt | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 mods/ITEMS/REDSTONE/mcl_target/locale/mcl_target.fr.tr create mode 100644 mods/ITEMS/REDSTONE/mcl_target/locale/template.txt diff --git a/mods/ITEMS/REDSTONE/mcl_target/init.lua b/mods/ITEMS/REDSTONE/mcl_target/init.lua index 1c0582f06..268c6ebe3 100644 --- a/mods/ITEMS/REDSTONE/mcl_target/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_target/init.lua @@ -14,9 +14,8 @@ end minetest.register_node("mcl_target:target_off", { description = S("Target"), - --_tt_help = S(""), - --_doc_items_longdesc = longdesc, - --_doc_items_usagehelp = buttonuse, + _doc_items_longdesc = S("A target is a block that provides a temporary redstone charge when hit by a projectile."), + _doc_items_usagehelp = S("Throw a projectile on the target to activate it."), tiles = {"mcl_target_target_top.png", "mcl_target_target_top.png", "mcl_target_target_side.png"}, groups = {hoey = 1}, sounds = mcl_sounds.node_sound_dirt_defaults({ diff --git a/mods/ITEMS/REDSTONE/mcl_target/locale/mcl_target.fr.tr b/mods/ITEMS/REDSTONE/mcl_target/locale/mcl_target.fr.tr new file mode 100644 index 000000000..6c558683d --- /dev/null +++ b/mods/ITEMS/REDSTONE/mcl_target/locale/mcl_target.fr.tr @@ -0,0 +1,4 @@ +# textdomain: mcl_target +Target=Cible +A target is a block that provides a temporary redstone charge when hit by a projectile.=La cible est un bloc qui se comporte comme une source d'énergie temporaire quand elle est frappée par un projectile. +Throw a projectile on the target to activate it.=Lancer un projectile sur la cible pour l'activer. \ No newline at end of file diff --git a/mods/ITEMS/REDSTONE/mcl_target/locale/template.txt b/mods/ITEMS/REDSTONE/mcl_target/locale/template.txt new file mode 100644 index 000000000..18bc7708c --- /dev/null +++ b/mods/ITEMS/REDSTONE/mcl_target/locale/template.txt @@ -0,0 +1,4 @@ +# textdomain: mcl_target +Target= +A target is a block that provides a temporary redstone charge when hit by a projectile.= +Throw a projectile on the target to activate it.= \ No newline at end of file