1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-26 18:40:18 +01:00

Merge pull request #75 from fat115/master

global i18n : add plantlife_i18n mod
This commit is contained in:
Vanessa Ezekowitz 2017-08-12 16:34:55 -04:00 committed by GitHub
commit 6fe2a34fa5
71 changed files with 3310 additions and 577 deletions

View File

@ -1,4 +1,5 @@
default default
biome_lib biome_lib
plantlife_i18n
stonage? stonage?
sumpf? sumpf?

View File

@ -5,10 +5,12 @@
-- Branch textures created by Neuromancer. -- Branch textures created by Neuromancer.
-- Licence for Code and Non-Bush leaf code is WTFPL. -- Licence for Code and Non-Bush leaf code is WTFPL.
-- support for i18n
local S = plantlife_i18n.gettext
abstract_bushes = {} abstract_bushes = {}
minetest.register_node("bushes:youngtree2_bottom", { minetest.register_node("bushes:youngtree2_bottom", {
description = "Young Tree 2 (bottom)", description = S("Young Tree 2 (bottom)"),
drawtype="nodebox", drawtype="nodebox",
tiles = {"bushes_youngtree2trunk.png"}, tiles = {"bushes_youngtree2trunk.png"},
inventory_image = "bushes_youngtree2trunk_inv.png", inventory_image = "bushes_youngtree2trunk_inv.png",
@ -33,7 +35,7 @@ for i in pairs(BushBranchCenter) do
local Num = BushBranchCenter[i][1] local Num = BushBranchCenter[i][1]
local TexNum = BushBranchCenter[i][2] local TexNum = BushBranchCenter[i][2]
minetest.register_node("bushes:bushbranches"..Num, { minetest.register_node("bushes:bushbranches"..Num, {
description = "Bush Branches "..Num, description = S("Bush Branches @1", Num),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"bushes_leaves_"..TexNum..".png", "bushes_leaves_"..TexNum..".png",
@ -70,7 +72,7 @@ for i in pairs(BushBranchSide) do
local Num = BushBranchSide[i][1] local Num = BushBranchSide[i][1]
local TexNum = BushBranchSide[i][2] local TexNum = BushBranchSide[i][2]
minetest.register_node("bushes:bushbranches"..Num, { minetest.register_node("bushes:bushbranches"..Num, {
description = "Bush Branches "..Num, description = S("Bush Branches @1", Num),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
--[[top]] "bushes_leaves_"..TexNum..".png", --[[top]] "bushes_leaves_"..TexNum..".png",
@ -112,7 +114,7 @@ local BushLeafNode = { {1}, {2}}
for i in pairs(BushLeafNode) do for i in pairs(BushLeafNode) do
local Num = BushLeafNode[i][1] local Num = BushLeafNode[i][1]
minetest.register_node("bushes:BushLeaves"..Num, { minetest.register_node("bushes:BushLeaves"..Num, {
description = "Bush Leaves "..Num, description = S("Bush Leaves @1", Num),
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
tiles = {"bushes_leaves_"..Num..".png"}, tiles = {"bushes_leaves_"..Num..".png"},
paramtype = "light", paramtype = "light",

View File

@ -1,9 +1,5 @@
local S -- support for i18n
if minetest.get_modpath("intllib") then local S = plantlife_i18n.gettext
S = intllib.Getter()
else
S = function(s) return s end
end
-- Basket -- Basket
@ -32,10 +28,9 @@ minetest.register_craft({
}) })
for i, berry in ipairs(bushes_classic.bushes) do for i, berry in ipairs(bushes_classic.bushes) do
local desc = bushes_classic.bushes_descriptions[i]
minetest.register_craftitem(":bushes:"..berry.."_pie_raw", { minetest.register_craftitem(":bushes:"..berry.."_pie_raw", {
description = S("Raw "..desc.." pie"), description = bushes_classic.bushes_descriptions[i][2],
inventory_image = "bushes_"..berry.."_pie_raw.png", inventory_image = "bushes_"..berry.."_pie_raw.png",
on_use = minetest.item_eat(4), on_use = minetest.item_eat(4),
}) })
@ -49,7 +44,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
if berry == "strawberry" and minetest.registered_nodes["farming_plus:strawberry"] then if berry == "strawberry" and minetest.registered_nodes["farming_plus:strawberry"] then
minetest.register_craftitem(":farming_plus:strawberry_item", { minetest.register_craftitem(":farming_plus:strawberry_item", {
description = S("Strawberry"), description = bushes_classic.bushes_descriptions[i][1],
inventory_image = "bushes_"..berry..".png", inventory_image = "bushes_"..berry..".png",
on_use = minetest.item_eat(2), on_use = minetest.item_eat(2),
groups = {berry=1, strawberry=1} groups = {berry=1, strawberry=1}
@ -58,7 +53,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
elseif berry == "blueberry" and minetest.registered_items["farming:blueberries"] then elseif berry == "blueberry" and minetest.registered_items["farming:blueberries"] then
minetest.register_craftitem(":farming:blueberries", { minetest.register_craftitem(":farming:blueberries", {
description = S("Blueberry"), description = bushes_classic.bushes_descriptions[i][1],
inventory_image = "bushes_"..berry..".png", inventory_image = "bushes_"..berry..".png",
on_use = minetest.item_eat(1), on_use = minetest.item_eat(1),
groups = {berry=1, blueberry=1} groups = {berry=1, blueberry=1}
@ -67,7 +62,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
elseif berry == "raspberry" and minetest.registered_items["farming:raspberries"] then elseif berry == "raspberry" and minetest.registered_items["farming:raspberries"] then
minetest.register_craftitem(":farming:raspberries", { minetest.register_craftitem(":farming:raspberries", {
description = S("Raspberry"), description = bushes_classic.bushes_descriptions[i][1],
inventory_image = "bushes_"..berry..".png", inventory_image = "bushes_"..berry..".png",
on_use = minetest.item_eat(1), on_use = minetest.item_eat(1),
groups = {berry=1, raspberry=1} groups = {berry=1, raspberry=1}
@ -76,7 +71,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
else else
minetest.register_craftitem(":bushes:"..berry, { minetest.register_craftitem(":bushes:"..berry, {
description = S(desc), description = bushes_classic.bushes_descriptions[i][1],
inventory_image = "bushes_"..berry..".png", inventory_image = "bushes_"..berry..".png",
groups = {berry = 1, [berry] = 1}, groups = {berry = 1, [berry] = 1},
on_use = minetest.item_eat(1), on_use = minetest.item_eat(1),
@ -95,7 +90,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
-- Cooked pie -- Cooked pie
minetest.register_craftitem(":bushes:"..berry.."_pie_cooked", { minetest.register_craftitem(":bushes:"..berry.."_pie_cooked", {
description = S("Cooked "..desc.." pie"), description = bushes_classic.bushes_descriptions[i][3],
inventory_image = "bushes_"..berry.."_pie_cooked.png", inventory_image = "bushes_"..berry.."_pie_cooked.png",
on_use = minetest.item_eat(6), on_use = minetest.item_eat(6),
}) })
@ -110,7 +105,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
-- slice of pie -- slice of pie
minetest.register_craftitem(":bushes:"..berry.."_pie_slice", { minetest.register_craftitem(":bushes:"..berry.."_pie_slice", {
description = S("Slice of "..desc.." pie"), description = bushes_classic.bushes_descriptions[i][4],
inventory_image = "bushes_"..berry.."_pie_slice.png", inventory_image = "bushes_"..berry.."_pie_slice.png",
on_use = minetest.item_eat(1), on_use = minetest.item_eat(1),
}) })
@ -141,5 +136,3 @@ minetest.register_craft({
{ "group:berry", "group:berry", "group:berry" }, { "group:berry", "group:berry", "group:berry" },
}, },
}) })

View File

@ -1,3 +1,4 @@
biome_lib biome_lib
plantlife_i18n
farming? farming?
farming_plus? farming_plus?

View File

@ -3,17 +3,13 @@
-- --
-- License: WTFPL -- License: WTFPL
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
bushes_classic = {} bushes_classic = {}
-- support for i18n
local S = plantlife_i18n.gettext
bushes_classic.bushes = { bushes_classic.bushes = {
"strawberry", "strawberry",
"blackberry", "blackberry",
"blueberry", "blueberry",
"raspberry", "raspberry",
@ -22,12 +18,12 @@ bushes_classic.bushes = {
} }
bushes_classic.bushes_descriptions = { bushes_classic.bushes_descriptions = {
"Strawberry", {S("Strawberry"), S("Raw Strawberry pie"), S("Cooked Strawberry pie"), S("Slice of Strawberry pie"), S("Basket with Strawberry pies"), S("Strawberry Bush")},
"Blackberry", {S("Blackberry"), S("Raw Blackberry pie"), S("Cooked Blackberry pie"), S("Slice of Blackberry pie"), S("Basket with Blackberry pies"), S("Blackberry Bush")},
"Blueberry", {S("Blueberry"), S("Raw Blueberry pie"), S("Cooked Blueberry pie"), S("Slice of Blueberry pie"), S("Basket with Blueberry pies"), S("Blueberry Bush")},
"Raspberry", {S("Raspberry"), S("Raw Raspberry pie"), S("Cooked Raspberry pie"), S("Slice of Raspberry pie"), S("Basket with Raspberry pies"), S("Raspberry Bush")},
"Gooseberry", {S("Gooseberry"), S("Raw Gooseberry pie"), S("Cooked Gooseberry pie"), S("Slice of Gooseberry pie"), S("Basket with Gooseberry pies"), S("Gooseberry Bush")},
"Mixed Berry" {S("Mixed Berry"), S("Raw Mixed Berry pie"), S("Cooked Mixed Berry pie"), S("Slice of Mixed Berry pie"), S("Basket with Mixed Berry pies"), S("Currently fruitless Bush")}
} }
bushes_classic.spawn_list = {} bushes_classic.spawn_list = {}

View File

@ -1,43 +0,0 @@
# Translation by Xanthin
Strawberry = Erdbeere
Blackberry = Brombeere
Blueberry = Blaubeere
Raspberry = Himbeere
Gooseberry = Stachelbeere
Mixed Berry = Beerenmix
Basket with Strawberry Pies = Korb mit Erdbeertorten
Basket with Blackberry Pies = Korb mit Brombeertorten
Basket with Blueberry Pies = Korb mit Blaubeertorten
Basket with Raspberry Pies = Korb mit Himbeertorten
Basket with Gooseberry Pies = Korb mit Stachelbeertorten
Basket with Mixed Berry Pies = Korb mit Beerenmixtorten
currently fruitless = zur Zeit fruechteloser
Strawberry Bush = Erdbeerbusch
Blackberry Bush = Brombeerbusch
Blueberry Bush = Blaubeerbusch
Raspberry Bush = Himbeerbusch
Gooseberry Bush = Stachelbeerbusch
Mixed Berry Bush = Beerenmixbusch
Basket = Korb
Sugar = Zucker
Raw Strawberry pie = Rohe Erdbeertorte
Raw Blackberry pie = Rohe Brombeertorte
Raw Blueberry pie = Rohe Blaubeertorte
Raw Raspberry pie = Rohe Himbeertorte
Raw Gooseberry pie = Rohe Stachelbeertorte
Raw Mixed Berry pie = Rohe Beerenmixtorte
Cooked Strawberry pie = Erdbeertorte
Cooked Blackberry pie = Brombeertorte
Cooked Blueberry pie = Blaubeertorte
Cooked Raspberry pie = Himbeertorte
Cooked Gooseberry pie = Stachelbeertorte
Cooked Mixed Berry pie = Beerenmixtorte
Slice of Strawberry pie = Erdbeertortenstueck
Slice of Blackberry pie = Brombeertortenstueck
Slice of Blueberry pie = Blaubeertortenstueck
Slice of Raspberry pie = Himbeertortenstueck
Slice of Gooseberry pie = Stachelbeertortenstueck
Slice of Mixed Berry pie = Beerenmixtortenstueck
[Bushes] Loaded. = [Bushes] Geladen.

View File

@ -1,43 +0,0 @@
# Traducido por Carlos Barraza
Strawberry = Frutilla
Blackberry = Mora
Blueberry = Arándano
Raspberry = Frambuesa
Gooseberry = Grosella
Mixed Berry = Mezcla de Baya
Basket with Strawberry Pies = Cesta con Pasteles de Frutilla
Basket with Blackberry Pies = Cesta con Pasteles de Mora
Basket with Blueberry Pies = Cesta con Pasteles de Arándano
Basket with Raspberry Pies = Cesta con Pasteles de Frambuesa
Basket with Gooseberry Pies = Cesta con Pasteles de Grosella
Basket with Mixed Berry Pies = Cesta con Pasteles de Mezcla de Baya
currently fruitless = Actualmente infructuoso
Strawberry Bush = Arbusto de Frutilla
Blackberry Bush = Arbusto de Mora
Blueberry Bush = Arbusto de Arándano
Raspberry Bush = Arbusto de Frambuesa
Gooseberry Bush = Arbusto de Grosella
Mixed Berry Bush = Arbusto de Mezcla de Baya
Basket = Cesta
Sugar = Azúcar
Raw Strawberry pie = Pastel de Frutilla Crudo
Raw Blackberry pie = Pastel de Mora Crudo
Raw Blueberry pie = Pastel de Arándano Crudo
Raw Raspberry pie = Pastel de Frambuesa Crudo
Raw Gooseberry pie = Pastel de Grosella Crudo
Raw Mixed Berry pie = Pastel de Mezcla de Bayas Cruda
Cooked Strawberry pie = Pastel de Frutilla Cocido
Cooked Blackberry pie = Pastel de Mora Cocido
Cooked Blueberry pie = Pastel de Arándano Cocido
Cooked Raspberry pie = Pastel de Frambuesa Cocido
Cooked Gooseberry pie = Pastel de Grosella Cocido
Cooked Mixed Berry pie = Pastel de Mezcla de Bayas Cocido
Slice of Strawberry pie = Rebanada de Pastel de Frutilla
Slice of Blackberry pie = Rebanada de Pastel de Mora
Slice of Blueberry pie = Rebanada de Pastel de Arándano
Slice of Raspberry pie = Rebanada de Pastel de Frambuesa
Slice of Gooseberry pie = Rebanada de Pastel de Grosella
Slice of Mixed Berry pie = Rebanada de Pastel de Mezcla de Bayas
[Bushes] Loaded. = [Arbustos] Cargado.

View File

@ -1,43 +0,0 @@
# Template
Strawberry = Fraise
Blackberry = Mûre
Blueberry = Myrtille
Raspberry = Framboise
Gooseberry = Groseille
Mixed Berry = Mélange de baies
Basket with Strawberry Pies = Panier de tartes aux fraises
Basket with Blackberry Pies = Panier de tartes aux mûres
Basket with Blueberry Pies = Panier de tartes aux myrtilles
Basket with Raspberry Pies = Panier de tartes aux framboises
Basket with Gooseberry Pies = Panier de tartes aux groseilles
Basket with Mixed Berry Pies = Panier de tartes au mélange de baies
currently fruitless = actuellement sans fruit
Strawberry Bush = Buisson à fraise
Blackberry Bush = Buisson à mûre
Blueberry Bush = Buisson à myrtille
Raspberry Bush = Buisson à framboise
Gooseberry Bush = Buisson à groseille
Mixed Berry Bush = Buisson de baies mélangées
Basket = Panier
Sugar = Sucre
Raw Strawberry pie = Tarte crue aux fraises
Raw Blackberry pie = Tarte crue aux mûres
Raw Blueberry pie = Tarte crue aux myrtilles
Raw Raspberry pie = Tarte crue aux framboises
Raw Gooseberry pie = Tarte crue aux groseilles
Raw Mixed Berry pie = Tarte crue au mélange de baies
Cooked Strawberry pie = Tarte cuite aux fraises
Cooked Blackberry pie = Tarte cuite aux mûres
Cooked Blueberry pie = Tarte cuite aux myrtilles
Cooked Raspberry pie = Tarte cuite aux framboises
Cooked Gooseberry pie = Tarte cuite aux groseilles
Cooked Mixed Berry pie = Tarte cuite au mélange de baies
Slice of Strawberry pie = Part de tarte aux fraises
Slice of Blackberry pie = Part de tarte aux mûres
Slice of Blueberry pie = Part de tarte aux myrtilles
Slice of Raspberry pie = Part de tarts aux framboises
Slice of Gooseberry pie = Part de tarte aux groseilles
Slice of Mixed Berry pie = Part de tarte au mélange de baies
[Bushes] Loaded. = [Buissons] Chargés.

View File

@ -1,43 +0,0 @@
# Template
Strawberry =
Blackberry =
Blueberry =
Raspberry =
Gooseberry =
Mixed Berry =
Basket with Strawberry Pies =
Basket with Blackberry Pies =
Basket with Blueberry Pies =
Basket with Raspberry Pies =
Basket with Gooseberry Pies =
Basket with Mixed Berry Pies =
currently fruitless =
Strawberry Bush =
Blackberry Bush =
Blueberry Bush =
Raspberry Bush =
Gooseberry Bush =
Mixed Berry Bush =
Basket =
Sugar =
Raw Strawberry pie =
Raw Blackberry pie =
Raw Blueberry pie =
Raw Raspberry pie =
Raw Gooseberry pie =
Raw Mixed Berry pie =
Cooked Strawberry pie =
Cooked Blackberry pie =
Cooked Blueberry pie =
Cooked Raspberry pie =
Cooked Gooseberry pie =
Cooked Mixed Berry pie =
Slice of Strawberry pie =
Slice of Blackberry pie =
Slice of Blueberry pie =
Slice of Raspberry pie =
Slice of Gooseberry pie =
Slice of Mixed Berry pie =
[Bushes] Loaded. =

View File

@ -1,44 +0,0 @@
# Turkish translation
# mahmutelmas06@hotmail.com
Strawberry = Çilek
Blackberry = Böğürtlen
Blueberry = Yaban mersini
Raspberry = Ahududu
Gooseberry = Bektaşi üzümü
Mixed Berry = Dut
Basket with Strawberry Pies = Çilekli pasta sepeti
Basket with Blackberry Pies = Böğürtlenli pasta sepeti
Basket with Blueberry Pies = Yaban mersini pastalı sepet
Basket with Raspberry Pies = Ahududulu pasta sepeti
Basket with Gooseberry Pies = Bektaşi üzümlü pasta sepeti
Basket with Mixed Berry Pies = Dutlu pasta sepeti
currently fruitless = şu anda meyvesiz
Strawberry Bush = Çilek fidanı
Blackberry Bush = Böğürtlen fidanı
Blueberry Bush = Yaban mersini fidanı
Raspberry Bush = Ahududu fidanı
Gooseberry Bush = Bektaşi üzümü fidanı
Mixed Berry Bush = Dut fidanı
Basket = Sepet
Sugar = Şeker
Raw Strawberry pie = Çilekli çiğ pasta
Raw Blackberry pie = Böğürtlenli çiğ pasta
Raw Blueberry pie = Yaban mersinli çiğ pasta
Raw Raspberry pie = Ahududulu çiğ pasta
Raw Gooseberry pie = Bektaşi üzümlü çiğ pasta
Raw Mixed Berry pie = Dutlu çiğ pasta
Cooked Strawberry pie = Pişmiş çilekli pasta
Cooked Blackberry pie = Pişmiş böğürtlenli pasta
Cooked Blueberry pie = Pişmiş yaban mersinli pasta
Cooked Raspberry pie = Pişmiş ahududulu pasta
Cooked Gooseberry pie = Pişmiş bektaşi üzümlü pasta
Cooked Mixed Berry pie = Pişmiş dutlu pasta
Slice of Strawberry pie = Çilekli pasta dilimi
Slice of Blackberry pie = Böğürtlenli pasta dilimi
Slice of Blueberry pie = Yaban mersinli pasta dilimi
Slice of Raspberry pie = Ahududulu pasta dilimi
Slice of Gooseberry pie = Bektaşi üzümlü pasta dilimi
Slice of Mixed Berry pie = Dutlu pasta dilimi
[Bushes] Loaded. = [Bushes] yüklendi.

View File

@ -1,9 +1,5 @@
local S -- support for i18n
if minetest.get_modpath("intllib") then local S = plantlife_i18n.gettext
S = intllib.Getter()
else
S = function(s) return s end
end
plantlife_bushes = {} plantlife_bushes = {}
@ -16,7 +12,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
-- find out which bush type we are dealing with -- find out which bush type we are dealing with
local bush_name = "" local bush_name = ""
local can_harvest = false local can_harvest = false
if oldnode.name == "bushes:fruitless_bush" then if oldnode.name == "bushes:fruitless_bush" then
-- this bush has not grown fruits yet (but will eventually) -- this bush has not grown fruits yet (but will eventually)
bush_name = oldmetadata.fields.bush_type bush_name = oldmetadata.fields.bush_type
@ -151,10 +147,8 @@ minetest.register_abm({
for i, bush_name in ipairs(bushes_classic.bushes) do for i, bush_name in ipairs(bushes_classic.bushes) do
local desc = bushes_classic.bushes_descriptions[i]
minetest.register_node(":bushes:basket_"..bush_name, { minetest.register_node(":bushes:basket_"..bush_name, {
description = S("Basket with "..desc.." Pies"), description = bushes_classic.bushes_descriptions[i][5],
drawtype = "mesh", drawtype = "mesh",
mesh = "bushes_basket_full.obj", mesh = "bushes_basket_full.obj",
tiles = { tiles = {
@ -172,7 +166,6 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
local groups = {snappy = 3, bush = 1, flammable = 2, attached_node=1} local groups = {snappy = 3, bush = 1, flammable = 2, attached_node=1}
if bush_name == "mixed_berry" then if bush_name == "mixed_berry" then
bush_name = "fruitless"; bush_name = "fruitless";
desc = S("currently fruitless");
texture_top = "bushes_fruitless_bush_top.png" texture_top = "bushes_fruitless_bush_top.png"
texture_bottom = "bushes_fruitless_bush_bottom.png" texture_bottom = "bushes_fruitless_bush_bottom.png"
groups.not_in_creative_inventory = 1 groups.not_in_creative_inventory = 1
@ -182,7 +175,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
end end
minetest.register_node(":bushes:" .. bush_name .. "_bush", { minetest.register_node(":bushes:" .. bush_name .. "_bush", {
description = S(desc.." Bush"), description = bushes_classic.bushes_descriptions[i][6],
drawtype = "mesh", drawtype = "mesh",
mesh = "bushes_bush.obj", mesh = "bushes_bush.obj",
tiles = {"bushes_bush_"..bush_name..".png"}, tiles = {"bushes_bush_"..bush_name..".png"},
@ -215,5 +208,3 @@ minetest.register_node(":bushes:basket_empty", {
paramtype2 = "facedir", paramtype2 = "facedir",
groups = { dig_immediate = 3 }, groups = { dig_immediate = 3 },
}) })

View File

@ -1,2 +1,2 @@
default default
plantlife_i18n

View File

@ -4,6 +4,9 @@ local version = "0.0.3"
local mname = "cavestuff" local mname = "cavestuff"
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("cavestuff").."/nodes.lua") dofile(minetest.get_modpath("cavestuff").."/nodes.lua")
dofile(minetest.get_modpath("cavestuff").."/mapgen.lua") dofile(minetest.get_modpath("cavestuff").."/mapgen.lua")

View File

@ -1,3 +1,6 @@
-- support for i18n
local S = plantlife_i18n.gettext
--Rocks --Rocks
local cbox = { local cbox = {
@ -6,7 +9,7 @@ local cbox = {
} }
minetest.register_node("cavestuff:pebble_1",{ minetest.register_node("cavestuff:pebble_1",{
description = "Pebble", description = S("Pebble"),
drawtype = "mesh", drawtype = "mesh",
mesh = "cavestuff_pebble.obj", mesh = "cavestuff_pebble.obj",
tiles = {"undergrowth_pebble.png"}, tiles = {"undergrowth_pebble.png"},
@ -39,7 +42,7 @@ minetest.register_node("cavestuff:pebble_2",{
}) })
minetest.register_node("cavestuff:desert_pebble_1",{ minetest.register_node("cavestuff:desert_pebble_1",{
description = "Desert Pebble", description = S("Desert Pebble"),
drawtype = "mesh", drawtype = "mesh",
mesh = "cavestuff_pebble.obj", mesh = "cavestuff_pebble.obj",
tiles = {"default_desert_stone.png"}, tiles = {"default_desert_stone.png"},
@ -76,7 +79,7 @@ minetest.register_node("cavestuff:stalactite_1",{
drawtype="nodebox", drawtype="nodebox",
tiles = {"undergrowth_pebble.png"}, tiles = {"undergrowth_pebble.png"},
groups = {cracky=3,attached_node=1}, groups = {cracky=3,attached_node=1},
description = "Stalactite", description = S("Stalactite"),
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
node_box = { node_box = {
@ -88,10 +91,10 @@ minetest.register_node("cavestuff:stalactite_1",{
{-0.037500,-0.837500,0.037500,0.037500,0.500000,-0.025000}, {-0.037500,-0.837500,0.037500,0.037500,0.500000,-0.025000},
} }
}, },
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
local pt = pointed_thing local pt = pointed_thing
if minetest.get_node(pt.under).name=="default:stone" if minetest.get_node(pt.under).name=="default:stone"
and minetest.get_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}).name=="air" and minetest.get_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}).name=="air"
and minetest.get_node({x=pt.under.x, y=pt.under.y-2, z=pt.under.z}).name=="air" then and minetest.get_node({x=pt.under.x, y=pt.under.y-2, z=pt.under.z}).name=="air" then
minetest.set_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}, {name="cavestuff:stalactite_"..math.random(1,3)}) minetest.set_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}, {name="cavestuff:stalactite_"..math.random(1,3)})
@ -140,6 +143,3 @@ minetest.register_node("cavestuff:stalactite_3",{
}) })
--Stalagmites --Stalagmites

View File

@ -1,3 +1,4 @@
default default
biome_lib biome_lib
plantlife_i18n
farming? farming?

View File

@ -7,13 +7,16 @@ local mname = "dryplants"
-- textures & ideas partly by Neuromancer -- textures & ideas partly by Neuromancer
-- License (everything): WTFPL -- License (everything): WTFPL
-- Contains code from: default, farming -- Contains code from: default, farming
-- Looked at code from: darkage, sickle, stairs -- Looked at code from: darkage, sickle, stairs
-- Dependencies: default, farming, biome_lib -- Dependencies: default, farming, biome_lib
-- Supports: -- Supports:
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
abstract_dryplants = {} abstract_dryplants = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("dryplants").."/crafting.lua") dofile(minetest.get_modpath("dryplants").."/crafting.lua")
dofile(minetest.get_modpath("dryplants").."/settings.txt") dofile(minetest.get_modpath("dryplants").."/settings.txt")
dofile(minetest.get_modpath("dryplants").."/reed.lua") dofile(minetest.get_modpath("dryplants").."/reed.lua")
@ -111,7 +114,7 @@ local function sickle_on_use(itemstack, user, pointed_thing, uses)
end end
-- the tool -- the tool
minetest.register_tool("dryplants:sickle", { minetest.register_tool("dryplants:sickle", {
description = "Sickle", description = S("Sickle"),
inventory_image = "dryplants_sickle.png", inventory_image = "dryplants_sickle.png",
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
return sickle_on_use(itemstack, user, pointed_thing, 220) return sickle_on_use(itemstack, user, pointed_thing, 220)
@ -122,7 +125,7 @@ minetest.register_tool("dryplants:sickle", {
-- Cut Grass -- Cut Grass
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:grass", { minetest.register_node("dryplants:grass", {
description = "Cut Grass", description = S("Cut Grass"),
inventory_image = "dryplants_grass.png", inventory_image = "dryplants_grass.png",
wield_image = "dryplants_grass.png", wield_image = "dryplants_grass.png",
paramtype = "light", paramtype = "light",
@ -153,7 +156,7 @@ minetest.register_abm({
-- Hay -- Hay
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:hay", { minetest.register_node("dryplants:hay", {
description = "Hay", description = S("Hay"),
inventory_image = "dryplants_hay.png", inventory_image = "dryplants_hay.png",
wield_image = "dryplants_hay.png", wield_image = "dryplants_hay.png",
paramtype = "light", paramtype = "light",
@ -172,7 +175,7 @@ minetest.register_node("dryplants:hay", {
-- Short Grass -- Short Grass
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:grass_short", { minetest.register_node("dryplants:grass_short", {
description = "Short Grass", description = S("Short Grass"),
tiles = {"default_grass.png^dryplants_grass_short.png", "default_dirt.png", "default_dirt.png^default_grass_side.png^dryplants_grass_short_side.png"}, tiles = {"default_grass.png^dryplants_grass_short.png", "default_dirt.png", "default_dirt.png^default_grass_side.png^dryplants_grass_short_side.png"},
is_ground_content = true, is_ground_content = true,
groups = {crumbly=3,soil=1,not_in_creative_inventory=1}, groups = {crumbly=3,soil=1,not_in_creative_inventory=1},
@ -190,11 +193,11 @@ minetest.register_abm({
interval = GRASS_REGROWING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle interval = GRASS_REGROWING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle
chance = 100/GRASS_REGROWING_CHANCE, chance = 100/GRASS_REGROWING_CHANCE,
action = function(pos) action = function(pos)
-- Only become dirt with grass if no cut grass or hay lies on top -- Only become dirt with grass if no cut grass or hay lies on top
local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}) local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z})
if above.name ~= "dryplants:grass" and above.name ~= "dryplants:hay" then if above.name ~= "dryplants:grass" and above.name ~= "dryplants:hay" then
minetest.set_node(pos, {name="default:dirt_with_grass"}) minetest.set_node(pos, {name="default:dirt_with_grass"})
end end
end, end,
}) })

View File

@ -6,9 +6,12 @@
-- License (everything): WTFPL -- License (everything): WTFPL
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: default -- Looked at code from: default
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- support for i18n
local S = plantlife_i18n.gettext
abstract_dryplants.grow_juncus = function(pos) abstract_dryplants.grow_juncus = function(pos)
local juncus_type = math.random(2,3) local juncus_type = math.random(2,3)
local right_here = {x=pos.x, y=pos.y+1, z=pos.z} local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
@ -23,7 +26,7 @@ abstract_dryplants.grow_juncus = function(pos)
end end
minetest.register_node("dryplants:juncus", { minetest.register_node("dryplants:juncus", {
description = "Juncus", description = S("Juncus"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -45,8 +48,8 @@ minetest.register_node("dryplants:juncus", {
}, },
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
local playername = placer:get_player_name() local playername = placer:get_player_name()
if minetest.is_protected(pointed_thing.above, playername) or if minetest.is_protected(pointed_thing.above, playername) or
minetest.is_protected(pointed_thing.under, playername) then minetest.is_protected(pointed_thing.under, playername) then
minetest.chat_send_player(playername, "Someone else owns that spot.") minetest.chat_send_player(playername, "Someone else owns that spot.")
return return
end end
@ -65,7 +68,7 @@ minetest.register_node("dryplants:juncus", {
end, end,
}) })
minetest.register_node("dryplants:juncus_02", { minetest.register_node("dryplants:juncus_02", {
description = "Juncus", description = S("Juncus"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -92,7 +95,7 @@ minetest.register_node("dryplants:juncus_02", {
-- near water or swamp -- near water or swamp
biome_lib:register_generate_plant({ biome_lib:register_generate_plant({
surface = { surface = {
"default:dirt_with_grass", "default:dirt_with_grass",
--"default:desert_sand", --"default:desert_sand",
--"default:sand", --"default:sand",
"stoneage:grass_with_silex", "stoneage:grass_with_silex",
@ -113,7 +116,7 @@ biome_lib:register_generate_plant({
-- at dunes/beach -- at dunes/beach
biome_lib:register_generate_plant({ biome_lib:register_generate_plant({
surface = { surface = {
--"default:dirt_with_grass", --"default:dirt_with_grass",
--"default:desert_sand", --"default:desert_sand",
"default:sand", "default:sand",
--"stoneage:grass_with_silex", --"stoneage:grass_with_silex",

View File

@ -4,8 +4,11 @@
-- by Mossmanikin -- by Mossmanikin
-- License (everything): WTFPL -- License (everything): WTFPL
-- Looked at code from: darkage, default, stairs -- Looked at code from: darkage, default, stairs
-- Dependencies: default -- Dependencies: default
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- support for i18n
local S = plantlife_i18n.gettext
minetest.register_alias("stairs:stair_wetreed", "dryplants:wetreed_roof") minetest.register_alias("stairs:stair_wetreed", "dryplants:wetreed_roof")
minetest.register_alias("stairs:slab_wetreed", "dryplants:wetreed_slab") minetest.register_alias("stairs:slab_wetreed", "dryplants:wetreed_slab")
minetest.register_alias("stairs:stair_reed", "dryplants:reed_roof") minetest.register_alias("stairs:stair_reed", "dryplants:reed_roof")
@ -16,7 +19,7 @@ minetest.register_alias("stairs:slab_reed", "dryplants:reed_slab")
-- Wet Reed -- Wet Reed
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:wetreed", { minetest.register_node("dryplants:wetreed", {
description = "Wet Reed", description = S("Wet Reed"),
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = {"dryplants_reed_wet.png"}, tiles = {"dryplants_reed_wet.png"},
@ -28,7 +31,7 @@ minetest.register_node("dryplants:wetreed", {
-- Wet Reed Slab -- Wet Reed Slab
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:wetreed_slab", { minetest.register_node("dryplants:wetreed_slab", {
description = "Wet Reed Slab", description = S("Wet Reed Slab"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -49,7 +52,7 @@ minetest.register_node("dryplants:wetreed_slab", {
-- Wet Reed Roof -- Wet Reed Roof
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:wetreed_roof", { minetest.register_node("dryplants:wetreed_roof", {
description = "Wet Reed Roof", description = S("Wet Reed Roof"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -93,7 +96,7 @@ if AUTO_ROOF_CORNER == true then
interval = 1, interval = 1,
chance = 1, chance = 1,
action = function(pos) action = function(pos)
local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z }) local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z })
local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z }) local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z })
local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1}) local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1})
@ -106,7 +109,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner, param2=0}) minetest.set_node(pos, {name=corner, param2=0})
end end
if ((node_north.name == roof and node_north.param2 == 1) if ((node_north.name == roof and node_north.param2 == 1)
or (node_north.name == corner and node_north.param2 == 2)) or (node_north.name == corner and node_north.param2 == 2))
and ((node_east.name == roof and node_east.param2 == 0) and ((node_east.name == roof and node_east.param2 == 0)
@ -114,7 +117,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner, param2=1}) minetest.set_node(pos, {name=corner, param2=1})
end end
if ((node_east.name == roof and node_east.param2 == 2) if ((node_east.name == roof and node_east.param2 == 2)
or (node_east.name == corner and node_east.param2 == 3)) or (node_east.name == corner and node_east.param2 == 3))
and ((node_south.name == roof and node_south.param2 == 1) and ((node_south.name == roof and node_south.param2 == 1)
@ -122,7 +125,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner, param2=2}) minetest.set_node(pos, {name=corner, param2=2})
end end
if ((node_south.name == roof and node_south.param2 == 3) if ((node_south.name == roof and node_south.param2 == 3)
or (node_south.name == corner and node_south.param2 == 0)) or (node_south.name == corner and node_south.param2 == 0))
and ((node_west.name == roof and node_west.param2 == 2) and ((node_west.name == roof and node_west.param2 == 2)
@ -138,7 +141,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner_2, param2=0}) minetest.set_node(pos, {name=corner_2, param2=0})
end end
if ((node_north.name == roof and node_north.param2 == 3) if ((node_north.name == roof and node_north.param2 == 3)
or (node_north.name == corner_2 and node_north.param2 == 2)) or (node_north.name == corner_2 and node_north.param2 == 2))
and ((node_east.name == roof and node_east.param2 == 2) and ((node_east.name == roof and node_east.param2 == 2)
@ -146,7 +149,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner_2, param2=1}) minetest.set_node(pos, {name=corner_2, param2=1})
end end
if ((node_east.name == roof and node_east.param2 == 0) if ((node_east.name == roof and node_east.param2 == 0)
or (node_east.name == corner_2 and node_east.param2 == 3)) or (node_east.name == corner_2 and node_east.param2 == 3))
and ((node_south.name == roof and node_south.param2 == 3) and ((node_south.name == roof and node_south.param2 == 3)
@ -154,7 +157,7 @@ if AUTO_ROOF_CORNER == true then
then then
minetest.set_node(pos, {name=corner_2, param2=2}) minetest.set_node(pos, {name=corner_2, param2=2})
end end
if ((node_south.name == roof and node_south.param2 == 1) if ((node_south.name == roof and node_south.param2 == 1)
or (node_south.name == corner_2 and node_south.param2 == 0)) or (node_south.name == corner_2 and node_south.param2 == 0))
and ((node_west.name == roof and node_west.param2 == 0) and ((node_west.name == roof and node_west.param2 == 0)
@ -172,7 +175,7 @@ end
-- Wet Reed Roof Corner -- Wet Reed Roof Corner
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:wetreed_roof_corner", { minetest.register_node("dryplants:wetreed_roof_corner", {
description = "Wet Reed Roof Corner", description = S("Wet Reed Roof Corner"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -202,7 +205,7 @@ minetest.register_node("dryplants:wetreed_roof_corner", {
-- Wet Reed Roof Corner 2 -- Wet Reed Roof Corner 2
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:wetreed_roof_corner_2", { minetest.register_node("dryplants:wetreed_roof_corner_2", {
description = "Wet Reed Roof Corner 2", description = S("Wet Reed Roof Corner 2"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -227,7 +230,7 @@ minetest.register_node("dryplants:wetreed_roof_corner_2", {
groups = {snappy=3, flammable=2}, groups = {snappy=3, flammable=2},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- Wet Reed becomes (dry) Reed over time -- Wet Reed becomes (dry) Reed over time
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -262,7 +265,7 @@ end
-- Reed -- Reed
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reed", { minetest.register_node("dryplants:reed", {
description = "Reed", description = S("Reed"),
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = {"dryplants_reed.png"}, tiles = {"dryplants_reed.png"},
@ -274,7 +277,7 @@ minetest.register_node("dryplants:reed", {
-- Reed Slab -- Reed Slab
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reed_slab", { minetest.register_node("dryplants:reed_slab", {
description = "Reed Slab", description = S("Reed Slab"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -295,7 +298,7 @@ minetest.register_node("dryplants:reed_slab", {
-- Reed Roof -- Reed Roof
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reed_roof", { minetest.register_node("dryplants:reed_roof", {
description = "Reed Roof", description = S("Reed Roof"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -323,7 +326,7 @@ minetest.register_node("dryplants:reed_roof", {
-- Reed Roof Corner -- Reed Roof Corner
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reed_roof_corner", { minetest.register_node("dryplants:reed_roof_corner", {
description = "Reed Roof Corner", description = S("Reed Roof Corner"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -353,7 +356,7 @@ minetest.register_node("dryplants:reed_roof_corner", {
-- Reed Roof Corner 2 -- Reed Roof Corner 2
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reed_roof_corner_2", { minetest.register_node("dryplants:reed_roof_corner_2", {
description = "Reed Roof Corner 2", description = S("Reed Roof Corner 2"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",

View File

@ -6,7 +6,7 @@
-- License (everything): WTFPL -- License (everything): WTFPL
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: default, trees -- Looked at code from: default, trees
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- NOTES (from wikipedia, some of this might get implemented) -- NOTES (from wikipedia, some of this might get implemented)
@ -18,6 +18,9 @@
-- Typha stems and leaves can be used to make paper -- Typha stems and leaves can be used to make paper
-- The seed hairs were used by some Native American groups as tinder for starting fires -- The seed hairs were used by some Native American groups as tinder for starting fires
-- support for i18n
local S = plantlife_i18n.gettext
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- REEDMACE SHAPES -- REEDMACE SHAPES
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -70,7 +73,7 @@ abstract_dryplants.grow_reedmace_water = function(pos)
minetest.set_node(pos_02, {name="dryplants:reedmace_height_3_spikes"}) minetest.set_node(pos_02, {name="dryplants:reedmace_height_3_spikes"})
else else
minetest.set_node(pos_02, {name="dryplants:reedmace_height_3"}) minetest.set_node(pos_02, {name="dryplants:reedmace_height_3"})
end end
end end
end end
end end
@ -79,7 +82,7 @@ end
-- REEDMACE SPIKES -- REEDMACE SPIKES
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_spikes", { minetest.register_node("dryplants:reedmace_spikes", {
description = "Reedmace", description = S("Reedmace"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace_spikes.png"}, tiles = {"dryplants_reedmace_spikes.png"},
@ -101,7 +104,7 @@ minetest.register_node("dryplants:reedmace_spikes", {
-- REEDMACE height: 1 -- REEDMACE height: 1
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_top", { minetest.register_node("dryplants:reedmace_top", {
description = "Reedmace, height: 1", description = S("Reedmace, height: 1"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace_top.png"}, tiles = {"dryplants_reedmace_top.png"},
@ -123,7 +126,7 @@ minetest.register_node("dryplants:reedmace_top", {
-- REEDMACE height: 2 -- REEDMACE height: 2
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_height_2", { minetest.register_node("dryplants:reedmace_height_2", {
description = "Reedmace, height: 2", description = S("Reedmace, height: 2"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -146,7 +149,7 @@ minetest.register_node("dryplants:reedmace_height_2", {
-- REEDMACE height: 3 -- REEDMACE height: 3
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_height_3", { minetest.register_node("dryplants:reedmace_height_3", {
description = "Reedmace, height: 3", description = S("Reedmace, height: 3"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -169,7 +172,7 @@ minetest.register_node("dryplants:reedmace_height_3", {
-- REEDMACE height: 3 & Spikes -- REEDMACE height: 3 & Spikes
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_height_3_spikes", { minetest.register_node("dryplants:reedmace_height_3_spikes", {
description = "Reedmace, height: 3 & Spikes", description = S("Reedmace, height: 3 & Spikes"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -192,7 +195,7 @@ minetest.register_node("dryplants:reedmace_height_3_spikes", {
-- REEDMACE STEMS -- REEDMACE STEMS
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace", { minetest.register_node("dryplants:reedmace", {
description = "Reedmace", description = S("Reedmace"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace.png"}, tiles = {"dryplants_reedmace.png"},
@ -212,8 +215,8 @@ minetest.register_node("dryplants:reedmace", {
after_destruct = function(pos,oldnode) after_destruct = function(pos,oldnode)
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
if node.name == "dryplants:reedmace_top" if node.name == "dryplants:reedmace_top"
or node.name == "dryplants:reedmace_spikes" then or node.name == "dryplants:reedmace_spikes" then
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
minetest.add_item(pos,"dryplants:reedmace_sapling") minetest.add_item(pos,"dryplants:reedmace_sapling")
end end
end, end,
@ -222,7 +225,7 @@ minetest.register_node("dryplants:reedmace", {
-- REEDMACE BOTTOM -- REEDMACE BOTTOM
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_bottom", { minetest.register_node("dryplants:reedmace_bottom", {
description = "Reedmace", description = S("Reedmace"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace_bottom.png"}, tiles = {"dryplants_reedmace_bottom.png"},
@ -241,10 +244,10 @@ minetest.register_node("dryplants:reedmace_bottom", {
}, },
after_destruct = function(pos,oldnode) after_destruct = function(pos,oldnode)
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
if node.name == "dryplants:reedmace" if node.name == "dryplants:reedmace"
or node.name == "dryplants:reedmace_top" or node.name == "dryplants:reedmace_top"
or node.name == "dryplants:reedmace_spikes" then or node.name == "dryplants:reedmace_spikes" then
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
minetest.add_item(pos,"dryplants:reedmace_sapling") minetest.add_item(pos,"dryplants:reedmace_sapling")
end end
end, end,
@ -253,7 +256,7 @@ minetest.register_node("dryplants:reedmace_bottom", {
-- REEDMACE "SAPLING" (the drop from the above) -- REEDMACE "SAPLING" (the drop from the above)
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_sapling", { minetest.register_node("dryplants:reedmace_sapling", {
description = "Reedmace", description = S("Reedmace"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace_sapling.png"}, tiles = {"dryplants_reedmace_sapling.png"},
@ -293,7 +296,7 @@ minetest.register_abm({
-- REEDMACE WATER (for entity) -- REEDMACE WATER (for entity)
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("dryplants:reedmace_water", { minetest.register_node("dryplants:reedmace_water", {
description = "Reedmace", description = S("Reedmace"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"dryplants_reedmace_water.png"}, tiles = {"dryplants_reedmace_water.png"},
@ -348,7 +351,7 @@ minetest.register_entity("dryplants:reedmace_water_entity",{
-- near water or swamp -- near water or swamp
biome_lib:register_generate_plant({ biome_lib:register_generate_plant({
surface = { surface = {
"default:dirt_with_grass", "default:dirt_with_grass",
"default:desert_sand", "default:desert_sand",
"stoneage:grass_with_silex", "stoneage:grass_with_silex",
"sumpf:peat", "sumpf:peat",
@ -370,7 +373,7 @@ biome_lib:register_generate_plant({
biome_lib:register_generate_plant({ biome_lib:register_generate_plant({
surface = { surface = {
"default:dirt", "default:dirt",
"default:dirt_with_grass", "default:dirt_with_grass",
--"default:desert_sand", --"default:desert_sand",
--"stoneage:grass_with_silex", --"stoneage:grass_with_silex",
"stoneage:sand_with_silex", "stoneage:sand_with_silex",

View File

@ -1,8 +1,10 @@
-- support for i18n
local S = plantlife_i18n.gettext
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- Ferns - Crafting 0.0.5 -- Ferns - Crafting 0.0.5
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- (by Mossmanikin) -- (by Mossmanikin)
-- License (everything): WTFPL -- License (everything): WTFPL
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
@ -27,7 +29,7 @@ minetest.register_craft({
minetest.register_alias("archaeplantae:fiddlehead", "ferns:fiddlehead") minetest.register_alias("archaeplantae:fiddlehead", "ferns:fiddlehead")
minetest.register_craftitem("ferns:fiddlehead", { minetest.register_craftitem("ferns:fiddlehead", {
description = "Fiddlehead", description = S("Fiddlehead"),
inventory_image = "ferns_fiddlehead.png", inventory_image = "ferns_fiddlehead.png",
on_use = minetest.item_eat(-1), -- slightly poisonous when raw on_use = minetest.item_eat(-1), -- slightly poisonous when raw
}) })
@ -38,7 +40,7 @@ minetest.register_craft({
cooktime = 1, cooktime = 1,
}) })
minetest.register_craftitem("ferns:fiddlehead_roasted", { minetest.register_craftitem("ferns:fiddlehead_roasted", {
description = "Roasted Fiddlehead", description = S("Roasted Fiddlehead"),
inventory_image = "ferns_fiddlehead_roasted.png", inventory_image = "ferns_fiddlehead_roasted.png",
on_use = minetest.item_eat(1), -- edible when cooked on_use = minetest.item_eat(1), -- edible when cooked
}) })
@ -48,7 +50,7 @@ minetest.register_craftitem("ferns:fiddlehead_roasted", {
minetest.register_alias("archaeplantae:ferntuber", "ferns:ferntuber") minetest.register_alias("archaeplantae:ferntuber", "ferns:ferntuber")
minetest.register_craftitem("ferns:ferntuber", { minetest.register_craftitem("ferns:ferntuber", {
description = "Fern Tuber", description = S("Fern Tuber"),
inventory_image = "ferns_ferntuber.png", inventory_image = "ferns_ferntuber.png",
}) })
minetest.register_craft({ minetest.register_craft({
@ -61,7 +63,7 @@ minetest.register_craft({
minetest.register_alias("archaeplantae:ferntuber_roasted", "ferns:ferntuber_roasted") minetest.register_alias("archaeplantae:ferntuber_roasted", "ferns:ferntuber_roasted")
minetest.register_craftitem("ferns:ferntuber_roasted", { minetest.register_craftitem("ferns:ferntuber_roasted", {
description = "Roasted Fern Tuber", description = S("Roasted Fern Tuber"),
inventory_image = "ferns_ferntuber_roasted.png", inventory_image = "ferns_ferntuber_roasted.png",
on_use = minetest.item_eat(3), on_use = minetest.item_eat(3),
}) })
@ -101,4 +103,3 @@ minetest.register_craft({
output = "farming:hoe_wood", output = "farming:hoe_wood",
recipe = {"farming:hoe_wood","group:horsetail","farming:string","default:stick"}, recipe = {"farming:hoe_wood","group:horsetail","farming:string","default:stick"},
})]] })]]

View File

@ -1,2 +1,3 @@
default default
biome_lib biome_lib
plantlife_i18n

View File

@ -6,7 +6,7 @@
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: default, flowers, painting, trees -- Looked at code from: default, flowers, painting, trees
-- Dependencies: biome_lib -- Dependencies: biome_lib
-- Supports: dryplants, stoneage, sumpf -- Supports: dryplants, stoneage, sumpf
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- some inspiration from here -- some inspiration from here
-- https://en.wikipedia.org/wiki/Athyrium_yokoscense -- https://en.wikipedia.org/wiki/Athyrium_yokoscense
@ -15,6 +15,9 @@
assert(abstract_ferns.config.enable_lady_fern == true) assert(abstract_ferns.config.enable_lady_fern == true)
-- support for i18n
local S = plantlife_i18n.gettext
-- Maintain backward compatibilty -- Maintain backward compatibilty
minetest.register_alias("archaeplantae:fern", "ferns:fern_03") minetest.register_alias("archaeplantae:fern", "ferns:fern_03")
minetest.register_alias("archaeplantae:fern_mid", "ferns:fern_02") minetest.register_alias("archaeplantae:fern_mid", "ferns:fern_02")
@ -26,7 +29,7 @@ local nodenames = {}
local function create_nodes() local function create_nodes()
local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" } local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" }
local vscales = { 1, math.sqrt(8), math.sqrt(11) } local vscales = { 1, math.sqrt(8), math.sqrt(11) }
local descs = { "Lady-fern (Athyrium)", nil, nil } local descs = { S("Lady-fern (Athyrium)"), nil, nil }
for i = 1, 3 do for i = 1, 3 do
local node_on_place = nil local node_on_place = nil
@ -40,7 +43,7 @@ local function create_nodes()
end end
nodenames[i] = "ferns:fern_"..string.format("%02d", i) nodenames[i] = "ferns:fern_"..string.format("%02d", i)
minetest.register_node(nodenames[i], { minetest.register_node(nodenames[i], {
description = descs[i] or ("Lady-fern (Athyrium) " .. string.format("%02d", i)), description = descs[i] or (S("Lady-fern (Athyrium)").." " .. string.format("%02d", i)),
inventory_image = "ferns_fern.png", inventory_image = "ferns_fern.png",
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = vscales[i], visual_scale = vscales[i],
@ -91,8 +94,8 @@ if abstract_ferns.config.lady_ferns_near_tree == true then
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_max = -1.0, humidity_max = -1.0,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C (too hot?) temp_max = -0.5, -- 55 °C (too hot?)
temp_min = 0.75, -- -12 °C temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 }, random_facedir = { 0, 179 },
}, },
nodenames nodenames
@ -118,8 +121,8 @@ if abstract_ferns.config.lady_ferns_near_rock == true then
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_max = -1.0, humidity_max = -1.0,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C (too hot?) temp_max = -0.5, -- 55 °C (too hot?)
temp_min = 0.75, -- -12 °C temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 }, random_facedir = { 0, 179 },
}, },
nodenames nodenames
@ -156,8 +159,8 @@ if abstract_ferns.config.lady_ferns_near_ores == true then -- this one causes a
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_max = -1.0, humidity_max = -1.0,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C (too hot?) temp_max = -0.5, -- 55 °C (too hot?)
temp_min = 0.75, -- -12 °C temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 }, random_facedir = { 0, 179 },
}, },
nodenames nodenames
@ -187,8 +190,8 @@ if abstract_ferns.config.lady_ferns_in_groups == true then -- this one is meant
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_max = -1.0, humidity_max = -1.0,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C (too hot?) temp_max = -0.5, -- 55 °C (too hot?)
temp_min = 0.75, -- -12 °C temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 }, random_facedir = { 0, 179 },
}, },
nodenames nodenames

View File

@ -5,11 +5,13 @@
-- License (everything): WTFPL -- License (everything): WTFPL
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: 4seasons, default -- Looked at code from: 4seasons, default
-- Supports: vines -- Supports: vines
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
assert(abstract_ferns.config.enable_giant_treefern == true) assert(abstract_ferns.config.enable_giant_treefern == true)
-- support for i18n
local S = plantlife_i18n.gettext
-- lot of code, lot to load -- lot of code, lot to load
abstract_ferns.grow_giant_tree_fern = function(pos) abstract_ferns.grow_giant_tree_fern = function(pos)
@ -21,7 +23,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
end end
local size = math.random(12,16) -- min of range must be >= 4 local size = math.random(12,16) -- min of range must be >= 4
local leafchecks = { local leafchecks = {
{ {
direction = 3, direction = 3,
@ -102,7 +104,7 @@ end
-- GIANT TREE FERN LEAVES -- GIANT TREE FERN LEAVES
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:tree_fern_leaves_giant", { minetest.register_node("ferns:tree_fern_leaves_giant", {
description = "Tree Fern Crown (Dicksonia)", description = S("Tree Fern Crown (Dicksonia)"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(11), visual_scale = math.sqrt(11),
wield_scale = {x=0.175, y=0.175, z=0.175}, wield_scale = {x=0.175, y=0.175, z=0.175},
@ -144,7 +146,7 @@ minetest.register_node("ferns:tree_fern_leaves_giant", {
-- GIANT TREE FERN LEAVE PART -- GIANT TREE FERN LEAVE PART
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:tree_fern_leave_big", { minetest.register_node("ferns:tree_fern_leave_big", {
description = "Giant Tree Fern Leaves", description = S("Giant Tree Fern Leaves"),
drawtype = "raillike", drawtype = "raillike",
paramtype = "light", paramtype = "light",
tiles = { tiles = {
@ -165,7 +167,7 @@ minetest.register_node("ferns:tree_fern_leave_big", {
-- GIANT TREE FERN LEAVE END -- GIANT TREE FERN LEAVE END
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:tree_fern_leave_big_end", { minetest.register_node("ferns:tree_fern_leave_big_end", {
description = "Giant Tree Fern Leave End", description = S("Giant Tree Fern Leave End"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -194,7 +196,7 @@ minetest.register_node("ferns:tree_fern_leave_big_end", {
-- GIANT TREE FERN TRUNK TOP -- GIANT TREE FERN TRUNK TOP
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:fern_trunk_big_top", { minetest.register_node("ferns:fern_trunk_big_top", {
description = "Giant Fern Trunk", description = S("Giant Fern Trunk"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
tiles = { tiles = {
@ -231,7 +233,7 @@ minetest.register_node("ferns:fern_trunk_big_top", {
-- GIANT TREE FERN TRUNK -- GIANT TREE FERN TRUNK
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:fern_trunk_big", { minetest.register_node("ferns:fern_trunk_big", {
description = "Giant Fern Trunk", description = S("Giant Fern Trunk"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
tiles = { tiles = {
@ -251,8 +253,8 @@ minetest.register_node("ferns:fern_trunk_big", {
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
after_destruct = function(pos,oldnode) after_destruct = function(pos,oldnode)
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
minetest.add_item(pos,"ferns:fern_trunk_big") minetest.add_item(pos,"ferns:fern_trunk_big")
end end
end, end,
@ -262,7 +264,7 @@ minetest.register_node("ferns:fern_trunk_big", {
-- GIANT TREE FERN SAPLING -- GIANT TREE FERN SAPLING
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:sapling_giant_tree_fern", { minetest.register_node("ferns:sapling_giant_tree_fern", {
description = "Giant Tree Fern Sapling", description = S("Giant Tree Fern Sapling"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {"ferns_sapling_tree_fern_giant.png"}, tiles = {"ferns_sapling_tree_fern_giant.png"},

View File

@ -6,11 +6,13 @@
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: default, flowers, trees -- Looked at code from: default, flowers, trees
-- Dependencies: biome_lib -- Dependencies: biome_lib
-- Supports: dryplants, stoneage, sumpf -- Supports: dryplants, stoneage, sumpf
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
assert(abstract_ferns.config.enable_horsetails == true) assert(abstract_ferns.config.enable_horsetails == true)
-- support for i18n
local S = plantlife_i18n.gettext
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- HORSETAIL (EQUISETUM) -- HORSETAIL (EQUISETUM)
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -33,13 +35,13 @@ local function create_nodes()
local node_drop = "ferns:horsetail_04" local node_drop = "ferns:horsetail_04"
if i == 1 then if i == 1 then
node_desc = "Young Horsetail (Equisetum)" node_desc = S("Young Horsetail (Equisetum)")
node_on_use = minetest.item_eat(1) -- young ones edible https://en.wikipedia.org/wiki/Equisetum node_on_use = minetest.item_eat(1) -- young ones edible https://en.wikipedia.org/wiki/Equisetum
node_drop = node_name node_drop = node_name
elseif i == 4 then elseif i == 4 then
node_desc = "Horsetail (Equisetum)" node_desc = S("Horsetail (Equisetum)")
else else
node_desc = "Horsetail (Equisetum) ".. string.format("%02d", i) node_desc = S("Horsetail (Equisetum)").." ".. string.format("%02d", i)
end end
node_names[i] = node_name node_names[i] = node_name
@ -125,8 +127,8 @@ if abstract_ferns.config.enable_horsetails_on_grass == true then
near_nodes_count = 1, near_nodes_count = 1,
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C temp_max = -0.5, -- 55 °C
temp_min = 0.53, -- 0 °C, dies back in winter temp_min = 0.53, -- 0 °C, dies back in winter
--random_facedir = { 0, 179 }, --random_facedir = { 0, 179 },
}, },
node_names node_names
@ -147,8 +149,8 @@ if abstract_ferns.config.enable_horsetails_on_stones == true then
min_elevation = 1, -- above sea level min_elevation = 1, -- above sea level
plantlife_limit = -0.9, plantlife_limit = -0.9,
humidity_min = 0.4, humidity_min = 0.4,
temp_max = -0.5, -- 55 °C temp_max = -0.5, -- 55 °C
temp_min = 0.53, -- 0 °C, dies back in winter temp_min = 0.53, -- 0 °C, dies back in winter
--random_facedir = { 0, 179 }, --random_facedir = { 0, 179 },
}, },
node_names node_names

View File

@ -4,11 +4,14 @@ local version = "0.2.0"
local mname = "ferns" -- former "archaeplantae" local mname = "ferns" -- former "archaeplantae"
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- (by Mossmanikin) -- (by Mossmanikin)
-- License (everything): WTFPL -- License (everything): WTFPL
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
abstract_ferns = {} abstract_ferns = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("ferns").."/settings.lua") dofile(minetest.get_modpath("ferns").."/settings.lua")
if abstract_ferns.config.enable_lady_fern == true then if abstract_ferns.config.enable_lady_fern == true then

View File

@ -4,9 +4,12 @@
-- by Mossmanikin -- by Mossmanikin
-- License (everything): WTFPL -- License (everything): WTFPL
-- Contains code from: biome_lib -- Contains code from: biome_lib
-- Looked at code from: default , trees -- Looked at code from: default , trees
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- support for i18n
local S = plantlife_i18n.gettext
assert(abstract_ferns.config.enable_treefern == true) assert(abstract_ferns.config.enable_treefern == true)
abstract_ferns.grow_tree_fern = function(pos) abstract_ferns.grow_tree_fern = function(pos)
@ -17,14 +20,14 @@ abstract_ferns.grow_tree_fern = function(pos)
and minetest.get_node(pos_01).name ~= "default:junglegrass" then and minetest.get_node(pos_01).name ~= "default:junglegrass" then
return return
end end
local size = math.random(1, 4) + math.random(1, 4) local size = math.random(1, 4) + math.random(1, 4)
if (size > 5) then if (size > 5) then
size = 10 - size size = 10 - size
end end
size = size + 1 size = size + 1
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)] local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
local i = 1 local i = 1
local brk = false local brk = false
while (i < size) do while (i < size) do
@ -53,7 +56,7 @@ end
-- TODO: Both of these nodes look the same? -- TODO: Both of these nodes look the same?
minetest.register_node("ferns:tree_fern_leaves", { minetest.register_node("ferns:tree_fern_leaves", {
description = "Tree Fern Crown (Dicksonia)", description = S("Tree Fern Crown (Dicksonia)"),
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
paramtype = "light", paramtype = "light",
@ -122,7 +125,7 @@ minetest.register_node("ferns:tree_fern_leaves_02", {
-- FERN TRUNK -- FERN TRUNK
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:fern_trunk", { minetest.register_node("ferns:fern_trunk", {
description = "Fern Trunk (Dicksonia)", description = S("Fern Trunk (Dicksonia)"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
tiles = { tiles = {
@ -142,8 +145,8 @@ minetest.register_node("ferns:fern_trunk", {
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
after_destruct = function(pos,oldnode) after_destruct = function(pos,oldnode)
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
if node.name == "ferns:fern_trunk" then if node.name == "ferns:fern_trunk" then
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
minetest.add_item(pos,"ferns:fern_trunk") minetest.add_item(pos,"ferns:fern_trunk")
end end
end, end,
@ -153,7 +156,7 @@ minetest.register_node("ferns:fern_trunk", {
-- TREE FERN SAPLING -- TREE FERN SAPLING
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("ferns:sapling_tree_fern", { minetest.register_node("ferns:sapling_tree_fern", {
description = "Tree Fern Sapling (Dicksonia)", description = S("Tree Fern Sapling (Dicksonia)"),
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",

View File

@ -1,3 +1,4 @@
biome_lib biome_lib
plantlife_i18n
farming? farming?
flowers? flowers?

View File

@ -1,9 +1,5 @@
local S -- support for i18n
if minetest.get_modpath("intllib") then local S = plantlife_i18n.gettext
S = intllib.Getter()
else
S = function(s) return s end
end
-- This file supplies a few additional plants and some related crafts -- This file supplies a few additional plants and some related crafts
-- for the plantlife modpack. Last revision: 2013-04-24 -- for the plantlife modpack. Last revision: 2013-04-24
@ -47,7 +43,7 @@ for i in ipairs(lilies_list) do
minetest.register_node(":flowers:waterlily"..deg1, { minetest.register_node(":flowers:waterlily"..deg1, {
description = S("Waterlily"), description = S("Waterlily"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"flowers_waterlily"..deg2..".png", "flowers_waterlily"..deg2..".png",
"flowers_waterlily"..deg2..".png^[transformFY" "flowers_waterlily"..deg2..".png^[transformFY"
}, },
@ -85,7 +81,7 @@ for i in ipairs(lilies_list) do
if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then
if under_node.name ~= "default:water_source" then if under_node.name ~= "default:water_source" then
place_pos = pt.under place_pos = pt.under
elseif top_node.name ~= "default:water_source" elseif top_node.name ~= "default:water_source"
and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then
place_pos = top_pos place_pos = top_pos
else else
@ -144,11 +140,11 @@ for i in ipairs(algae_list) do
num = "_"..algae_list[i][1] num = "_"..algae_list[i][1]
algae_groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 } algae_groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 }
end end
minetest.register_node(":flowers:seaweed"..num, { minetest.register_node(":flowers:seaweed"..num, {
description = S("Seaweed"), description = S("Seaweed"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"flowers_seaweed"..num..".png", "flowers_seaweed"..num..".png",
"flowers_seaweed"..num..".png^[transformFY" "flowers_seaweed"..num..".png^[transformFY"
}, },
@ -167,9 +163,9 @@ for i in ipairs(algae_list) do
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 }, fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
}, },
buildable_to = true, buildable_to = true,
liquids_pointable = true, liquids_pointable = true,
drop = "flowers:seaweed", drop = "flowers:seaweed",
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
@ -185,7 +181,7 @@ for i in ipairs(algae_list) do
if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then
if under_node.name ~= "default:water_source" then if under_node.name ~= "default:water_source" then
place_pos = pt.under place_pos = pt.under
elseif top_node.name ~= "default:water_source" elseif top_node.name ~= "default:water_source"
and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then
place_pos = top_pos place_pos = top_pos
else else
@ -232,12 +228,12 @@ local box = {
} }
local sunflower_drop = "farming:seed_wheat" local sunflower_drop = "farming:seed_wheat"
if minetest.registered_items["farming:seed_spelt"] then if minetest.registered_items["farming:seed_spelt"] then
sunflower_drop = "farming:seed_spelt" sunflower_drop = "farming:seed_spelt"
end end
minetest.register_node(":flowers:sunflower", { minetest.register_node(":flowers:sunflower", {
description = "Sunflower", description = S("Sunflower"),
drawtype = "mesh", drawtype = "mesh",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -296,7 +292,7 @@ flowers_plus.grow_waterlily = function(pos)
if lilies_list[i][1] ~= nil then if lilies_list[i][1] ~= nil then
ext = "_"..lilies_list[i][1] ext = "_"..lilies_list[i][1]
end end
if chance == num then if chance == num then
minetest.set_node(right_here, {name="flowers:waterlily"..ext, param2=math.random(0,3)}) minetest.set_node(right_here, {name="flowers:waterlily"..ext, param2=math.random(0,3)})
end end
@ -474,7 +470,7 @@ biome_lib:spawn_on_surfaces({
-- cotton wads -> string (can be crafted into wool blocks) -- cotton wads -> string (can be crafted into wool blocks)
-- potted cotton plants -> potted white dandelions -- potted cotton plants -> potted white dandelions
minetest.register_alias("flowers:cotton_plant", "farming:cotton_8") minetest.register_alias("flowers:cotton_plant", "farming:cotton_8")
minetest.register_alias("flowers:flower_cotton", "farming:cotton_8") minetest.register_alias("flowers:flower_cotton", "farming:cotton_8")
minetest.register_alias("flowers:flower_cotton_pot", "flowers:potted_dandelion_white") minetest.register_alias("flowers:flower_cotton_pot", "flowers:potted_dandelion_white")
minetest.register_alias("flowers:potted_cotton_plant", "flowers:potted_dandelion_white") minetest.register_alias("flowers:potted_cotton_plant", "flowers:potted_dandelion_white")

View File

@ -1,13 +0,0 @@
# Translation by Xanthin
Waterlily = Seerose
Seaweed = Seetang
Potted Rose = Eingetopfte Rose
Potted Tulip = Eingetopfte Tulpe
Potted Yellow Dandelion = Eingetopfter Loewenzahn
Potted White Dandelion = Eingetopfte Pusteblume
Potted Blue Geranium = Eingetopfte blaue Geranie
Potted Viola = Eingetopftes Veilchen
Flower Pot = Blumentopf
[Flowers] Loaded. = [Flowers] Geladen.

View File

@ -1,13 +0,0 @@
# Traducido por Carlos Barraza
Waterlily = Lirio de agua
Seaweed = Algas marinas
Potted Rose = Rosa en maceta
Potted Tulip = Tulipán en maceta
Potted Yellow Dandelion = Diente de león amarillo en maceta
Potted White Dandelion = Diente de león blanco en maceta
Potted Blue Geranium = Geranio azul en maceta
Potted Viola = Viola en maceta
Flower Pot = Florero
[Flowers] Loaded. = [Flores] Cargado.

View File

@ -1,13 +0,0 @@
# Template
Waterlily = Nénuphar
Seaweed = Algues
Potted Rose = Rose en pot
Potted Tulip = Tulipe en pot
Potted Yellow Dandelion = Pissenlit jaune en pot
Potted White Dandelion = Pissenlit blanc en pot
Potted Blue Geranium = Géranium bleu en pot
Potted Viola = Violette en pot
Flower Pot = Fleurs en pot
[Flowers] Loaded. = [Fleurs] Chargées.

View File

@ -1,13 +0,0 @@
# Template
Waterlily =
Seaweed =
Potted Rose =
Potted Tulip =
Potted Yellow Dandelion =
Potted White Dandelion =
Potted Blue Geranium =
Potted Viola =
Flower Pot =
[Flowers] Loaded. =

View File

@ -1,14 +0,0 @@
# Turkish translation
# mahmutelmas06@hotmail.com
Waterlily = Nilüfer
Seaweed = Deniz yosunu
Potted Rose = Saksı gülü
Potted Tulip = Saksı lalesi
Potted Yellow Dandelion = Sarı hindiba
Potted White Dandelion = Beyaz hindiba
Potted Blue Geranium = Mavi hindiba
Potted Viola = Saksı Menekşesi
Flower Pot = Saksı
[Flowers] Loaded. = [Flowers] yüklendi.

View File

@ -1,2 +1,3 @@
default default
biome_lib plantlife_i18n
biome_lib

View File

@ -10,6 +10,8 @@ abstract_molehills = {}
dofile(minetest.get_modpath("molehills").."/molehills_settings.txt") dofile(minetest.get_modpath("molehills").."/molehills_settings.txt")
-- support for i18n
local S = plantlife_i18n.gettext
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- NoDe -- NoDe
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -22,7 +24,7 @@ local mh_cbox = {
minetest.register_node("molehills:molehill",{ minetest.register_node("molehills:molehill",{
drawtype = "mesh", drawtype = "mesh",
mesh = "molehill_molehill.obj", mesh = "molehill_molehill.obj",
description = "Mole Hill", description = S("Mole Hill"),
inventory_image = "molehills_side.png", inventory_image = "molehills_side.png",
tiles = { "molehills_dirt.png" }, tiles = { "molehills_dirt.png" },
paramtype = "light", paramtype = "light",
@ -74,5 +76,5 @@ biome_lib:register_generate_plant({
) )
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...") print("[Mod] "..title.." ["..version.."] ["..mname.."]"..S("Loaded..."))
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------

View File

@ -1,3 +1,5 @@
-- support for i18n
local S = plantlife_i18n.gettext
-- Blossoms and such -- Blossoms and such
local function spawn_apple_under(pos) local function spawn_apple_under(pos)
@ -12,7 +14,7 @@ local function spawn_apple_under(pos)
end end
minetest.register_node(":"..nature.blossom_node, { minetest.register_node(":"..nature.blossom_node, {
description = "Apple blossoms", description = S("Apple blossoms"),
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
tiles = nature.blossom_textures, tiles = nature.blossom_textures,
paramtype = "light", paramtype = "light",

View File

@ -1,2 +1,3 @@
default default
plantlife_i18n
moretrees? moretrees?

View File

@ -6,6 +6,9 @@
local current_mod_name = minetest.get_current_modname() local current_mod_name = minetest.get_current_modname()
nature = {} nature = {}
-- support for i18n
local S = plantlife_i18n.gettext
nature.blossomqueue = {} nature.blossomqueue = {}
nature.blossomqueue_max = 1000 nature.blossomqueue_max = 1000
@ -44,4 +47,4 @@ dofile(minetest.get_modpath(current_mod_name) .. "/config.lua")
dofile(minetest.get_modpath(current_mod_name) .. "/global_function.lua") dofile(minetest.get_modpath(current_mod_name) .. "/global_function.lua")
dofile(minetest.get_modpath(current_mod_name) .. "/blossom.lua") dofile(minetest.get_modpath(current_mod_name) .. "/blossom.lua")
minetest.log("info", "[Nature Classic] loaded!") minetest.log("info", S("[Nature Classic] loaded!"))

View File

@ -0,0 +1 @@
intllib?

7
plantlife_i18n/init.lua Normal file
View File

@ -0,0 +1,7 @@
-- This file intentionally left blank.
plantlife_i18n = { }
local MP = minetest.get_modpath(minetest.get_current_modname())
plantlife_i18n.gettext, plantlife_i18n.ngettext = dofile(MP.."/intllib.lua")

View File

@ -0,0 +1,45 @@
-- Fallback functions for when `intllib` is not installed.
-- Code released under Unlicense <http://unlicense.org>.
-- Get the latest version of this file at:
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
local function format(str, ...)
local args = { ... }
local function repl(escape, open, num, close)
if escape == "" then
local replacement = tostring(args[tonumber(num)])
if open == "" then
replacement = replacement..close
end
return replacement
else
return "@"..open..num..close
end
end
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
end
local gettext, ngettext
if minetest.get_modpath("intllib") then
if intllib.make_gettext_pair then
-- New method using gettext.
gettext, ngettext = intllib.make_gettext_pair()
else
-- Old method using text files.
gettext = intllib.Getter()
end
end
-- Fill in missing functions.
gettext = gettext or function(msgid, ...)
return format(msgid, ...)
end
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
return format(n==1 and msgid or msgid_plural, ...)
end
return gettext, ngettext

488
plantlife_i18n/locale/de.po Normal file
View File

@ -0,0 +1,488 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 11:09+0200\n"
"PO-Revision-Date: 2017-08-03 11:32+0200\n"
"Last-Translator: Xanthin\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr ""
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr "Zucker"
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr "Korb mit Erdbeertorten"
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr "Erdbeertorte"
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr "Rohe Erdbeertorte"
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr "Erdbeertortenstueck"
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr "Erdbeere"
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr "Erdbeerbusch"
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr "Korb mit Brombeertorten"
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr "Brombeere"
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr "Brombeerbusch"
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr "Brombeertorte"
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr "Rohe Brombeertorte"
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr "Brombeertortenstueck"
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr "Korb mit Blaubeertorten"
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr "Blaubeere"
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr "Blaubeerbusch"
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr "Blaubeertorte"
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr "Rohe Blaubeertorte"
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr "Blaubeertortenstueck"
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr "Korb mit Himbeertorten"
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr "Himbeertorte"
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr "Himbeere"
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr "Himbeerbusch"
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr "Rohe Himbeertorte"
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr "Himbeertortenstueck"
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr "Korb mit Stachelbeertorten"
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr "Stachelbeertorte"
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr "Stachelbeere"
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr "Stachelbeerbusch"
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr "Rohe Stachelbeertorte"
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr "Stachelbeertortenstueck"
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr "Korb mit Beerenmixtorten"
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr "Beerenmixtorte"
#: ../bushes_classic/init.lua
#, fuzzy
msgid "Currently fruitless Bush"
msgstr "zur Zeit fruechteloser"
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr "Beerenmix"
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr "Rohe Beerenmixtorte"
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr "Beerenmixtortenstueck"
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr "[Bushes] Geladen."
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr "Korb"
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr ""
#: ../dryplants/init.lua
msgid "Sickle"
msgstr ""
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr ""
#: ../dryplants/init.lua
msgid "Hay"
msgstr ""
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr ""
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr ""
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr ""
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr "Seerose"
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr "Seetang"
#: ../flowers_plus/init.lua
msgid "Sunflower"
msgstr "Sonnenblume"
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr "[Flowers] Geladen."
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr ""
#: ../molehills/init.lua
msgid "Loaded..."
msgstr ""
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr ""
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr "Giftefeu (Saemling)"
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr "Giftefeu (Sproessling)"
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr "Giftefeu (Kletterpflanze)"
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr "[Poison Ivy] Geladen."
#: ../trunks/nodes.lua
msgid "Twig"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr ""
#: ../trunks/nodes.lua
msgid "Root"
msgstr ""
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr ""
#: ../vines/functions.lua
msgid "Matured"
msgstr ""
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr ""
#: ../vines/nodes.lua
msgid "Rope"
msgstr ""
#: ../vines/shear.lua
msgid "Shears"
msgstr ""
#: ../vines/vines.lua
msgid "Roots"
msgstr ""
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr ""
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr ""

488
plantlife_i18n/locale/es.po Normal file
View File

@ -0,0 +1,488 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 11:34+0200\n"
"PO-Revision-Date: 2017-08-03 11:41+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: Carlos Barraza <carlosbarrazaes@gmail.com>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr ""
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr "Azúcar"
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr "Cesta con Pasteles de Frutilla"
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr "Pastel de Frutilla Cocido"
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr "Pastel de Frutilla Crudo"
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr "Rebanada de Pastel de Frutilla"
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr "Frutilla"
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr "Arbusto de Frutilla"
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr "Cesta con Pasteles de Mora"
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr "Mora"
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr "Arbusto de Mora"
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr "Pastel de Mora Cocido"
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr "Pastel de Mora Crudo"
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr "Rebanada de Pastel de Mora"
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr "Cesta con Pasteles de Arándano"
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr "Arándano"
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr "Arbusto de Arándano"
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr "Pastel de Arándano Cocido"
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr "Pastel de Arándano Crudo"
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr "Rebanada de Pastel de Arándano"
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr "Cesta con Pasteles de Frambuesa"
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr "Pastel de Frambuesa Cocido"
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr "Frambuesa"
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr "Arbusto de Frambuesa"
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr "Pastel de Frambuesa Crudo"
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr "Rebanada de Pastel de Frambuesa"
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr "Cesta con Pasteles de Grosella"
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr "Pastel de Grosella Cocido"
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr "Grosella"
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr "Arbusto de Grosella"
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr "Pastel de Grosella Crudo"
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr "Rebanada de Pastel de Grosella"
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr "Cesta con Pasteles de Mezcla de Baya"
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr "Pastel de Mezcla de Bayas Cocido"
#: ../bushes_classic/init.lua
#, fuzzy
msgid "Currently fruitless Bush"
msgstr "Arbusto actualmente infructuoso"
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr "Mezcla de Baya"
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr "Pastel de Mezcla de Bayas Cruda"
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr "Rebanada de Pastel de Mezcla de Bayas"
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr "[Bushes] Cargado."
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr "Cesta"
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr ""
#: ../dryplants/init.lua
msgid "Sickle"
msgstr ""
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr ""
#: ../dryplants/init.lua
msgid "Hay"
msgstr ""
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr ""
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr ""
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr ""
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr "Lirio de agua"
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr "Algas marinas"
#: ../flowers_plus/init.lua
msgid "Sunflower"
msgstr "Girasol"
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr "[Flowers] Cargado."
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr ""
#: ../molehills/init.lua
msgid "Loaded..."
msgstr ""
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr ""
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr "Hiedra venenosa (retoño)"
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr "Hiedra venenosa (brotes)"
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr "Hiedra venenosa (planta trepadora)"
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr "[Poison Ivy] Cargado."
#: ../trunks/nodes.lua
msgid "Twig"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr ""
#: ../trunks/nodes.lua
msgid "Root"
msgstr ""
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr ""
#: ../vines/functions.lua
msgid "Matured"
msgstr ""
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr ""
#: ../vines/nodes.lua
msgid "Rope"
msgstr ""
#: ../vines/shear.lua
msgid "Shears"
msgstr ""
#: ../vines/vines.lua
msgid "Roots"
msgstr ""
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr ""
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr ""

487
plantlife_i18n/locale/fr.po Normal file
View File

@ -0,0 +1,487 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 11:09+0200\n"
"PO-Revision-Date: 2017-08-03 11:18+0200\n"
"Last-Translator: fat115 <fat115@framasoft.org>\n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr "Arbuste 2 (bas)"
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr "Branches de buisson @1"
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr "Feuilles de buisson @1"
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr "Sucre"
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr "Panier de tartes aux fraises"
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr "Tarte aux fraises (cuite)"
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr "Tarte aux fraises (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr "Part de tarte aux fraises"
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr "Fraises"
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr "Buisson de fraises"
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr "Panier de tartes aux fraises"
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr "Mûres"
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr "Buisson de mûres"
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr "Tarte aux mûres (cuite)"
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr "Tarte aux mûres (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr "Part de tarte aux mûres"
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr "Panier de tartes aux mûres"
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr "Myrtilles"
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr "Buisson de myrtilles"
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr "Tarte aux myrtilles (cuite)"
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr "Tarte aux myrtilles (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr "Part de tarte aux myrtilles"
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr "Panier de tartes aux framboises"
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr "Tarte aux framboises (cuite)"
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr "Framboises"
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr "Buisson de framboises"
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr "Tarte aux framboises (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr "Part de tarts aux framboises"
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr "Panier de tartes aux groseilles"
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr "Tarte aux groseilles (cuite)"
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr "Groseilles"
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr "Buisson de groseilles"
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr "Tarte aux groseilles (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr "Part de tarte aux groseilles"
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr "Panier de tartes aux fruits rouges"
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr "Tarte aux fruits rouges (cuite)"
#: ../bushes_classic/init.lua
msgid "Currently fruitless Bush"
msgstr "Buisson sans fruits pour l'instant"
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr "Fruits rouges"
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr "Tarte aux fruits rouges (crue)"
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr "Part de tarte aux fruits rouges"
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr "[Bushes] chargé."
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr "Panier"
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr "Caillou"
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr "Caillou du désert"
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr "Stalactite"
#: ../dryplants/init.lua
msgid "Sickle"
msgstr "Faucille"
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr "Herbe coupée"
#: ../dryplants/init.lua
msgid "Hay"
msgstr "Foin"
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr "Herbes courtes"
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr "Joncs"
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr "Bloc de roseau humide"
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr "Dalle en roseau humide"
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr "Toit en roseau humide"
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr "Angle de toit en roseau humide"
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr "Angle de toit en roseau humide 2"
#: ../dryplants/reed.lua
msgid "Reed"
msgstr "Roseau"
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr "Dalle en roseau"
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr "Toit en roseau"
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr "Angle de toit en roseau"
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr "Angle de toit en roseau 2"
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr "Roseau"
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr "Roseau, 1 de hauteur"
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr "Roseau, 2 de hauteur"
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr "Roseau, 3 de hauteur"
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr "Roseau, 3 de hauteur avec panicules"
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr "Crosse de fougère"
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr "Crosse de fougère rôtie"
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr "Tubercule de fougère"
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr "Tubercule de fougère rôti"
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr "Fougère (Athyrium)"
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr "Fougère en couronne (Dicksonia)"
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr "Feuilles de fougère géante"
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr "Feuilles de fougère géante (extrémité)"
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr "Tronc de fougère géante"
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr "Pousse de fougère géante"
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr "Pousse de prêle (Equisetum)"
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr "Prêle (Equisetum)"
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr "Tronc de fougère en couronne (Dicksonia)"
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr "Pousse de fougère en couronne (Dicksonia)"
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr "Nénuphar"
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr "Algues"
#: ../flowers_plus/init.lua
msgid "Sunflower"
msgstr "Tournesol"
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr "[Flowers] chargé."
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr "Taupinière"
#: ../molehills/init.lua
msgid "Loaded..."
msgstr "chargé."
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr "Fleurs de pommier"
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr "[Nature Classic] chargé.!"
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr "Sumac vénéneux (semis)"
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr "Sumac vénéneux (pousse)"
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr "Sumac vénéneux (grimpant)"
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr "[Poison Ivy] chargé."
#: ../trunks/nodes.lua
msgid "Twig"
msgstr "Brindille"
#: ../trunks/nodes.lua
msgid "Moss"
msgstr "Mousse"
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr "Mousse et champignons"
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr "Bloc de brindilles"
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr "Dalle en brindilles"
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr "Toit de brindilles"
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr "Angle de toit de brindilles 1"
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr "Angle de toit de brindilles 2"
#: ../trunks/nodes.lua
msgid "Root"
msgstr "(racine)"
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr "Plantes grimpantes"
#: ../vines/functions.lua
msgid "Matured"
msgstr "Extrémité de"
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr "[Vines] chargé."
#: ../vines/nodes.lua
msgid "Rope"
msgstr "Corde"
#: ../vines/shear.lua
msgid "Shears"
msgstr "Cisailles"
#: ../vines/vines.lua
msgid "Roots"
msgstr "Racines"
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr "Lianes"
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr "Lianes de saule"
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr "Humus forestier 1"
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr "Humus forestier 2"
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr "Humus forestier 3"
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr "Humus forestier 4"
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr "Bambou jeune"
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr "Arbuste 2 (milieu)"
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr "Arbuste (haut)"
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr "Arbuste (milieu)"
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr "Arbuste (bas)"

487
plantlife_i18n/locale/pt.po Normal file
View File

@ -0,0 +1,487 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 14:07+0200\n"
"PO-Revision-Date: 2017-08-03 14:08+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: fat115 <fat115@framasoft.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: pt\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr ""
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Currently fruitless Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr ""
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr ""
#: ../dryplants/init.lua
msgid "Sickle"
msgstr ""
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr ""
#: ../dryplants/init.lua
msgid "Hay"
msgstr ""
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr ""
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr ""
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr ""
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Sunflower"
msgstr ""
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr ""
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr ""
#: ../molehills/init.lua
msgid "Loaded..."
msgstr ""
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr ""
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr "Hera venenosa (plantilha)"
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr "Hera venenosa (brotando)"
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr "Hera venenosa (planta trepadeira)"
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr "[Poison Ivy] Carregado"
#: ../trunks/nodes.lua
msgid "Twig"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr ""
#: ../trunks/nodes.lua
msgid "Root"
msgstr ""
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr ""
#: ../vines/functions.lua
msgid "Matured"
msgstr ""
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr ""
#: ../vines/nodes.lua
msgid "Rope"
msgstr ""
#: ../vines/shear.lua
msgid "Shears"
msgstr ""
#: ../vines/vines.lua
msgid "Roots"
msgstr ""
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr ""
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr ""

View File

@ -0,0 +1,486 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 11:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr ""
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Currently fruitless Bush"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr ""
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr ""
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr ""
#: ../dryplants/init.lua
msgid "Sickle"
msgstr ""
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr ""
#: ../dryplants/init.lua
msgid "Hay"
msgstr ""
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr ""
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr ""
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr ""
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Sunflower"
msgstr ""
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr ""
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr ""
#: ../molehills/init.lua
msgid "Loaded..."
msgstr ""
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr ""
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr ""
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr ""
#: ../trunks/nodes.lua
msgid "Twig"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr ""
#: ../trunks/nodes.lua
msgid "Root"
msgstr ""
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr ""
#: ../vines/functions.lua
msgid "Matured"
msgstr ""
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr ""
#: ../vines/nodes.lua
msgid "Rope"
msgstr ""
#: ../vines/shear.lua
msgid "Shears"
msgstr ""
#: ../vines/vines.lua
msgid "Roots"
msgstr ""
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr ""
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr ""

489
plantlife_i18n/locale/tr.po Normal file
View File

@ -0,0 +1,489 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-03 11:43+0200\n"
"PO-Revision-Date: 2017-08-03 11:51+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: mahmutelmas06@hotmail.com\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: tr\n"
#: ../bushes/init.lua
msgid "Young Tree 2 (bottom)"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Branches @1"
msgstr ""
#: ../bushes/init.lua
msgid "Bush Leaves @1"
msgstr ""
#: ../bushes_classic/cooking.lua
msgid "Sugar"
msgstr "Şeker"
#: ../bushes_classic/init.lua
msgid "Basket with Strawberry pies"
msgstr "Çilekli pasta sepeti"
#: ../bushes_classic/init.lua
msgid "Cooked Strawberry pie"
msgstr "Pişmiş çilekli pasta "
#: ../bushes_classic/init.lua
msgid "Raw Strawberry pie"
msgstr "Çilekli çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Strawberry pie"
msgstr "Çilekli pasta dilimi"
#: ../bushes_classic/init.lua
msgid "Strawberry"
msgstr "Çilek"
#: ../bushes_classic/init.lua
msgid "Strawberry Bush"
msgstr "Çilek fidanı"
#: ../bushes_classic/init.lua
msgid "Basket with Blackberry pies"
msgstr "Böğürtlenli pasta sepeti"
#: ../bushes_classic/init.lua
msgid "Blackberry"
msgstr "Böğürtlen"
#: ../bushes_classic/init.lua
msgid "Blackberry Bush"
msgstr "Böğürtlen fidanı"
#: ../bushes_classic/init.lua
msgid "Cooked Blackberry pie"
msgstr "Pişmiş böğürtlenli pasta"
#: ../bushes_classic/init.lua
msgid "Raw Blackberry pie"
msgstr "Böğürtlenli çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Blackberry pie"
msgstr "Böğürtlenli pasta dilimi"
#: ../bushes_classic/init.lua
msgid "Basket with Blueberry pies"
msgstr "Yaban mersini pastalı sepet"
#: ../bushes_classic/init.lua
msgid "Blueberry"
msgstr "Yaban mersini"
#: ../bushes_classic/init.lua
msgid "Blueberry Bush"
msgstr "Yaban mersini fidanı"
#: ../bushes_classic/init.lua
msgid "Cooked Blueberry pie"
msgstr "Pişmiş yaban mersinli pasta"
#: ../bushes_classic/init.lua
msgid "Raw Blueberry pie"
msgstr "Yaban mersinli çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Blueberry pie"
msgstr "Yaban mersinli pasta dilimi"
#: ../bushes_classic/init.lua
msgid "Basket with Raspberry pies"
msgstr "Ahududulu pasta sepeti"
#: ../bushes_classic/init.lua
msgid "Cooked Raspberry pie"
msgstr "Pişmiş ahududulu pasta"
#: ../bushes_classic/init.lua
msgid "Raspberry"
msgstr "Ahududu"
#: ../bushes_classic/init.lua
msgid "Raspberry Bush"
msgstr "Ahududu fidanı"
#: ../bushes_classic/init.lua
msgid "Raw Raspberry pie"
msgstr "Ahududulu çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Raspberry pie"
msgstr "Ahududulu pasta dilimi"
#: ../bushes_classic/init.lua
msgid "Basket with Gooseberry pies"
msgstr "Bektaşi üzümlü pasta sepeti"
#: ../bushes_classic/init.lua
msgid "Cooked Gooseberry pie"
msgstr "Pişmiş bektaşi üzümlü pasta"
#: ../bushes_classic/init.lua
msgid "Gooseberry"
msgstr "Bektaşi üzümü"
#: ../bushes_classic/init.lua
msgid "Gooseberry Bush"
msgstr "Bektaşi üzümü fidanı"
#: ../bushes_classic/init.lua
msgid "Raw Gooseberry pie"
msgstr "Bektaşi üzümlü çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Gooseberry pie"
msgstr "Bektaşi üzümlü pasta dilimi"
#: ../bushes_classic/init.lua
msgid "Basket with Mixed Berry pies"
msgstr "Dutlu pasta sepeti"
#: ../bushes_classic/init.lua
msgid "Cooked Mixed Berry pie"
msgstr "Pişmiş dutlu pasta"
#: ../bushes_classic/init.lua
#, fuzzy
msgid "Currently fruitless Bush"
msgstr "Fidanı şu anda meyvesiz"
#: ../bushes_classic/init.lua
msgid "Mixed Berry"
msgstr "Dut"
#: ../bushes_classic/init.lua
msgid "Raw Mixed Berry pie"
msgstr "Dutlu çiğ pasta"
#: ../bushes_classic/init.lua
msgid "Slice of Mixed Berry pie"
msgstr "Dutlu pasta dilimi"
#: ../bushes_classic/init.lua
msgid "[Bushes] Loaded."
msgstr "[Bushes] yüklendi."
#: ../bushes_classic/nodes.lua
msgid "Basket"
msgstr "Sepet"
#: ../cavestuff/nodes.lua
msgid "Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Desert Pebble"
msgstr ""
#: ../cavestuff/nodes.lua
msgid "Stalactite"
msgstr ""
#: ../dryplants/init.lua
msgid "Sickle"
msgstr ""
#: ../dryplants/init.lua
msgid "Cut Grass"
msgstr ""
#: ../dryplants/init.lua
msgid "Hay"
msgstr ""
#: ../dryplants/init.lua
msgid "Short Grass"
msgstr ""
#: ../dryplants/juncus.lua
msgid "Juncus"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Wet Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Slab"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner"
msgstr ""
#: ../dryplants/reed.lua
msgid "Reed Roof Corner 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 1"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 2"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3"
msgstr ""
#: ../dryplants/reedmace.lua
msgid "Reedmace, height: 3 & Spikes"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fiddlehead"
msgstr ""
#: ../ferns/crafting.lua
msgid "Fern Tuber"
msgstr ""
#: ../ferns/crafting.lua
msgid "Roasted Fern Tuber"
msgstr ""
#: ../ferns/fern.lua
msgid "Lady-fern (Athyrium)"
msgstr ""
#: ../ferns/gianttreefern.lua ../ferns/treefern.lua
msgid "Tree Fern Crown (Dicksonia)"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leaves"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Leave End"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Fern Trunk"
msgstr ""
#: ../ferns/gianttreefern.lua
msgid "Giant Tree Fern Sapling"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Young Horsetail (Equisetum)"
msgstr ""
#: ../ferns/horsetail.lua
msgid "Horsetail (Equisetum)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Fern Trunk (Dicksonia)"
msgstr ""
#: ../ferns/treefern.lua
msgid "Tree Fern Sapling (Dicksonia)"
msgstr ""
#: ../flowers_plus/init.lua
msgid "Waterlily"
msgstr "Nilüfer"
#: ../flowers_plus/init.lua
msgid "Seaweed"
msgstr "Deniz yosunu"
#: ../flowers_plus/init.lua
#, fuzzy
msgid "Sunflower"
msgstr "Ayçiçeği"
#: ../flowers_plus/init.lua
msgid "[Flowers] Loaded."
msgstr "[Flowers] yüklendi."
#: ../molehills/init.lua
msgid "Mole Hill"
msgstr ""
#: ../molehills/init.lua
msgid "Loaded..."
msgstr ""
#: ../nature_classic/blossom.lua
msgid "Apple blossoms"
msgstr ""
#: ../nature_classic/init.lua
msgid "[Nature Classic] loaded!"
msgstr ""
#: ../poisonivy/init.lua
msgid "Poison ivy (seedling)"
msgstr "Sarmaşık (Fidan)"
#: ../poisonivy/init.lua
msgid "Poison ivy (sproutling)"
msgstr "Sarmaşık (Filiz)"
#: ../poisonivy/init.lua
msgid "Poison ivy (climbing plant)"
msgstr "Sarmaşık (Dolanan)"
#: ../poisonivy/init.lua
msgid "[Poison Ivy] Loaded."
msgstr "[Poison Ivy] yüklendi."
#: ../trunks/nodes.lua
msgid "Twig"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss"
msgstr ""
#: ../trunks/nodes.lua
msgid "Moss with Fungus"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Block"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Slab"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 1"
msgstr ""
#: ../trunks/nodes.lua
msgid "Twigs Roof Corner 2"
msgstr ""
#: ../trunks/nodes.lua
msgid "Root"
msgstr ""
#: ../vines/crafts.lua ../vines/vines.lua
msgid "Vines"
msgstr ""
#: ../vines/functions.lua
msgid "Matured"
msgstr ""
#: ../vines/init.lua
msgid "[Vines] Loaded!"
msgstr ""
#: ../vines/nodes.lua
msgid "Rope"
msgstr ""
#: ../vines/shear.lua
msgid "Shears"
msgstr ""
#: ../vines/vines.lua
msgid "Roots"
msgstr ""
#: ../vines/vines.lua
msgid "Jungle Vines"
msgstr ""
#: ../vines/vines.lua
msgid "Willow Vines"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 1"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 2"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 3"
msgstr ""
#: ../woodsoils/nodes.lua
msgid "Forest Soil 4"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Bamboo Tree"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree 2 (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (top)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (middle)"
msgstr ""
#: ../youngtrees/init.lua
msgid "Young Tree (bottom)"
msgstr ""

View File

@ -0,0 +1,24 @@
#! /bin/bash
# To create a new translation:
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
cd "$(dirname "${BASH_SOURCE[0]}")/..";
# Extract translatable strings.
xgettext --from-code=UTF-8 \
--language=Lua \
--sort-by-file \
--keyword=S \
--keyword=NS:1,2 \
--keyword=N_ \
--add-comments='Translators:' \
--add-location=file \
-o locale/template.pot \
$(find .. -name '*.lua')
# Update translations.
find locale -name '*.po' | while read -r file; do
echo $file
msgmerge --update $file locale/template.pot;
done

View File

@ -1,2 +1,2 @@
biome_lib biome_lib
plantlife_i18n

View File

@ -1,12 +1,8 @@
-- This file supplies poison ivy for the plantlife modpack -- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24 -- Last revision: 2013-01-24
local S -- support for i18n
if minetest.get_modpath("intllib") then local S = plantlife_i18n.gettext
S = intllib.Getter()
else
S = function(s) return s end
end
local SPAWN_DELAY = 1000 local SPAWN_DELAY = 1000
local SPAWN_CHANCE = 200 local SPAWN_CHANCE = 200

View File

@ -1,7 +0,0 @@
# Translation by Xanthin
Poison ivy (seedling) = Giftefeu (Saemling)
Poison ivy (sproutling) = Giftefeu (Sproessling)
Poison ivy (climbing plant) = Giftefeu (Kletterpflanze)
[Poison Ivy] Loaded. = [Poison Ivy] Geladen.

View File

@ -1,7 +0,0 @@
# Traducido por Carlos Barraza
Poison ivy (seedling) = Hiedra venenosa (retoño)
Poison ivy (sproutling) = Hiedra venenosa (brotes)
Poison ivy (climbing plant) = Hiedra venenosa (planta trepadora)
[Poison Ivy] Loaded. = [Hiedra venenosa] Cargado.

View File

@ -1,7 +0,0 @@
# Template
Poison ivy (seedling) = Sumac vénéneux (semis)
Poison ivy (sproutling) = Sumac vénéneux (pousse)
Poison ivy (climbing plant) = Sumac vénéneux (grimpant)
[Poison Ivy] Loaded. = [Sumac vénéneux] Chargé.

View File

@ -1,5 +0,0 @@
Poison ivy (seedling) = Hera venenosa (plantilha)
Poison ivy (sproutling) = Hera venenosa (brotando)
Poison ivy (climbing plant) = Hera venenosa (planta trepadeira)
[Poison Ivy] Loaded. =[Poison Ivy] Carregado

View File

@ -1,7 +0,0 @@
# Template
Poison ivy (seedling) =
Poison ivy (sproutling) =
Poison ivy (climbing plant) =
[Poison Ivy] Loaded. =

View File

@ -1,7 +0,0 @@
# Turkish translation by mahmutelmas06
Poison ivy (seedling) = Sarmaşık (Fidan)
Poison ivy (sproutling) = Sarmaşık (Filiz)
Poison ivy (climbing plant) = Sarmaşık (Dolanan)
[Poison Ivy] Loaded. = Sarmaşık yüklendi

View File

@ -1,6 +1,7 @@
default default
biome_lib biome_lib
plantlife_i18n
bushes? bushes?
ferns? ferns?
moretrees? moretrees?
trees? trees?

View File

@ -7,6 +7,9 @@ local mname = "trunks"
abstract_trunks = {} abstract_trunks = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("trunks").."/trunks_settings.txt") dofile(minetest.get_modpath("trunks").."/trunks_settings.txt")
dofile(minetest.get_modpath("trunks").."/generating.lua") dofile(minetest.get_modpath("trunks").."/generating.lua")
dofile(minetest.get_modpath("trunks").."/nodes.lua") dofile(minetest.get_modpath("trunks").."/nodes.lua")
@ -14,4 +17,4 @@ dofile(minetest.get_modpath("trunks").."/crafting.lua")
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...") print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------

View File

@ -1,4 +1,6 @@
-- Code by Mossmanikin & Neuromancer -- Code by Mossmanikin & Neuromancer
-- support for i18n
local S = plantlife_i18n.gettext
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- TWiGS -- TWiGS
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -13,11 +15,11 @@ for i in pairs(NoDe) do
local NR = NoDe[i][1] local NR = NoDe[i][1]
local iNV = NR - 1 local iNV = NR - 1
minetest.register_node("trunks:twig_"..NR, { minetest.register_node("trunks:twig_"..NR, {
description = "Twig", description = S("Twig"),
inventory_image = "trunks_twig_"..NR..".png", inventory_image = "trunks_twig_"..NR..".png",
wield_image = "trunks_twig_"..NR..".png", wield_image = "trunks_twig_"..NR..".png",
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"trunks_twig_"..NR..".png", "trunks_twig_"..NR..".png",
"trunks_twig_"..NR..".png^[transformFY", -- mirror "trunks_twig_"..NR..".png^[transformFY", -- mirror
"trunks_twig_6.png" -- empty "trunks_twig_6.png" -- empty
@ -58,7 +60,7 @@ end
local flat_moss = {-1/2, -1/2, -1/2, 1/2, -15/32--[[<-flickers if smaller]], 1/2} local flat_moss = {-1/2, -1/2, -1/2, 1/2, -15/32--[[<-flickers if smaller]], 1/2}
minetest.register_node("trunks:moss", { minetest.register_node("trunks:moss", {
description = "Moss", description = S("Moss"),
drawtype = "nodebox",--"signlike", drawtype = "nodebox",--"signlike",
tiles = {"trunks_moss.png"}, tiles = {"trunks_moss.png"},
inventory_image = "trunks_moss.png", inventory_image = "trunks_moss.png",
@ -77,7 +79,7 @@ minetest.register_node("trunks:moss", {
-- MoSS & FuNGuS -- MoSS & FuNGuS
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
minetest.register_node("trunks:moss_fungus", { minetest.register_node("trunks:moss_fungus", {
description = "Moss with Fungus", description = S("Moss with Fungus"),
drawtype = "nodebox",--"signlike", drawtype = "nodebox",--"signlike",
tiles = {"trunks_moss_fungus.png"}, tiles = {"trunks_moss_fungus.png"},
inventory_image = "trunks_moss_fungus.png", inventory_image = "trunks_moss_fungus.png",
@ -98,7 +100,7 @@ minetest.register_node("trunks:moss_fungus", {
minetest.register_alias("woodstuff:twigs", "trunks:twigs") minetest.register_alias("woodstuff:twigs", "trunks:twigs")
minetest.register_node("trunks:twigs", { minetest.register_node("trunks:twigs", {
description = "Twigs Block", description = S("Twigs Block"),
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = {"trunks_twigs.png"}, tiles = {"trunks_twigs.png"},
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
@ -111,7 +113,7 @@ minetest.register_node("trunks:twigs", {
minetest.register_alias("woodstuff:twigs_slab", "trunks:twigs_slab") minetest.register_alias("woodstuff:twigs_slab", "trunks:twigs_slab")
minetest.register_node("trunks:twigs_slab", { minetest.register_node("trunks:twigs_slab", {
description = "Twigs Slab", description = S("Twigs Slab"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -130,7 +132,7 @@ minetest.register_node("trunks:twigs_slab", {
minetest.register_alias("woodstuff:twigs_roof", "trunks:twigs_roof") minetest.register_alias("woodstuff:twigs_roof", "trunks:twigs_roof")
minetest.register_node("trunks:twigs_roof", { minetest.register_node("trunks:twigs_roof", {
description = "Twigs Roof", description = S("Twigs Roof"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -153,7 +155,7 @@ minetest.register_node("trunks:twigs_roof", {
minetest.register_alias("woodstuff:twigs_roof_corner", "trunks:twigs_roof_corner") minetest.register_alias("woodstuff:twigs_roof_corner", "trunks:twigs_roof_corner")
minetest.register_node("trunks:twigs_roof_corner", { minetest.register_node("trunks:twigs_roof_corner", {
description = "Twigs Roof Corner 1", description = S("Twigs Roof Corner 1"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -181,7 +183,7 @@ minetest.register_node("trunks:twigs_roof_corner", {
minetest.register_alias("woodstuff:twigs_roof_corner_2", "trunks:twigs_roof_corner_2") minetest.register_alias("woodstuff:twigs_roof_corner_2", "trunks:twigs_roof_corner_2")
minetest.register_node("trunks:twigs_roof_corner_2", { minetest.register_node("trunks:twigs_roof_corner_2", {
description = "Twigs Roof Corner 2", description = S("Twigs Roof Corner 2"),
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -214,7 +216,7 @@ if Auto_Roof_Corner == true then
interval = 1, interval = 1,
chance = 1, chance = 1,
action = function(pos) action = function(pos)
local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z }) local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z })
local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z }) local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z })
local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1}) local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1})
@ -227,7 +229,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner, param2=0}) minetest.set_node(pos, {name=corner, param2=0})
end end
if ((node_north.name == roof and node_north.param2 == 1) if ((node_north.name == roof and node_north.param2 == 1)
or (node_north.name == corner and node_north.param2 == 2)) or (node_north.name == corner and node_north.param2 == 2))
and ((node_east.name == roof and node_east.param2 == 0) and ((node_east.name == roof and node_east.param2 == 0)
@ -235,7 +237,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner, param2=1}) minetest.set_node(pos, {name=corner, param2=1})
end end
if ((node_east.name == roof and node_east.param2 == 2) if ((node_east.name == roof and node_east.param2 == 2)
or (node_east.name == corner and node_east.param2 == 3)) or (node_east.name == corner and node_east.param2 == 3))
and ((node_south.name == roof and node_south.param2 == 1) and ((node_south.name == roof and node_south.param2 == 1)
@ -243,7 +245,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner, param2=2}) minetest.set_node(pos, {name=corner, param2=2})
end end
if ((node_south.name == roof and node_south.param2 == 3) if ((node_south.name == roof and node_south.param2 == 3)
or (node_south.name == corner and node_south.param2 == 0)) or (node_south.name == corner and node_south.param2 == 0))
and ((node_west.name == roof and node_west.param2 == 2) and ((node_west.name == roof and node_west.param2 == 2)
@ -259,7 +261,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner_2, param2=0}) minetest.set_node(pos, {name=corner_2, param2=0})
end end
if ((node_north.name == roof and node_north.param2 == 3) if ((node_north.name == roof and node_north.param2 == 3)
or (node_north.name == corner_2 and node_north.param2 == 2)) or (node_north.name == corner_2 and node_north.param2 == 2))
and ((node_east.name == roof and node_east.param2 == 2) and ((node_east.name == roof and node_east.param2 == 2)
@ -267,7 +269,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner_2, param2=1}) minetest.set_node(pos, {name=corner_2, param2=1})
end end
if ((node_east.name == roof and node_east.param2 == 0) if ((node_east.name == roof and node_east.param2 == 0)
or (node_east.name == corner_2 and node_east.param2 == 3)) or (node_east.name == corner_2 and node_east.param2 == 3))
and ((node_south.name == roof and node_south.param2 == 3) and ((node_south.name == roof and node_south.param2 == 3)
@ -275,7 +277,7 @@ if Auto_Roof_Corner == true then
then then
minetest.set_node(pos, {name=corner_2, param2=2}) minetest.set_node(pos, {name=corner_2, param2=2})
end end
if ((node_south.name == roof and node_south.param2 == 1) if ((node_south.name == roof and node_south.param2 == 1)
or (node_south.name == corner_2 and node_south.param2 == 0)) or (node_south.name == corner_2 and node_south.param2 == 0))
and ((node_west.name == roof and node_west.param2 == 0) and ((node_west.name == roof and node_west.param2 == 0)
@ -291,7 +293,7 @@ end
-- MM: The following stuff is just for testing purposes for now; no generating of roots. -- MM: The following stuff is just for testing purposes for now; no generating of roots.
-- I'm not satisfied with this; they should be either bigger or a different drawtype. -- I'm not satisfied with this; they should be either bigger or a different drawtype.
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- RooTS -- RooTS
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
if Roots == true then -- see settings.txt if Roots == true then -- see settings.txt
@ -332,7 +334,7 @@ for i in pairs(TRuNKS) do
local des = node.description local des = node.description
minetest.register_node("trunks:"..TRuNK.."root", { minetest.register_node("trunks:"..TRuNK.."root", {
description = des.." Root", description = des.." "..S("Root"),
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = { tiles = {

View File

@ -1,3 +1,6 @@
-- support for i18n
local S = plantlife_i18n.gettext
minetest.register_craft({ minetest.register_craft({
output = 'vines:rope_block', output = 'vines:rope_block',
recipe = vines.recipes['rope_block'] recipe = vines.recipes['rope_block']
@ -9,6 +12,6 @@ minetest.register_craft({
}) })
minetest.register_craftitem("vines:vines", { minetest.register_craftitem("vines:vines", {
description = "Vines", description = S("Vines"),
inventory_image = "vines_item.png", inventory_image = "vines_item.png",
}) })

View File

@ -1,3 +1,4 @@
default default
biome_lib biome_lib
plantlife_i18n
moretrees? moretrees?

View File

@ -1,3 +1,6 @@
-- support for i18n
local S = plantlife_i18n.gettext
vines.register_vine = function( name, defs, biome ) vines.register_vine = function( name, defs, biome )
local groups = { vines=1, snappy=3, flammable=2 } local groups = { vines=1, snappy=3, flammable=2 }
@ -61,7 +64,7 @@ vines.register_vine = function( name, defs, biome )
}) })
minetest.register_node( vine_name_middle, { minetest.register_node( vine_name_middle, {
description = "Matured "..defs.description, description = S("Matured").." "..defs.description,
walkable = false, walkable = false,
climbable = true, climbable = true,
drop = "", drop = "",

View File

@ -3,6 +3,9 @@ vines = {
recipes = {} recipes = {}
} }
-- support for i18n
local S = plantlife_i18n.gettext
dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" )
dofile( minetest.get_modpath( vines.name ) .. "/aliases.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/aliases.lua" )
dofile( minetest.get_modpath( vines.name ) .. "/recipes.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/recipes.lua" )
@ -11,4 +14,4 @@ dofile( minetest.get_modpath( vines.name ) .. "/nodes.lua" )
dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" )
dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" )
print("[Vines] Loaded!") print(S("[Vines] Loaded!"))

View File

@ -1,5 +1,8 @@
-- support for i18n
local S = plantlife_i18n.gettext
minetest.register_node("vines:rope_block", { minetest.register_node("vines:rope_block", {
description = "Rope", description = S("Rope"),
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
tiles = { tiles = {
@ -30,7 +33,7 @@ minetest.register_node("vines:rope_block", {
}) })
minetest.register_node("vines:rope", { minetest.register_node("vines:rope", {
description = "Rope", description = S("Rope"),
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
@ -47,7 +50,7 @@ minetest.register_node("vines:rope", {
}) })
minetest.register_node("vines:rope_end", { minetest.register_node("vines:rope_end", {
description = "Rope", description = S("Rope"),
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,

View File

@ -1,5 +1,8 @@
-- support for i18n
local S = plantlife_i18n.gettext
minetest.register_tool("vines:shears", { minetest.register_tool("vines:shears", {
description = "Shears", description = S("Shears"),
inventory_image = "vines_shears.png", inventory_image = "vines_shears.png",
wield_image = "vines_shears.png", wield_image = "vines_shears.png",
stack_max = 1, stack_max = 1,

View File

@ -1,5 +1,8 @@
-- support for i18n
local S = plantlife_i18n.gettext
vines.register_vine( 'root', { vines.register_vine( 'root', {
description = "Roots", description = S("Roots"),
average_length = 9, average_length = 9,
},{ },{
choose_random_wall = true, choose_random_wall = true,
@ -17,7 +20,7 @@ vines.register_vine( 'root', {
}) })
vines.register_vine( 'vine', { vines.register_vine( 'vine', {
description = "Vines", description = S("Vines"),
average_length = 5, average_length = 5,
},{ },{
choose_random_wall = true, choose_random_wall = true,
@ -38,7 +41,7 @@ vines.register_vine( 'vine', {
}) })
vines.register_vine( 'side', { vines.register_vine( 'side', {
description = "Vines", description = S("Vines"),
average_length = 6, average_length = 6,
},{ },{
choose_random_wall = true, choose_random_wall = true,
@ -59,7 +62,7 @@ vines.register_vine( 'side', {
}) })
vines.register_vine( "jungle", { vines.register_vine( "jungle", {
description = "Jungle Vines", description = S("Jungle Vines"),
average_length = 7, average_length = 7,
},{ },{
choose_random_wall = true, choose_random_wall = true,
@ -86,7 +89,7 @@ vines.register_vine( "jungle", {
}) })
vines.register_vine( 'willow', { vines.register_vine( 'willow', {
description = "Willow Vines", description = S("Willow Vines"),
average_length = 9, average_length = 9,
},{ },{
choose_random_wall = true, choose_random_wall = true,

View File

@ -1,7 +1,8 @@
default default
biome_lib biome_lib
plantlife_i18n
bushes? bushes?
ferns? ferns?
moretrees? moretrees?
trees? trees?
trunks? trunks?

View File

@ -6,18 +6,21 @@ local mname = "woodsoils" -- former "forestsoils"
abstract_woodsoils = {} abstract_woodsoils = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("woodsoils").."/nodes.lua") dofile(minetest.get_modpath("woodsoils").."/nodes.lua")
dofile(minetest.get_modpath("woodsoils").."/generating.lua") dofile(minetest.get_modpath("woodsoils").."/generating.lua")
-- felt like playing a bit :D -- felt like playing a bit :D
--[[print(" _____ __") --[[print(" _____ __")
print("_/ ____\\___________ ____ _______/ |_") print("_/ ____\\___________ ____ _______/ |_")
print("\\ __\\/ _ \\_ __ \\_/ __ \\ / ___/\\ __\\") print("\\ __\\/ _ \\_ __ \\_/ __ \\ / ___/\\ __\\")
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |") print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
print(" |__| \\____/|__| \\___ >____ > |__|") print(" |__| \\____/|__| \\___ >____ > |__|")
print(" \\/ \\/") print(" \\/ \\/")
print(" .__.__") print(" .__.__")
print(" __________ |__| | ______") print(" __________ |__| | ______")
print(" / ___/ _ \\| | | / ___/") print(" / ___/ _ \\| | | / ___/")
print(" \\___ ( <_> ) | |__\\___ \\") print(" \\___ ( <_> ) | |__\\___ \\")
@ -26,4 +29,4 @@ print(" \\/ \\/")]]
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...") print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------

View File

@ -1,10 +1,13 @@
-- support for i18n
local S = plantlife_i18n.gettext
-- nodes -- nodes
minetest.register_node("woodsoils:dirt_with_leaves_1", { minetest.register_node("woodsoils:dirt_with_leaves_1", {
description = "Forest Soil 1", description = S("Forest Soil 1"),
tiles = { tiles = {
"default_dirt.png^woodsoils_ground_cover.png", "default_dirt.png^woodsoils_ground_cover.png",
"default_dirt.png", "default_dirt.png",
"default_dirt.png^woodsoils_ground_cover_side.png"}, "default_dirt.png^woodsoils_ground_cover_side.png"},
is_ground_content = true, is_ground_content = true,
groups = { groups = {
@ -19,10 +22,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_1", {
}) })
minetest.register_node("woodsoils:dirt_with_leaves_2", { minetest.register_node("woodsoils:dirt_with_leaves_2", {
description = "Forest Soil 2", description = S("Forest Soil 2"),
tiles = { tiles = {
"woodsoils_ground.png", "woodsoils_ground.png",
"default_dirt.png", "default_dirt.png",
"default_dirt.png^woodsoils_ground_side.png"}, "default_dirt.png^woodsoils_ground_side.png"},
is_ground_content = true, is_ground_content = true,
groups = { groups = {
@ -37,10 +40,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_2", {
}) })
minetest.register_node("woodsoils:grass_with_leaves_1", { minetest.register_node("woodsoils:grass_with_leaves_1", {
description = "Forest Soil 3", description = S("Forest Soil 3"),
tiles = { tiles = {
"default_grass.png^woodsoils_ground_cover2.png", "default_grass.png^woodsoils_ground_cover2.png",
"default_dirt.png", "default_dirt.png",
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side2.png"}, "default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side2.png"},
is_ground_content = true, is_ground_content = true,
groups = { groups = {
@ -55,10 +58,10 @@ minetest.register_node("woodsoils:grass_with_leaves_1", {
}) })
minetest.register_node("woodsoils:grass_with_leaves_2", { minetest.register_node("woodsoils:grass_with_leaves_2", {
description = "Forest Soil 4", description = S("Forest Soil 4"),
tiles = { tiles = {
"default_grass.png^woodsoils_ground_cover.png", "default_grass.png^woodsoils_ground_cover.png",
"default_dirt.png", "default_dirt.png",
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side.png"}, "default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side.png"},
is_ground_content = true, is_ground_content = true,
groups = { groups = {

View File

@ -1,2 +1,3 @@
default default
biome_lib biome_lib
plantlife_i18n

View File

@ -1,7 +1,10 @@
abstract_youngtrees = {} -- support for i18n
local S = plantlife_i18n.gettext
abstract_youngtrees = {}
minetest.register_node("youngtrees:bamboo", { minetest.register_node("youngtrees:bamboo", {
description = "Young Bamboo Tree", description = S("Young Bamboo Tree"),
drawtype="nodebox", drawtype="nodebox",
tiles = {"bamboo.png"}, tiles = {"bamboo.png"},
paramtype = "light", paramtype = "light",
@ -21,11 +24,11 @@ minetest.register_node("youngtrees:bamboo", {
}) })
minetest.register_node("youngtrees:youngtree2_middle",{ minetest.register_node("youngtrees:youngtree2_middle",{
description = "Young Tree 2 (middle)", description = S("Young Tree 2 (middle)"),
drawtype="nodebox", drawtype="nodebox",
tiles = {"youngtree2branch.png"}, tiles = {"youngtree2branch.png"},
inventory_image = "youngtree2branch.png", inventory_image = "youngtree2branch.png",
wield_image = "youngtree2branch.png", wield_image = "youngtree2branch.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
is_ground_content = true, is_ground_content = true,
@ -43,7 +46,7 @@ minetest.register_node("youngtrees:youngtree2_middle",{
}) })
minetest.register_node("youngtrees:youngtree_top", { minetest.register_node("youngtrees:youngtree_top", {
description = "Young Tree (top)", description = S("Young Tree (top)"),
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"youngtree16xa.png"}, tiles = {"youngtree16xa.png"},
inventory_image = "youngtree16xa.png", inventory_image = "youngtree16xa.png",
@ -60,9 +63,9 @@ minetest.register_node("youngtrees:youngtree_top", {
drop = 'trunks:twig_1' drop = 'trunks:twig_1'
}) })
minetest.register_node("youngtrees:youngtree_middle", { minetest.register_node("youngtrees:youngtree_middle", {
description = "Young Tree (middle)", description = S("Young Tree (middle)"),
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"youngtree16xb.png"}, tiles = {"youngtree16xb.png"},
inventory_image = "youngtree16xb.png", inventory_image = "youngtree16xb.png",
@ -80,9 +83,9 @@ minetest.register_node("youngtrees:youngtree_middle", {
}) })
minetest.register_node("youngtrees:youngtree_bottom", { minetest.register_node("youngtrees:youngtree_bottom", {
description = "Young Tree (bottom)", description = S("Young Tree (bottom)"),
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"youngtree16xc.png"}, tiles = {"youngtree16xc.png"},
inventory_image = "youngtree16xc.png", inventory_image = "youngtree16xc.png",
@ -98,19 +101,19 @@ minetest.register_node("youngtrees:youngtree_bottom", {
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
drop = 'trunks:twig_1' drop = 'trunks:twig_1'
}) })
abstract_youngtrees.grow_youngtree = function(pos) abstract_youngtrees.grow_youngtree = function(pos)
local height = math.random(1,3) local height = math.random(1,3)
abstract_youngtrees.grow_youngtree_node(pos,height) abstract_youngtrees.grow_youngtree_node(pos,height)
end end
abstract_youngtrees.grow_youngtree_node = function(pos, height) abstract_youngtrees.grow_youngtree_node = function(pos, height)
local right_here = {x=pos.x, y=pos.y+1, z=pos.z} local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
local above_right_here = {x=pos.x, y=pos.y+2, z=pos.z} local above_right_here = {x=pos.x, y=pos.y+2, z=pos.z}
if minetest.get_node(right_here).name == "air" -- instead of check_air = true, if minetest.get_node(right_here).name == "air" -- instead of check_air = true,
or minetest.get_node(right_here).name == "default:junglegrass" then or minetest.get_node(right_here).name == "default:junglegrass" then
if height == 1 then if height == 1 then
@ -119,20 +122,20 @@ abstract_youngtrees.grow_youngtree_node = function(pos, height)
if height == 2 then if height == 2 then
minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"}) minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"})
minetest.set_node(above_right_here, {name="youngtrees:youngtree_top"}) minetest.set_node(above_right_here, {name="youngtrees:youngtree_top"})
end end
if height == 3 then if height == 3 then
local two_above_right_here = {x=pos.x, y=pos.y+3, z=pos.z} local two_above_right_here = {x=pos.x, y=pos.y+3, z=pos.z}
minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"}) minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"})
minetest.set_node(above_right_here, {name="youngtrees:youngtree_middle"}) minetest.set_node(above_right_here, {name="youngtrees:youngtree_middle"})
minetest.set_node(two_above_right_here, {name="youngtrees:youngtree_top"}) minetest.set_node(two_above_right_here, {name="youngtrees:youngtree_top"})
end end
end end
end end
biome_lib:register_generate_plant({ biome_lib:register_generate_plant({
surface = { surface = {
"default:dirt_with_grass", "default:dirt_with_grass",
"stoneage:grass_with_silex", "stoneage:grass_with_silex",
"sumpf:peat", "sumpf:peat",
"sumpf:sumpf" "sumpf:sumpf"
@ -143,4 +146,4 @@ biome_lib:register_generate_plant({
plantlife_limit = -0.9, plantlife_limit = -0.9,
}, },
abstract_youngtrees.grow_youngtree abstract_youngtrees.grow_youngtree
) )