From 71e7c4e27418a9633ef1fc5cafbca64f7e9c5dd8 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Wed, 17 Aug 2022 13:59:13 -0600 Subject: [PATCH] isolate Nethercap translation name to make it easier to swap out in Mineclone contexts --- df_dependencies/init.lua | 2 +- df_dependencies/locale/df_dependencies.de.tr | 5 +++ df_dependencies/locale/df_dependencies.eo.tr | 5 +++ df_dependencies/locale/df_dependencies.es.tr | 5 +++ df_dependencies/locale/df_dependencies.fr.tr | 5 +++ df_dependencies/locale/df_dependencies.id.tr | 5 +++ df_dependencies/locale/df_dependencies.it.tr | 5 +++ df_dependencies/locale/df_dependencies.ja.tr | 5 +++ df_dependencies/locale/df_dependencies.jbo.tr | 5 +++ df_dependencies/locale/df_dependencies.ms.tr | 5 +++ df_dependencies/locale/df_dependencies.pl.tr | 5 +++ .../locale/df_dependencies.pt_BR.tr | 5 +++ df_dependencies/locale/df_dependencies.ru.tr | 5 +++ df_dependencies/locale/df_dependencies.sk.tr | 5 +++ df_dependencies/locale/df_dependencies.sv.tr | 5 +++ df_dependencies/locale/df_dependencies.uk.tr | 5 +++ .../locale/df_dependencies.zh_CN.tr | 5 +++ .../locale/df_dependencies.zh_TW.tr | 5 +++ df_dependencies/locale/template.txt | 5 +++ df_dependencies/misc.lua | 8 ++++ df_trees/doc.lua | 11 ++--- df_trees/locale/df_trees.de.tr | 45 ++++++++++--------- df_trees/locale/df_trees.it.tr | 39 ++++++++-------- df_trees/locale/template.txt | 26 ++++------- df_trees/nether_cap.lua | 17 +++---- 25 files changed, 159 insertions(+), 79 deletions(-) diff --git a/df_dependencies/init.lua b/df_dependencies/init.lua index 1f279ef..1623956 100644 --- a/df_dependencies/init.lua +++ b/df_dependencies/init.lua @@ -50,7 +50,7 @@ local list_mods_required = function() end minetest.debug(mods_required) end -list_mods_required() +--list_mods_required() -- This mod is meant to only exist at initialization time. Other mods should make copies of anything it points to for their own use. minetest.after(1, function() df_dependencies = nil end) diff --git a/df_dependencies/locale/df_dependencies.de.tr b/df_dependencies/locale/df_dependencies.de.tr index 8ae2a31..e4674a4 100644 --- a/df_dependencies/locale/df_dependencies.de.tr +++ b/df_dependencies/locale/df_dependencies.de.tr @@ -20,3 +20,8 @@ Hidden Firefly=Verborgenes Glühwürmchen #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE @1 Stair=@1 Treppe Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.eo.tr b/df_dependencies/locale/df_dependencies.eo.tr index 70a82cb..ec20c31 100644 --- a/df_dependencies/locale/df_dependencies.eo.tr +++ b/df_dependencies/locale/df_dependencies.eo.tr @@ -18,3 +18,8 @@ Hidden Firefly=Kaŝita Lampiro @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.es.tr b/df_dependencies/locale/df_dependencies.es.tr index 89417cb..ab86da8 100644 --- a/df_dependencies/locale/df_dependencies.es.tr +++ b/df_dependencies/locale/df_dependencies.es.tr @@ -18,3 +18,8 @@ Hidden Firefly=Luciérnaga oculta @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.fr.tr b/df_dependencies/locale/df_dependencies.fr.tr index 310b217..1f3a4ff 100644 --- a/df_dependencies/locale/df_dependencies.fr.tr +++ b/df_dependencies/locale/df_dependencies.fr.tr @@ -18,3 +18,8 @@ Hidden Firefly=Luciole cachée @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.id.tr b/df_dependencies/locale/df_dependencies.id.tr index f9764c1..595d4a0 100644 --- a/df_dependencies/locale/df_dependencies.id.tr +++ b/df_dependencies/locale/df_dependencies.id.tr @@ -18,3 +18,8 @@ Hidden Firefly=Kunang-Kunang Tersembunyi @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.it.tr b/df_dependencies/locale/df_dependencies.it.tr index a9f1233..d10fc23 100644 --- a/df_dependencies/locale/df_dependencies.it.tr +++ b/df_dependencies/locale/df_dependencies.it.tr @@ -20,3 +20,8 @@ Hidden Firefly=Lucciola nascosta #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE @1 Stair=@1 Scala Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap=Cappello del Nether diff --git a/df_dependencies/locale/df_dependencies.ja.tr b/df_dependencies/locale/df_dependencies.ja.tr index d536131..13c85e3 100644 --- a/df_dependencies/locale/df_dependencies.ja.tr +++ b/df_dependencies/locale/df_dependencies.ja.tr @@ -18,3 +18,8 @@ Hidden Firefly=隠されたホタル @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.jbo.tr b/df_dependencies/locale/df_dependencies.jbo.tr index 9e19132..39854d8 100644 --- a/df_dependencies/locale/df_dependencies.jbo.tr +++ b/df_dependencies/locale/df_dependencies.jbo.tr @@ -18,3 +18,8 @@ Hidden Firefly=lo se mipri gusycinki @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.ms.tr b/df_dependencies/locale/df_dependencies.ms.tr index cc32008..f19cd14 100644 --- a/df_dependencies/locale/df_dependencies.ms.tr +++ b/df_dependencies/locale/df_dependencies.ms.tr @@ -18,3 +18,8 @@ Hidden Firefly=Kelip-Kelip Tersembunyi @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.pl.tr b/df_dependencies/locale/df_dependencies.pl.tr index 2859cd3..f7f6118 100644 --- a/df_dependencies/locale/df_dependencies.pl.tr +++ b/df_dependencies/locale/df_dependencies.pl.tr @@ -18,3 +18,8 @@ Hidden Firefly=Ukryty świetlik @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.pt_BR.tr b/df_dependencies/locale/df_dependencies.pt_BR.tr index 404b29d..ff7f09a 100644 --- a/df_dependencies/locale/df_dependencies.pt_BR.tr +++ b/df_dependencies/locale/df_dependencies.pt_BR.tr @@ -18,3 +18,8 @@ Hidden Firefly=Vaga-lume escondido @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.ru.tr b/df_dependencies/locale/df_dependencies.ru.tr index 7a1d79f..bc5897d 100644 --- a/df_dependencies/locale/df_dependencies.ru.tr +++ b/df_dependencies/locale/df_dependencies.ru.tr @@ -18,3 +18,8 @@ Hidden Firefly=Притаившийся Светлячок @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.sk.tr b/df_dependencies/locale/df_dependencies.sk.tr index e5da51a..11fb58e 100644 --- a/df_dependencies/locale/df_dependencies.sk.tr +++ b/df_dependencies/locale/df_dependencies.sk.tr @@ -18,3 +18,8 @@ Hidden Firefly=Skrytá svetluška @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.sv.tr b/df_dependencies/locale/df_dependencies.sv.tr index 1ca7b6e..181fbe5 100644 --- a/df_dependencies/locale/df_dependencies.sv.tr +++ b/df_dependencies/locale/df_dependencies.sv.tr @@ -18,3 +18,8 @@ Hidden Firefly=Gömd eldfluga @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.uk.tr b/df_dependencies/locale/df_dependencies.uk.tr index 6dc921c..d265c25 100644 --- a/df_dependencies/locale/df_dependencies.uk.tr +++ b/df_dependencies/locale/df_dependencies.uk.tr @@ -18,3 +18,8 @@ Hidden Firefly=Світлячок, що причаївся @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.zh_CN.tr b/df_dependencies/locale/df_dependencies.zh_CN.tr index 6b8e0b6..5650f18 100644 --- a/df_dependencies/locale/df_dependencies.zh_CN.tr +++ b/df_dependencies/locale/df_dependencies.zh_CN.tr @@ -18,3 +18,8 @@ Hidden Firefly=隐藏的萤火虫 @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/df_dependencies.zh_TW.tr b/df_dependencies/locale/df_dependencies.zh_TW.tr index f2a9d4b..ed83ca0 100644 --- a/df_dependencies/locale/df_dependencies.zh_TW.tr +++ b/df_dependencies/locale/df_dependencies.zh_TW.tr @@ -18,3 +18,8 @@ Hidden Firefly=隱藏的螢火蟲 @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/locale/template.txt b/df_dependencies/locale/template.txt index 6bcb753..b89a4a4 100644 --- a/df_dependencies/locale/template.txt +++ b/df_dependencies/locale/template.txt @@ -17,3 +17,8 @@ Hidden Firefly= @1 Slab= @1 Stair= Double @1 Slab= + +### misc.lua ### + +Icecap= +Nethercap= diff --git a/df_dependencies/misc.lua b/df_dependencies/misc.lua index 8452fe7..5d655f8 100644 --- a/df_dependencies/misc.lua +++ b/df_dependencies/misc.lua @@ -46,3 +46,11 @@ df_dependencies.texture_wood = select_required({default="default_wood.png", mcl_ df_dependencies.texture_mineral_coal = select_required({default="default_mineral_coal.png", mcl_core="mcl_core_coal_ore.png"}) -- MCL's coal texture isn't transparent, but is only used with gas seeps and should work fine that way df_dependencies.texture_glass_bottle = select_required({vessels="vessels_glass_bottle.png", mcl_potions="mcl_potions_potion_bottle.png"}) df_dependencies.texture_meselamp = "dfcaverns_glow_mese.png" + + +df_dependencies.nethercap_name = S("Nethercap") +if minetest.get_modpath("mcl_mapgen_core") then + -- since there's a whole layer called the Nether in Mineclone and it has its own mushrooms, rename + -- nethercaps when that's present to avoid confusion. + df_dependencies.nethercap_name = S("Icecap") +end \ No newline at end of file diff --git a/df_trees/doc.lua b/df_trees/doc.lua index 6aba285..37e1a18 100644 --- a/df_trees/doc.lua +++ b/df_trees/doc.lua @@ -1,5 +1,7 @@ df_trees.doc = {} +local nethercap_name = df_dependencies.nethercap_name + if not minetest.get_modpath("doc") then return end @@ -21,13 +23,8 @@ df_trees.doc.fungiwood_usage = S("Fungiwood stalk is strong and very fine-graine df_trees.doc.goblin_cap_desc = S("Massive but squat, mature goblin cap mushrooms are the size of small cottages.") df_trees.doc.goblin_cap_usage = S("Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.") -if minetest.get_modpath("mcl_core") then -df_trees.doc.nether_cap_desc = S("Icecaps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.") -df_trees.doc.nether_cap_usage = S("Icecap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.") -else -df_trees.doc.nether_cap_desc = S("Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.") -df_trees.doc.nether_cap_usage = S("Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.") -end +df_trees.doc.nether_cap_desc = S("@1 have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.", nethercap_name) +df_trees.doc.nether_cap_usage = S("@1 wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.", nethercap_name) df_trees.doc.spore_tree_desc = S("Spore trees have a sturdy 'trunk' that supports a large spongy mesh of branching fibers, with embedded fruiting bodies that produce a copious amount of spores that gently rain down around the spore tree's base.") df_trees.doc.spore_tree_usage = S("Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.") diff --git a/df_trees/locale/df_trees.de.tr b/df_trees/locale/df_trees.de.tr index 5c08ff6..5363bcd 100644 --- a/df_trees/locale/df_trees.de.tr +++ b/df_trees/locale/df_trees.de.tr @@ -24,6 +24,10 @@ Dead Blood Thorn Stem= ### doc.lua ### +@1 have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= + +@1 wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= + #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=Eine Fackel wechselt zwischen aktiver und ruhender Phase und gibt schwaches Licht ab, wenn sie aktiv ist. Sie können für Fackeln geerntet werden, und ihre Glut sprießt auf brennbaren Oberflächen zu neuen Fackelstacheln. @@ -48,10 +52,6 @@ Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Thei #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=Grüne Spindelstämme sind ein Zeichen für nahegelegene Kupfervorkommen. Ihre leuchtenden Symbioten können als langlebige Lichtquelle extrahiert werden, obwohl das Leuchten nicht stark ist. -Icecap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= - -Icecaps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= - #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).=Lebende Blutdornspitzen bleiben für Kreaturen, die sie berühren, schädlich. Wenn sie durch helles Licht getötet werden, verursachen sie nur passiven Schaden an Kreaturen, die auf sie fallen (wie man es von einer enormen Spitze erwarten würde). @@ -67,12 +67,6 @@ Living extract from the cap of a yellow Spindlestem.=Lebender Extrakt aus der Ka #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Massive but squat, mature goblin cap mushrooms are the size of small cottages.=Massive, aber gedrungene, reife Koboldkappenpilze haben die Größe kleiner Hütten. -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=Netherkappenholz ist nicht nur ein wunderschöner blauer Farbton, sondern behält auch die seltsame Wärmeableitungsfähigkeit lebender Netherkappen bei und kann in der Nähe befindliche Wasserfeststoffe schnell einfrieren. - -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=Netherkappen haben eine ungewöhnliche Biochemie, die es ihnen ermöglicht, unter Verstoß gegen alle bekannten Gesetze der Thermodynamik von Umgebungswärme zu leben. Sie wachsen tief unter der Erde in kalten, eisigen Höhlen, die auf jeden Fall vulkanisch sein sollten. - #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=Rote Spindelstämme sind ein Zeichen für nahegelegene Eisenvorkommen - oder vielleicht Goblin Caps. Ihre leuchtenden Symbioten können als langlebige Lichtquelle extrahiert werden, obwohl das Leuchten schwach ist. @@ -159,18 +153,10 @@ Goblin Cap Stem Planks=Goblin Cap Stem Planken ### nether_cap.lua ### -Icecap= -Icecap Gills= -Icecap Planks= -Icecap Spawn= -Icecap Stem= -Nether Cap= -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether Cap Gills=Nether Cap Kiemen -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether Cap Planks=Nether Cap Planken -Nether Cap Spawn= -Nether Cap Stem= +@1 Gills= +@1 Planks= +@1 Spawn= +@1 Stem= ### spindlestem.lua ### @@ -233,3 +219,18 @@ Tunnel Tube Fruiting Body=Tunnelrohr-Fruchtkörper #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Tunnel Tube Plies=Tunnelrohrlagen Tunnel Tube Spawn= + + +##### not used anymore ##### + + +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=Netherkappenholz ist nicht nur ein wunderschöner blauer Farbton, sondern behält auch die seltsame Wärmeableitungsfähigkeit lebender Netherkappen bei und kann in der Nähe befindliche Wasserfeststoffe schnell einfrieren. + +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=Netherkappen haben eine ungewöhnliche Biochemie, die es ihnen ermöglicht, unter Verstoß gegen alle bekannten Gesetze der Thermodynamik von Umgebungswärme zu leben. Sie wachsen tief unter der Erde in kalten, eisigen Höhlen, die auf jeden Fall vulkanisch sein sollten. + +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether Cap Gills=Nether Cap Kiemen +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether Cap Planks=Nether Cap Planken diff --git a/df_trees/locale/df_trees.it.tr b/df_trees/locale/df_trees.it.tr index 55e0bb4..5829ac3 100644 --- a/df_trees/locale/df_trees.it.tr +++ b/df_trees/locale/df_trees.it.tr @@ -19,6 +19,10 @@ Dead Blood Thorn Stem=Gambo di spina del sangue morta ### doc.lua ### +@1 have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= + +@1 wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= + #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=Una torcia alterna le fasi attiva e quiescente ed emette una luce fioca quando è attiva. Possono essere raccolti per le torce e le loro braci germogliano in nuove spine delle torce quando vengono posizionate su superfici infiammabili. @@ -43,10 +47,6 @@ Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Thei #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=Gli spindlestem verdi sono un segno di depositi di rame nelle vicinanze. I loro simbionti luminosi possono essere estratti come fonte di luce a lunga durata, sebbene il bagliore non sia forte. -Icecap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= - -Icecaps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= - #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).=Le punte di spine di sangue vivo rimangono dannose per le creature che le toccano. Se uccisi da una luce intensa, causano solo danni passivi alle creature che cadono su di loro (come ci si aspetterebbe da un enorme picco). @@ -62,12 +62,6 @@ Living extract from the cap of a yellow Spindlestem.=Estratto vivo dal cappello #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Massive but squat, mature goblin cap mushrooms are the size of small cottages.=I funghi goblin sono grandi ma tozzi e maturi, hanno le dimensioni di piccoli cottage. -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=Il legno del cappuccio inferiore, oltre ad essere una bella tonalità blu, conserva la strana capacità di drenaggio del calore dei tappi inferiori viventi ed è in grado di congelare rapidamente l'acqua solida vicina. - -#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE -Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=I cappucci inferiori hanno una biochimica insolita che consente loro di sopravvivere in qualche modo al calore ambientale, in violazione di tutte le leggi conosciute della termodinamica. Crescono in profondità nel sottosuolo in caverne gelide che dovrebbero a tutti gli effetti essere vulcaniche. - #WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=I Red Spindlestems sono un segno di depositi di ferro vicini - o forse Goblin Caps. I loro simbionti luminosi possono essere estratti come fonte di luce a lunga durata, anche se il bagliore è debole. @@ -150,16 +144,10 @@ Goblin Cap Stem Planks=Assi di gambo di cappello di folletto ### nether_cap.lua ### -Icecap= -Icecap Gills= -Icecap Planks= -Icecap Spawn= -Icecap Stem= -Nether Cap=Cappello del Nether -Nether Cap Gills=Lamelle di cappello del Nether -Nether Cap Planks=Assi di cappello del Nether -Nether Cap Spawn=Prole di cappello del Nether -Nether Cap Stem=Gambo di cappello del Nether +@1 Gills=Lamelle di @1 +@1 Planks=Assi di @1 +@1 Spawn=Prole di @1 +@1 Stem=Gambo di @1 ### spindlestem.lua ### @@ -209,3 +197,14 @@ Tunnel Tube=Tubo di galleria Tunnel Tube Fruiting Body=Corpo fruttifero del tubo di galleria Tunnel Tube Plies=Strati di tubo di galleria Tunnel Tube Spawn=Prole di tubo di galleria + + +##### not used anymore ##### + + +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=Il legno del cappuccio inferiore, oltre ad essere una bella tonalità blu, conserva la strana capacità di drenaggio del calore dei tappi inferiori viventi ed è in grado di congelare rapidamente l'acqua solida vicina. + +#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE +Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=I cappucci inferiori hanno una biochimica insolita che consente loro di sopravvivere in qualche modo al calore ambientale, in violazione di tutte le leggi conosciute della termodinamica. Crescono in profondità nel sottosuolo in caverne gelide che dovrebbero a tutti gli effetti essere vulcaniche. + diff --git a/df_trees/locale/template.txt b/df_trees/locale/template.txt index 41722ee..cc5d27a 100644 --- a/df_trees/locale/template.txt +++ b/df_trees/locale/template.txt @@ -19,6 +19,10 @@ Dead Blood Thorn Stem= ### doc.lua ### +@1 have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= + +@1 wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= + A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.= Aside from the artistic applications of its particularly dark color, black cap wood is a long-burning fuel source that's as good as coal for some applications. Black cap gills are oily and make for excellent torch fuel.= @@ -35,10 +39,6 @@ Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Thei Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.= -Icecap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living icecaps and is able to quickly freeze nearby water solid.= - -Icecaps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= - Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).= Living extract from the cap of a cyan Spindlestem.= @@ -48,10 +48,6 @@ Living extract from the cap of a yellow Spindlestem.= Massive but squat, mature goblin cap mushrooms are the size of small cottages.= -Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.= - -Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.= - Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.= Spindlestems are too big to easily pluck by hand but too small to be called a proper tree. Nevertheless, they are a common and useful resource for underground travelers - particularly their glowing caps.= @@ -113,16 +109,10 @@ Goblin Cap Stem Planks= ### nether_cap.lua ### -Icecap= -Icecap Gills= -Icecap Planks= -Icecap Spawn= -Icecap Stem= -Nether Cap= -Nether Cap Gills= -Nether Cap Planks= -Nether Cap Spawn= -Nether Cap Stem= +@1 Gills= +@1 Planks= +@1 Spawn= +@1 Stem= ### spindlestem.lua ### diff --git a/df_trees/nether_cap.lua b/df_trees/nether_cap.lua index 7b6a44c..0470225 100644 --- a/df_trees/nether_cap.lua +++ b/df_trees/nether_cap.lua @@ -1,15 +1,10 @@ local S = minetest.get_translator(minetest.get_current_modname()) -local if_mineclone_installed = function(default, mineclone) - if minetest.get_modpath("mcl_core") then - return mineclone - end - return default -end +local nethercap_name = df_dependencies.nethercap_name --stem minetest.register_node("df_trees:nether_cap_stem", { - description = if_mineclone_installed(S("Nether Cap Stem"), S("Icecap Stem")), + description = S("@1 Stem", nethercap_name), _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_stem.png"}, @@ -22,7 +17,7 @@ minetest.register_node("df_trees:nether_cap_stem", { --cap minetest.register_node("df_trees:nether_cap", { - description = if_mineclone_installed(S("Nether Cap"), S("Icecap")), + description = nethercap_name, _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap.png"}, @@ -35,7 +30,7 @@ minetest.register_node("df_trees:nether_cap", { --gills minetest.register_node("df_trees:nether_cap_gills", { - description = if_mineclone_installed(S("Nether Cap Gills"), S("Icecap Gills")), + description = S("@1 Gills", nethercap_name), _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_gills.png"}, @@ -85,7 +80,7 @@ minetest.register_craft({ }) minetest.register_node("df_trees:nether_cap_wood", { - description = if_mineclone_installed(S("Nether Cap Planks"), S("Icecap Planks")), + description = S("@1 Planks", nethercap_name), _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, paramtype2 = "facedir", @@ -102,7 +97,7 @@ df_dependencies.register_all_stairs_and_fences("nether_cap_wood") -- sapling minetest.register_node("df_trees:nether_cap_sapling", { - description = if_mineclone_installed(S("Nether Cap Spawn"), S("Icecap Spawn")), + description = S("@1 Spawn", nethercap_name), _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, drawtype = "plantlike",