From 8287ae24760703cc9a876876daf525229feefb9d Mon Sep 17 00:00:00 2001 From: reusityback <98353605+reusityback@users.noreply.github.com> Date: Fri, 2 Sep 2022 03:02:37 +0200 Subject: [PATCH 1/8] Add German translation (#29) * Add German translation Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add German transaltion Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add German translation Add German translation * Add support for i18n Add support for i18n, make loading translateable * Add template for translation * Add German translation Add German translation --- 3dmushrooms/init.lua | 5 +++- 3dmushrooms/locale/3dmushrooms.de.tr | 8 +++++++ 3dmushrooms/locale/template.txt | 8 +++++++ bushes/locale/bushes.de.tr | 10 ++++++++ cavestuff/locale/cavestuff.de.tr | 11 +++++++++ dryplants/locale/dryplants.de.tr | 28 ++++++++++++++++++++++ ferns/locale/ferns.de.tr | 23 ++++++++++++++++++ molehills/locale/molehills.de.tr | 9 +++++++ nature_classic/locale/nature_classic.de.tr | 10 ++++++++ trunks/locale/trunks.de.tr | 17 +++++++++++++ vines/locale/vines.de.tr | 14 +++++++++++ woodsoils/locale/woodsoils.de.tr | 12 ++++++++++ youngtrees/locale/youngtrees.de.tr | 13 ++++++++++ 13 files changed, 167 insertions(+), 1 deletion(-) create mode 100644 3dmushrooms/locale/3dmushrooms.de.tr create mode 100644 3dmushrooms/locale/template.txt create mode 100644 bushes/locale/bushes.de.tr create mode 100644 cavestuff/locale/cavestuff.de.tr create mode 100644 dryplants/locale/dryplants.de.tr create mode 100644 ferns/locale/ferns.de.tr create mode 100644 molehills/locale/molehills.de.tr create mode 100644 nature_classic/locale/nature_classic.de.tr create mode 100644 trunks/locale/trunks.de.tr create mode 100644 vines/locale/vines.de.tr create mode 100644 woodsoils/locale/woodsoils.de.tr create mode 100644 youngtrees/locale/youngtrees.de.tr diff --git a/3dmushrooms/init.lua b/3dmushrooms/init.lua index 6df04f5..f4bfbcb 100644 --- a/3dmushrooms/init.lua +++ b/3dmushrooms/init.lua @@ -2,6 +2,9 @@ mushroom = {} +-- support for i18n +local S = minetest.get_translator("3dmushrooms") + minetest.override_item("flowers:mushroom_fertile_brown", { drawtype = "mesh", mesh = "3dmushrooms.obj", @@ -66,4 +69,4 @@ minetest.register_alias("mushroom:poison", "flowers:mushroom_red") minetest.register_alias("mushroom:identifier", "default:mese_crystal_fragment") -print("[3D Mushrooms] loaded.") +minetest.log("info", S("[3D Mushrooms] loaded.")) diff --git a/3dmushrooms/locale/3dmushrooms.de.tr b/3dmushrooms/locale/3dmushrooms.de.tr new file mode 100644 index 0000000..9360f2b --- /dev/null +++ b/3dmushrooms/locale/3dmushrooms.de.tr @@ -0,0 +1,8 @@ +# textdomain: 3dmushrooms + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. + +[3D Mushrooms] loaded.=[3D Mushrooms] geladen. diff --git a/3dmushrooms/locale/template.txt b/3dmushrooms/locale/template.txt new file mode 100644 index 0000000..e56ec01 --- /dev/null +++ b/3dmushrooms/locale/template.txt @@ -0,0 +1,8 @@ +# textdomain: 3dmushrooms + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. + +[3D Mushrooms] loaded.= diff --git a/bushes/locale/bushes.de.tr b/bushes/locale/bushes.de.tr new file mode 100644 index 0000000..6649b1f --- /dev/null +++ b/bushes/locale/bushes.de.tr @@ -0,0 +1,10 @@ +# textdomain: bushes + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. + +Young Tree 2 (bottom)=Strauch 2 (Ansatz) +Bush Branches @1=Buschäste @1 +Bush Leaves @1=Buschblätter @1 diff --git a/cavestuff/locale/cavestuff.de.tr b/cavestuff/locale/cavestuff.de.tr new file mode 100644 index 0000000..43f68fb --- /dev/null +++ b/cavestuff/locale/cavestuff.de.tr @@ -0,0 +1,11 @@ +# textdomain: cavestuff + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Pebble=Kieselstein +Desert Pebble=Wüstenkiesel +Stalactite=Stalaktit diff --git a/dryplants/locale/dryplants.de.tr b/dryplants/locale/dryplants.de.tr new file mode 100644 index 0000000..442cd79 --- /dev/null +++ b/dryplants/locale/dryplants.de.tr @@ -0,0 +1,28 @@ +# textdomain: dryplants + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Sickle=Sichel +Cut Grass=Gras schneiden +Hay=Heu +Short Grass=Kurzes Gras +Juncus=Binsen +Wet Reed=Nasses Schilf +Wet Reed Slab=Nasse Schilfstufe +Wet Reed Roof=Nasses Schilfdach +Wet Reed Roof Corner=Nasser Schilfdachwinkel +Wet Reed Roof Corner 2=Nasser Schilfdachwinkel 2 +Reed=Schilf +Reed Slab=Schilfstufe +Reed Roof=Schilfdach +Reed Roof Corner=Schilfdachwinkel +Reed Roof Corner 2=Schilfdachwinkel +Reedmace=Rohrkolben +Reedmace, height: 1=Rohrkolben, Höhe: 1 +Reedmace, height: 2=Rohrkolben, Höhe: 2 +Reedmace, height: 3=Rohrkolben, Höhe: 3 +Reedmace, height: 3 & Spikes=Rohrkolben, Höhe: 3 & Rispe diff --git a/ferns/locale/ferns.de.tr b/ferns/locale/ferns.de.tr new file mode 100644 index 0000000..73e784d --- /dev/null +++ b/ferns/locale/ferns.de.tr @@ -0,0 +1,23 @@ +# textdomain: ferns + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + + +Fiddlehead=Geigenkopf +Roasted Fiddlehead=Gerösteter Geigenkopf +Fern Tuber=Farnknolle +Roasted Fern Tuber=Geröstete Farnknolle +Lady-fern (Athyrium)=Frauenfarn (Athyrium) +Tree Fern Crown (Dicksonia)=Baumfarnkrone (Dicksonia) +Giant Tree Fern Leaves=Riesige Baumfarnblätter +Giant Tree Fern Leave End=Riesiges Baumfarnblattende +Giant Fern Trunk=Riesiger Baumfarnstamm +Giant Tree Fern Sapling=Riesiger Baumfarnsetzling +Young Horsetail (Equisetum)=Junger Schachtelhalm (Equisetum) +Horsetail (Equisetum)=Schachtelhalm (Equisetum) +Fern Trunk (Dicksonia)=Farnstamm (Dicksonia) +Tree Fern Sapling (Dicksonia)=Baumfarnsetzling (Dicksonia) diff --git a/molehills/locale/molehills.de.tr b/molehills/locale/molehills.de.tr new file mode 100644 index 0000000..ba98372 --- /dev/null +++ b/molehills/locale/molehills.de.tr @@ -0,0 +1,9 @@ +# textdomain: molehills + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Mole Hill=Maulwurfshügel diff --git a/nature_classic/locale/nature_classic.de.tr b/nature_classic/locale/nature_classic.de.tr new file mode 100644 index 0000000..9902d27 --- /dev/null +++ b/nature_classic/locale/nature_classic.de.tr @@ -0,0 +1,10 @@ +# textdomain: nature_classic + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Apple blossoms=Apfelblüten +[Nature Classic] loaded!=[Nature Classic] geladen! diff --git a/trunks/locale/trunks.de.tr b/trunks/locale/trunks.de.tr new file mode 100644 index 0000000..54312be --- /dev/null +++ b/trunks/locale/trunks.de.tr @@ -0,0 +1,17 @@ +# textdomain: trunks + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Twig=Zweig +Moss=Moos +Moss with Fungus=Moos mit Pilz +Twigs Block=Zweigblock +Twigs Slab=Zweigstufe +Twigs Roof=Zweigdach +Twigs Roof Corner 1=Zweigdachwinkel 1 +Twigs Roof Corner 2=Zweigdachwinkel 2 +@1 Root=Wurzel von @1 diff --git a/vines/locale/vines.de.tr b/vines/locale/vines.de.tr new file mode 100644 index 0000000..31c542e --- /dev/null +++ b/vines/locale/vines.de.tr @@ -0,0 +1,14 @@ +# textdomain: vines + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# +Vines=Ranken +Matured=Gereifte +Rope=Seil +Shears=Schere +Roots=Wurzeln +Jungle Vines=Dschungelranken +Willow Vines=Weidenranken diff --git a/woodsoils/locale/woodsoils.de.tr b/woodsoils/locale/woodsoils.de.tr new file mode 100644 index 0000000..c30a2ce --- /dev/null +++ b/woodsoils/locale/woodsoils.de.tr @@ -0,0 +1,12 @@ +# textdomain: woodsoils + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Forest Soil 1=Waldboden 1 +Forest Soil 2=Waldboden 2 +Forest Soil 3=Waldboden 3 +Forest Soil 4=Waldboden 4 diff --git a/youngtrees/locale/youngtrees.de.tr b/youngtrees/locale/youngtrees.de.tr new file mode 100644 index 0000000..d09f2ed --- /dev/null +++ b/youngtrees/locale/youngtrees.de.tr @@ -0,0 +1,13 @@ +# textdomain: youngtrees + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# reusityback, 2022. +# + +Young Bamboo Tree=Junger Bambus +Young Tree 2 (middle)=Strauch 2 (Mitte) +Young Tree (top)=Strauch (Spitze) +Young Tree (middle)=Strauch (Mitte) +Young Tree (bottom)=Strauch (Ansatz) From 6e842d9b0df9ede4ca65676a3c6f48976dcdd8fe Mon Sep 17 00:00:00 2001 From: Niklp <89982526+Niklp09@users.noreply.github.com> Date: Mon, 10 Oct 2022 18:39:58 +0200 Subject: [PATCH 2/8] add bush leaves to leaves group (#31) --- bushes/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bushes/init.lua b/bushes/init.lua index 4c57f85..715afb1 100644 --- a/bushes/init.lua +++ b/bushes/init.lua @@ -133,7 +133,8 @@ for i in pairs(BushLeafNode) do groups = { -- MM: Should we add leafdecay? snappy=3, flammable=2, - attached_node=1 + attached_node=1, + leaves=1 }, sounds = default.node_sound_leaves_defaults(), }) From e159b843d2c5ce626288c1dc19d9bad942ff2bcc Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Sun, 30 Oct 2022 14:57:12 -0700 Subject: [PATCH 3/8] restrict tree fern growth (#32) --- ferns/gianttreefern.lua | 23 ++++++++++++++++++++++- ferns/treefern.lua | 23 ++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/ferns/gianttreefern.lua b/ferns/gianttreefern.lua index b0a4baa..df8c541 100644 --- a/ferns/gianttreefern.lua +++ b/ferns/gianttreefern.lua @@ -13,6 +13,25 @@ assert(abstract_ferns.config.enable_giant_treefern == true) local S = minetest.get_translator("ferns") -- lot of code, lot to load +function abstract_ferns.can_grow_giant_tree_fern(pos) + local node_name = minetest.get_node(pos).name + if node_name ~= "air" and node_name ~= "ferns:sapling_giant_tree_fern" and node_name ~= "default:junglegrass" then + return false + end + + local below_name = minetest.get_node(vector.new(pos.x, pos.y - 1, pos.z)).name + if minetest.get_item_group(below_name, "soil") == 0 and minetest.get_item_group(below_name, "sand") == 0 then + return false + end + + local light = minetest.get_node_light(pos, 0.5) + if light <= 8 then + return false + end + + return true +end + abstract_ferns.grow_giant_tree_fern = function(pos) local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z} local name = minetest.get_node(pos_aux).name @@ -293,7 +312,9 @@ minetest.register_abm({ interval = 1000, chance = 4, action = function(pos, node, _, _) - abstract_ferns.grow_giant_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) + if abstract_ferns.can_grow_giant_tree_fern(pos) then + abstract_ferns.grow_giant_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) + end end }) diff --git a/ferns/treefern.lua b/ferns/treefern.lua index 96947a9..45b57ca 100644 --- a/ferns/treefern.lua +++ b/ferns/treefern.lua @@ -11,6 +11,25 @@ local S = minetest.get_translator("ferns") assert(abstract_ferns.config.enable_treefern == true) +function abstract_ferns.can_grow_tree_fern(pos) + local node_name = minetest.get_node(pos).name + if node_name ~= "air" and node_name ~= "ferns:sapling_tree_fern" and node_name ~= "default:junglegrass" then + return false + end + + local below_name = minetest.get_node(vector.new(pos.x, pos.y - 1, pos.z)).name + if minetest.get_item_group(below_name, "soil") == 0 and minetest.get_item_group(below_name, "sand") == 0 then + return false + end + + local light = minetest.get_node_light(pos, 0.5) + if light <= 8 then + return false + end + + return true +end + abstract_ferns.grow_tree_fern = function(pos) local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z} @@ -171,7 +190,9 @@ minetest.register_abm({ interval = 1000, chance = 4, action = function(pos, node, _, _) - abstract_ferns.grow_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) + if abstract_ferns.can_grow_tree_fern(pos) then + abstract_ferns.grow_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) + end end }) From 438a1adb3256a49d324536ff704bcf8ea2776681 Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Fri, 4 Nov 2022 09:28:33 -0700 Subject: [PATCH 4/8] limit bush duping (#33) only allow a chance of getting a 2nd bush from bushes with fruit, to prevent instant bush duping. --- bushes_classic/nodes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bushes_classic/nodes.lua b/bushes_classic/nodes.lua index cf94d99..240c8a8 100644 --- a/bushes_classic/nodes.lua +++ b/bushes_classic/nodes.lua @@ -63,7 +63,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger) -- with a chance of 1/3, return 2 bushes local amount - if math.random(1,3) == 1 then + if can_harvest and math.random(1,3) == 1 then amount = "2" else amount = "1" From 1894d916094cd0759387bb5c83a22e039ff2179a Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Fri, 4 Nov 2022 09:29:34 -0700 Subject: [PATCH 5/8] add node dig/placement predictions (#34) --- bushes_classic/nodes.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bushes_classic/nodes.lua b/bushes_classic/nodes.lua index 240c8a8..835b9ca 100644 --- a/bushes_classic/nodes.lua +++ b/bushes_classic/nodes.lua @@ -173,6 +173,13 @@ for i, bush_name in ipairs(bushes_classic.bushes) do texture_top = "bushes_bush_top.png" texture_bottom = "bushes_bush_bottom.png" end + + local node_dig_prediction + local node_placement_prediction + if bush_name ~= "fruitless" then + node_dig_prediction = "bushes:fruitless_bush" + node_placement_prediction = "bushes:fruitless_bush" + end minetest.register_node(":bushes:" .. bush_name .. "_bush", { description = bushes_classic.bushes_descriptions[i][6], @@ -185,6 +192,8 @@ for i, bush_name in ipairs(bushes_classic.bushes) do groups = groups, sounds = default.node_sound_leaves_defaults(), drop = "", + node_dig_prediction = node_dig_prediction, + node_placement_prediction = node_placement_prediction, after_dig_node = function( pos, oldnode, oldmetadata, digger ) return plantlife_bushes.after_dig_node(pos, oldnode, oldmetadata, digger); end, From 9483fee7b3f26da17b23649e7715be3ec42d35ba Mon Sep 17 00:00:00 2001 From: jolesh Date: Sun, 6 Nov 2022 18:53:16 +0100 Subject: [PATCH 6/8] Added Esperanto translation (#36) used the template.txt's --- 3dmushrooms/locale/3dmushrooms.eo.tr | 8 ++++ bushes/locale/bushes.eo.tr | 10 +++++ bushes_classic/locale/bushes_classic.eo.tr | 46 ++++++++++++++++++++++ cavestuff/locale/cavestuff.eo.tr | 11 ++++++ dryplants/locale/dryplants.eo.tr | 28 +++++++++++++ ferns/locale/ferns.eo.tr | 23 +++++++++++ molehills/locale/molehills.eo.tr | 9 +++++ nature_classic/locale/nature_classic.txt | 10 +++++ pl_seaweed/locale/pl_seawood.eo.tr | 11 ++++++ pl_sunflowers/locale/pl_sunflowers.eo.tr | 11 ++++++ pl_waterlilies/locale/pl_waterlilies.eo.tr | 11 ++++++ poisonivy/locale/poisonivy.eo.tr | 12 ++++++ trunks/locale/trunks.eo.tr | 17 ++++++++ vines/locale/vines.eo.tr | 14 +++++++ woodsoils/locale/woodsoils.eo.tr | 12 ++++++ youngtrees/locale/youngtrees.eo.tr | 13 ++++++ 16 files changed, 246 insertions(+) create mode 100644 3dmushrooms/locale/3dmushrooms.eo.tr create mode 100644 bushes/locale/bushes.eo.tr create mode 100644 bushes_classic/locale/bushes_classic.eo.tr create mode 100644 cavestuff/locale/cavestuff.eo.tr create mode 100644 dryplants/locale/dryplants.eo.tr create mode 100644 ferns/locale/ferns.eo.tr create mode 100644 molehills/locale/molehills.eo.tr create mode 100644 nature_classic/locale/nature_classic.txt create mode 100644 pl_seaweed/locale/pl_seawood.eo.tr create mode 100644 pl_sunflowers/locale/pl_sunflowers.eo.tr create mode 100644 pl_waterlilies/locale/pl_waterlilies.eo.tr create mode 100644 poisonivy/locale/poisonivy.eo.tr create mode 100644 trunks/locale/trunks.eo.tr create mode 100644 vines/locale/vines.eo.tr create mode 100644 woodsoils/locale/woodsoils.eo.tr create mode 100644 youngtrees/locale/youngtrees.eo.tr diff --git a/3dmushrooms/locale/3dmushrooms.eo.tr b/3dmushrooms/locale/3dmushrooms.eo.tr new file mode 100644 index 0000000..f586e47 --- /dev/null +++ b/3dmushrooms/locale/3dmushrooms.eo.tr @@ -0,0 +1,8 @@ +# textdomain: 3dmushrooms + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. + +[3D Mushrooms] loaded.=[3D Mushrooms] ŝargis. diff --git a/bushes/locale/bushes.eo.tr b/bushes/locale/bushes.eo.tr new file mode 100644 index 0000000..5ff623a --- /dev/null +++ b/bushes/locale/bushes.eo.tr @@ -0,0 +1,10 @@ +# textdomain: bushes + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. + +Young Tree 2 (bottom)=Juna Arbo 2 (malsupro) +Bush Branches @1=Arbustaj Branĉoj @1 +Bush Leaves @1=Arbustaj Folioj @1 diff --git a/bushes_classic/locale/bushes_classic.eo.tr b/bushes_classic/locale/bushes_classic.eo.tr new file mode 100644 index 0000000..af14e8b --- /dev/null +++ b/bushes_classic/locale/bushes_classic.eo.tr @@ -0,0 +1,46 @@ +# textdomain: bushes_classic + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Sugar=Sukero +Basket with Strawberry pies=Korbo kun Fragokukoj +Cooked Strawberry pie=Kuirita Fragokuko +Raw Strawberry pie=Kruda Fragokuko +Slice of Strawberry pie=Tranĉaĵo de Fragokuko +Strawberry=Frago +Strawberry Bush=Fraga Arbusto +Basket with Blackberry pies=Korbo kun Rubusokukoj +Cooked Blackberry pie=Kuirita Rubusokuko +Raw Blackberry pie=Kruda Rubusokuko +Slice of Blackberry pie=Tranĉaĵo de Rubusokuko +Blackberry=Rubuso +Blackberry Bush=Rubusa Arbusto +Basket with Blueberry pies=Korbo kun Mirtelokukoj +Blueberry=Mirtelo +Blueberry Bush=Mirtela Arbusto +Cooked Blueberry pie=Kuirita Mirtelokuko +Raw Blueberry pie=Kruda Mirtelokuko +Slice of Blueberry pie=Tranĉaĵo de Mirtelokuko +Basket with Raspberry pies=Korbo kun Frambokukoj +Cooked Raspberry pie=Kuirita Frambokuko +Raspberry=Frambo +Raspberry Bush=Framba Arbusto +Raw Raspberry pie=Kruda Frambokuko +Slice of Raspberry pie=Tranĉaĵo de Frambokuko +Basket with Gooseberry pies=Korbo kun Grosberkuko +Cooked Gooseberry pie=Kuirita Grosberkuko +Gooseberry=Grosbero +Gooseberry Bush=Grosberarbusto +Raw Gooseberry pie=Kruda Grosberkuko +Slice of Gooseberry pie=Tranĉaĵo de Grosberkuko +Basket with Mixed Berry pies=Korbo kun Miksitaj Beraj Kukoj +Cooked Mixed Berry pie=Kuirita Miksa Beraj Kukoj +Currently fruitless Bush=Nuntempe senfrukta Arbusto +Mixed Berry=Miksita Bero +Raw Mixed Berry pie=Kruda Miksita Bera Kuko +Slice of Mixed Berry pie=Tranĉaĵo de Miksita Bera Kuko +Basket=Korbo diff --git a/cavestuff/locale/cavestuff.eo.tr b/cavestuff/locale/cavestuff.eo.tr new file mode 100644 index 0000000..c077ae8 --- /dev/null +++ b/cavestuff/locale/cavestuff.eo.tr @@ -0,0 +1,11 @@ +# textdomain: cavestuff + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Pebble=Ŝtoneto +Desert Pebble=Dezerta Ŝtoneto +Stalactite=Stalaktito diff --git a/dryplants/locale/dryplants.eo.tr b/dryplants/locale/dryplants.eo.tr new file mode 100644 index 0000000..1ae0121 --- /dev/null +++ b/dryplants/locale/dryplants.eo.tr @@ -0,0 +1,28 @@ +# textdomain: dryplants + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Sickle= +Cut Grass=Tranĉita Herbenon +Hay=Fojno +Short Grass=Mallonga Herbo +Juncus=Junko +Wet Reed=Malseka Kano +Wet Reed Slab=Slabo de Malseka Kano +Wet Reed Roof=Tegmento de Malseka Kano +Wet Reed Roof Corner=Tegmentangulo de Malseka Kano +Wet Reed Roof Corner 2=Tegmentangulo 2 de Malseka Kano +Reed=Kano +Reed Slab=Slabo de Kano +Reed Roof=Tegmento de Kano +Reed Roof Corner=Tegmentangulo de Kano +Reed Roof Corner 2=Tegmentangulo 2 de Kano +Reedmace=Tifeo +Reedmace, height: 1=Tifeo, alteco: 1 +Reedmace, height: 2=Tifeo, alteco: 2 +Reedmace, height: 3=Tifeo, alteco: 3 +Reedmace, height: 3 & Spikes=Tifeo, alteco: 3 & Pikiloj diff --git a/ferns/locale/ferns.eo.tr b/ferns/locale/ferns.eo.tr new file mode 100644 index 0000000..0dc3da3 --- /dev/null +++ b/ferns/locale/ferns.eo.tr @@ -0,0 +1,23 @@ +# textdomain: ferns + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + + +Fiddlehead=Filika Supro +Roasted Fiddlehead=Rostita Filika Supro +Fern Tuber=Filika Tubero +Roasted Fern Tuber=Rostita Filika Tubero +Lady-fern (Athyrium)=Afiriumo (Athyrium) +Tree Fern Crown (Dicksonia)=Krono de Arba Filiko +Giant Tree Fern Leaves=Folioj de Giganta Arba Filiko +Giant Tree Fern Leave End=Folifino de Giganta Arba Filiko +Giant Fern Trunk=Trunko de Giganta Arba Filiko +Giant Tree Fern Sapling=Arbido de Giganta Arba Filiko +Young Horsetail (Equisetum)=Juna Ekvizeto (Equisetum) +Horsetail (Equisetum)=Ekvizeto (Equisetum) +Fern Trunk (Dicksonia)=Trunko de Arba Filiko (Dicksonia) +Tree Fern Sapling (Dicksonia)=Arbido de Arba Filiko (Dicksonia) diff --git a/molehills/locale/molehills.eo.tr b/molehills/locale/molehills.eo.tr new file mode 100644 index 0000000..3740d78 --- /dev/null +++ b/molehills/locale/molehills.eo.tr @@ -0,0 +1,9 @@ +# textdomain: molehills + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Mole Hill=Talpa Monteto diff --git a/nature_classic/locale/nature_classic.txt b/nature_classic/locale/nature_classic.txt new file mode 100644 index 0000000..0331d23 --- /dev/null +++ b/nature_classic/locale/nature_classic.txt @@ -0,0 +1,10 @@ +# textdomain: nature_classic + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Apple blossoms=Poma Floroj +[Nature Classic] loaded!=[Nature Classic] ŝarĝita! diff --git a/pl_seaweed/locale/pl_seawood.eo.tr b/pl_seaweed/locale/pl_seawood.eo.tr new file mode 100644 index 0000000..40b89cb --- /dev/null +++ b/pl_seaweed/locale/pl_seawood.eo.tr @@ -0,0 +1,11 @@ +# textdomain: pl_seaweed + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + + + +Seaweed=Algo diff --git a/pl_sunflowers/locale/pl_sunflowers.eo.tr b/pl_sunflowers/locale/pl_sunflowers.eo.tr new file mode 100644 index 0000000..8042897 --- /dev/null +++ b/pl_sunflowers/locale/pl_sunflowers.eo.tr @@ -0,0 +1,11 @@ +# textdomain: pl_sunflowers + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + + + +Sunflower=Sunfloro diff --git a/pl_waterlilies/locale/pl_waterlilies.eo.tr b/pl_waterlilies/locale/pl_waterlilies.eo.tr new file mode 100644 index 0000000..0c188eb --- /dev/null +++ b/pl_waterlilies/locale/pl_waterlilies.eo.tr @@ -0,0 +1,11 @@ +# textdomain: pl_waterlillies + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + + + +Waterlily=Akvolilio diff --git a/poisonivy/locale/poisonivy.eo.tr b/poisonivy/locale/poisonivy.eo.tr new file mode 100644 index 0000000..d0cb098 --- /dev/null +++ b/poisonivy/locale/poisonivy.eo.tr @@ -0,0 +1,12 @@ +# textdomain: poisonivy + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Poison ivy (seedling)=Venena hedero (plantido) +Poison ivy (sproutling)=Venena hedero (ĝermanta) +Poison ivy (climbing plant)=Venena hedero (grimpplanto) +[Poison Ivy] Loaded.=[Poison Ivy] ŝarĝita. diff --git a/trunks/locale/trunks.eo.tr b/trunks/locale/trunks.eo.tr new file mode 100644 index 0000000..5f43812 --- /dev/null +++ b/trunks/locale/trunks.eo.tr @@ -0,0 +1,17 @@ +# textdomain: trunks + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Twig=Branĉeto +Moss=Musko +Moss with Fungus=Musko kun Fungo +Twigs Block=Bloko de Branĉetoj +Twigs Slab=Slabo +Twigs Roof=Tegmento +Twigs Roof Corner 1=Tegmentangulo 1 de Branĉetoj +Twigs Roof Corner 2=Tegmentangulo 2 de Branĉetoj +@1 Root=@1 Radiko diff --git a/vines/locale/vines.eo.tr b/vines/locale/vines.eo.tr new file mode 100644 index 0000000..cb6ce20 --- /dev/null +++ b/vines/locale/vines.eo.tr @@ -0,0 +1,14 @@ +# textdomain: vines + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# +Vines=Vitoj +Matured=Maturita +Rope=Ŝnuro +Shears=Tondiloj +Roots=Radikoj +Jungle Vines=Ĝangalaj Vitoj +Willow Vines=Salikaj Vitoj diff --git a/woodsoils/locale/woodsoils.eo.tr b/woodsoils/locale/woodsoils.eo.tr new file mode 100644 index 0000000..5998e30 --- /dev/null +++ b/woodsoils/locale/woodsoils.eo.tr @@ -0,0 +1,12 @@ +# textdomain: woodsoils + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Forest Soil 1=Arbara Grundo 1 +Forest Soil 2=Arbara Grundo 2 +Forest Soil 3=Arbara Grundo 3 +Forest Soil 4=Arbara Grundo 4 diff --git a/youngtrees/locale/youngtrees.eo.tr b/youngtrees/locale/youngtrees.eo.tr new file mode 100644 index 0000000..5bf8f39 --- /dev/null +++ b/youngtrees/locale/youngtrees.eo.tr @@ -0,0 +1,13 @@ +# textdomain: youngtrees + +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jolesh, 2022. +# + +Young Bamboo Tree=Juna Bambuarbo +Young Tree 2 (middle)=Juna Arbo 2 (mezo) +Young Tree (top)=Juna Arbo (supro) +Young Tree (middle)=Juna Arbo (mezo) +Young Tree (bottom)=Juna Arbo (malsupro) From a2cbc18351e743c606ac8ad8f11faa33c10aa289 Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Sat, 12 Nov 2022 17:22:16 -0800 Subject: [PATCH 7/8] fix upside-down vines ends (#37) --- vines/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vines/init.lua b/vines/init.lua index 5b5cc99..1f4f0b4 100644 --- a/vines/init.lua +++ b/vines/init.lua @@ -126,7 +126,7 @@ vines.register_vine = function( name, defs, biome ) paramtype = "light", paramtype2 = "wallmounted", buildable_to = false, - tiles = {vine_image_end}, + tiles = {vine_image_end .. (drawtype == "plantlike" and "^[transformR180" or "")}, drawtype = drawtype, inventory_image = vine_image_end, groups = groups, From 577404c8508de4610988ee74911cce3fe601c342 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Sat, 21 Jan 2023 15:48:24 -0500 Subject: [PATCH 8/8] fix https://github.com/mt-mods/plantlife_modpack/issues/38 - add use_texture_alpa param to nodes that have textures with alpa --- bushes/init.lua | 3 +++ dryplants/init.lua | 2 ++ ferns/gianttreefern.lua | 3 +++ ferns/treefern.lua | 1 + molehills/init.lua | 1 + pl_seaweed/init.lua | 1 + pl_sunflowers/init.lua | 1 + pl_waterlilies/init.lua | 1 + trunks/nodes.lua | 4 ++++ youngtrees/init.lua | 1 + 10 files changed, 18 insertions(+) diff --git a/bushes/init.lua b/bushes/init.lua index 715afb1..a24812e 100644 --- a/bushes/init.lua +++ b/bushes/init.lua @@ -51,6 +51,7 @@ for i in pairs(BushBranchCenter) do "bushes_leaves_"..TexNum..".png", "bushes_branches_center_"..TexNum..".png" }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = { @@ -93,6 +94,7 @@ for i in pairs(BushBranchSide) do --[[back]] "bushes_branches_center_"..TexNum..".png",-- unless U really want 'em 2 B different --[[front]] "bushes_branches_right_"..TexNum..".png" }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = { @@ -129,6 +131,7 @@ for i in pairs(BushLeafNode) do description = S("Bush Leaves @1", Num), drawtype = "allfaces_optional", tiles = {"bushes_leaves_"..Num..".png"}, + use_texture_alpha = "clip", paramtype = "light", groups = { -- MM: Should we add leafdecay? snappy=3, diff --git a/dryplants/init.lua b/dryplants/init.lua index c145ae0..77ca2dd 100644 --- a/dryplants/init.lua +++ b/dryplants/init.lua @@ -130,6 +130,7 @@ minetest.register_node("dryplants:grass", { paramtype = "light", sunlight_propagates = true, tiles = {"dryplants_grass.png"}, + use_texture_alpha = "clip", drawtype = "nodebox", node_box = { type = "fixed", @@ -161,6 +162,7 @@ minetest.register_node("dryplants:hay", { paramtype = "light", sunlight_propagates = true, tiles = {"dryplants_hay.png"}, + use_texture_alpha = "clip", drawtype = "nodebox", node_box = { type = "fixed", diff --git a/ferns/gianttreefern.lua b/ferns/gianttreefern.lua index df8c541..58c8f79 100644 --- a/ferns/gianttreefern.lua +++ b/ferns/gianttreefern.lua @@ -200,6 +200,7 @@ minetest.register_node("ferns:tree_fern_leave_big_end", { paramtype = "light", paramtype2 = "facedir", tiles = { "ferns_tree_fern_leave_big_end.png" }, + use_texture_alpha = "clip", walkable = false, node_box = { type = "fixed", @@ -232,6 +233,7 @@ minetest.register_node("ferns:fern_trunk_big_top", { "ferns_fern_trunk_big_top.png^ferns_tree_fern_leave_big_cross.png", "ferns_fern_trunk_big.png" }, + use_texture_alpha = "clip", node_box = { type = "fixed", -- {left, bottom, front, right, top, back } @@ -269,6 +271,7 @@ minetest.register_node("ferns:fern_trunk_big", { "ferns_fern_trunk_big_top.png", "ferns_fern_trunk_big.png" }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, diff --git a/ferns/treefern.lua b/ferns/treefern.lua index 45b57ca..43a0db8 100644 --- a/ferns/treefern.lua +++ b/ferns/treefern.lua @@ -147,6 +147,7 @@ minetest.register_node("ferns:fern_trunk", { "ferns_fern_trunk_top.png", "ferns_fern_trunk.png" }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}, diff --git a/molehills/init.lua b/molehills/init.lua index 872e987..aba3d41 100644 --- a/molehills/init.lua +++ b/molehills/init.lua @@ -26,6 +26,7 @@ minetest.register_node("molehills:molehill",{ description = S("Mole Hill"), inventory_image = "molehills_side.png", tiles = { "molehills_dirt.png" }, + use_texture_alpha = "clip", paramtype = "light", selection_box = mh_cbox, collision_box = mh_cbox, diff --git a/pl_seaweed/init.lua b/pl_seaweed/init.lua index 7dd0392..49885d4 100644 --- a/pl_seaweed/init.lua +++ b/pl_seaweed/init.lua @@ -25,6 +25,7 @@ for i in ipairs(algae_list) do "flowers_seaweed"..num..".png", "flowers_seaweed"..num..".png^[transformFY" }, + use_texture_alpha = "clip", inventory_image = "flowers_seaweed_2.png", wield_image = "flowers_seaweed_2.png", sunlight_propagates = true, diff --git a/pl_sunflowers/init.lua b/pl_sunflowers/init.lua index f997da0..6416790 100644 --- a/pl_sunflowers/init.lua +++ b/pl_sunflowers/init.lua @@ -23,6 +23,7 @@ minetest.register_node(":flowers:sunflower", { inventory_image = "flowers_sunflower_inv.png", mesh = "flowers_sunflower.obj", tiles = { "flowers_sunflower.png" }, + use_texture_alpha = "clip", walkable = false, buildable_to = true, is_ground_content = true, diff --git a/pl_waterlilies/init.lua b/pl_waterlilies/init.lua index 94fc3be..57edad3 100644 --- a/pl_waterlilies/init.lua +++ b/pl_waterlilies/init.lua @@ -36,6 +36,7 @@ for i in ipairs(lilies_list) do "flowers_waterlily"..deg2..".png", "flowers_waterlily"..deg2..".png^[transformFY" }, + use_texture_alpha = "clip", inventory_image = "flowers_waterlily.png", wield_image = "flowers_waterlily.png", sunlight_propagates = true, diff --git a/trunks/nodes.lua b/trunks/nodes.lua index 10c1c6e..73cd9a1 100644 --- a/trunks/nodes.lua +++ b/trunks/nodes.lua @@ -24,6 +24,7 @@ for i in pairs(NoDe) do "trunks_twig_"..NR..".png^[transformFY", -- mirror "trunks_twig_6.png" -- empty }, + use_texture_alpha = "clip", paramtype = "light", paramtype2 = "facedir", walkable = false, @@ -88,6 +89,7 @@ for r = 0, 3 do description = S("Moss"), drawtype = "nodebox", tiles = {"trunks_moss.png"..xform}, + use_texture_alpha = "clip", inventory_image = "trunks_moss.png", wield_image = "trunks_moss.png", paramtype = "light", @@ -110,6 +112,7 @@ for r = 0, 3 do tiles = {"trunks_moss_fungus.png"..xform}, inventory_image = "trunks_moss_fungus.png", wield_image = "trunks_moss_fungus.png", + use_texture_alpha = "clip", paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, @@ -376,6 +379,7 @@ for i in pairs(TRuNKS) do --[[back]] MoD.."_"..TRuNK..".png", --[[front]] MoD.."_"..TRuNK..".png" }, + use_texture_alpha = "clip", drawtype = "nodebox", selection_box = {type = "fixed", fixed = roots_cube}, node_box = {type = "fixed", fixed = roots_sheet}, diff --git a/youngtrees/init.lua b/youngtrees/init.lua index 96bcb9a..586b5e4 100644 --- a/youngtrees/init.lua +++ b/youngtrees/init.lua @@ -31,6 +31,7 @@ minetest.register_node("youngtrees:youngtree2_middle",{ description = S("Young Tree 2 (middle)"), drawtype="nodebox", tiles = {"youngtree2branch.png"}, + use_texture_alpha = "clip", inventory_image = "youngtree2branch.png", wield_image = "youngtree2branch.png", paramtype = "light",