cleanup codebase (#46)

* cleanup codebase

* fix typo

* add nil checks to on_place

* nuke all mod loaded statements
This commit is contained in:
Niklp 2023-07-11 00:24:25 +02:00 committed by GitHub
parent d9782771c3
commit c7f65aac83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
98 changed files with 200 additions and 877 deletions

View File

@ -1,10 +1,5 @@
-- 3D Mushroom mod by VanessaE -- 3D Mushroom mod by VanessaE
mushroom = {}
-- support for i18n
local S = minetest.get_translator("3dmushrooms")
minetest.override_item("flowers:mushroom_fertile_brown", { minetest.override_item("flowers:mushroom_fertile_brown", {
drawtype = "mesh", drawtype = "mesh",
mesh = "3dmushrooms.obj", mesh = "3dmushrooms.obj",
@ -68,5 +63,3 @@ minetest.register_alias("mushroom:spore1", "flowers:mushroom_spores_red")
minetest.register_alias("mushroom:poison", "flowers:mushroom_red") minetest.register_alias("mushroom:poison", "flowers:mushroom_red")
minetest.register_alias("mushroom:identifier", "default:mese_crystal_fragment") minetest.register_alias("mushroom:identifier", "default:mese_crystal_fragment")
minetest.log("info", S("[3D Mushrooms] loaded."))

View File

@ -1,8 +0,0 @@
# textdomain: 3dmushrooms
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
[3D Mushrooms] loaded.=[3D Mushrooms] geladen.

View File

@ -1,8 +0,0 @@
# textdomain: 3dmushrooms
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
[3D Mushrooms] loaded.=[3D Mushrooms] ŝargis.

View File

@ -1,8 +0,0 @@
# textdomain: 3dmushrooms
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
[3D Mushrooms] loaded.=

View File

@ -1,2 +1,2 @@
name = 3dmushrooms name = 3dmushrooms
depends = default, flowers depends = flowers

View File

@ -31,7 +31,6 @@ minetest.register_node("bushes:youngtree2_bottom", {
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
--{0.375000,-0.500000,-0.500000,0.500000,0.500000,-0.375000}, --NodeBox 1
{-0.0612,-0.500000,-0.500000,0.0612,0.500000,-0.375000}, --NodeBox 1 {-0.0612,-0.500000,-0.500000,0.0612,0.500000,-0.375000}, --NodeBox 1
} }
}, },
@ -40,10 +39,10 @@ minetest.register_node("bushes:youngtree2_bottom", {
drop = 'default:stick' drop = 'default:stick'
}) })
local BushBranchCenter = { {1,1}, {3,2} } local BushBranchCenter = { {1,1}, {3,2} }
for i in pairs(BushBranchCenter) do 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 = S("Bush Branches @1", Num), description = S("Bush Branches @1", Num),
drawtype = "nodebox", drawtype = "nodebox",
@ -79,10 +78,10 @@ for i in pairs(BushBranchCenter) do
}) })
end end
local BushBranchSide = { {2,1}, {4,2} } local BushBranchSide = { {2,1}, {4,2} }
for i in pairs(BushBranchSide) do 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 = S("Bush Branches @1", Num), description = S("Bush Branches @1", Num),
drawtype = "nodebox", drawtype = "nodebox",
@ -124,7 +123,7 @@ for i in pairs(BushBranchSide) do
}) })
end end
local BushLeafNode = { {1}, {2}} 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, {

View File

@ -1,10 +1,4 @@
# textdomain: bushes # textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
Young Tree 2 (bottom)=Strauch 2 (Ansatz) Young Tree 2 (bottom)=Strauch 2 (Ansatz)
Bush Branches @1=Buschäste @1 Bush Branches @1=Buschäste @1
Bush Leaves @1=Buschblätter @1 Bush Leaves @1=Buschblätter @1

View File

@ -1,10 +1,4 @@
# textdomain: bushes # textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
Young Tree 2 (bottom)=Juna Arbo 2 (malsupro) Young Tree 2 (bottom)=Juna Arbo 2 (malsupro)
Bush Branches @1=Arbustaj Branĉoj @1 Bush Branches @1=Arbustaj Branĉoj @1
Bush Leaves @1=Arbustaj Folioj @1 Bush Leaves @1=Arbustaj Folioj @1

View File

@ -1,11 +1,4 @@
# textdomain: bushes # textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Young Tree 2 (bottom)=Arbuste 2 (bas) Young Tree 2 (bottom)=Arbuste 2 (bas)
Bush Branches @1=Branches de buisson @1 Bush Branches @1=Branches de buisson @1
Bush Leaves @1=Feuilles de buisson @1 Bush Leaves @1=Feuilles de buisson @1

View File

@ -1,10 +1,4 @@
# textdomain: bushes # textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
Young Tree 2 (bottom)= Young Tree 2 (bottom)=
Bush Branches @1= Bush Branches @1=
Bush Leaves @1= Bush Leaves @1=

View File

@ -33,9 +33,12 @@ end
-- override farming_plus strawberry and add food_ group -- override farming_plus strawberry and add food_ group
if minetest.get_modpath("farming_plus") then if minetest.get_modpath("farming_plus") then
local groups = table.copy(minetest.registered_items["farming_plus:strawberry_item"])
groups["food_strawberry"] = 1
groups["food_berry"] = 1
minetest.override_item("farming_plus:strawberry_item", { minetest.override_item("farming_plus:strawberry_item", {
groups = {food_strawberry = 1, food_berry = 1, flammable = 2}, groups = groups,
}) })
end end

View File

@ -7,7 +7,7 @@ bushes_classic = {}
local S = minetest.get_translator("bushes_classic") local S = minetest.get_translator("bushes_classic")
bushes_classic.bushes = { bushes_classic.bushes = {
"strawberry", "strawberry",
"blackberry", "blackberry",
"blueberry", "blueberry",
"raspberry", "raspberry",
@ -54,5 +54,3 @@ biome_lib.register_active_spawner({
}) })
minetest.register_alias("bushes:basket_pies", "bushes:basket_strawberry") minetest.register_alias("bushes:basket_pies", "bushes:basket_strawberry")
print("[Bushes] Loaded.")

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Sugar=Zucker Sugar=Zucker
Basket with Strawberry pies=Korb mit Erdbeertorten
Cooked Strawberry pie=Erdbeertorte
Raw Strawberry pie=Rohe Erdbeertorte
Slice of Strawberry pie=Erdbeertortenstueck
Strawberry=Erdbeere Strawberry=Erdbeere
Raw Strawberry pie=Rohe Erdbeertorte
Cooked Strawberry pie=Erdbeertorte
Slice of Strawberry pie=Erdbeertortenstueck
Basket with Strawberry pies=Korb mit Erdbeertorten
Strawberry Bush=Erdbeerbusch Strawberry Bush=Erdbeerbusch
Basket with Blackberry pies=Korb mit Brombeertorten
Blackberry=Brombeere Blackberry=Brombeere
Blackberry Bush=Brombeerbusch
Cooked Blackberry pie=Brombeertorte
Raw Blackberry pie=Rohe Brombeertorte Raw Blackberry pie=Rohe Brombeertorte
Cooked Blackberry pie=Brombeertorte
Slice of Blackberry pie=Brombeertortenstueck Slice of Blackberry pie=Brombeertortenstueck
Basket with Blueberry pies=Korb mit Blaubeertorten Basket with Blackberry pies=Korb mit Brombeertorten
Blackberry Bush=Brombeerbusch
Blueberry=Blaubeere Blueberry=Blaubeere
Blueberry Bush=Blaubeerbusch
Cooked Blueberry pie=Blaubeertorte
Raw Blueberry pie=Rohe Blaubeertorte Raw Blueberry pie=Rohe Blaubeertorte
Cooked Blueberry pie=Blaubeertorte
Slice of Blueberry pie=Blaubeertortenstueck Slice of Blueberry pie=Blaubeertortenstueck
Basket with Raspberry pies=Korb mit Himbeertorten Basket with Blueberry pies=Korb mit Blaubeertorten
Cooked Raspberry pie=Himbeertorte Blueberry Bush=Blaubeerbusch
Raspberry=Himbeere Raspberry=Himbeere
Raspberry Bush=Himbeerbusch
Raw Raspberry pie=Rohe Himbeertorte Raw Raspberry pie=Rohe Himbeertorte
Cooked Raspberry pie=Himbeertorte
Slice of Raspberry pie=Himbeertortenstueck Slice of Raspberry pie=Himbeertortenstueck
Basket with Gooseberry pies=Korb mit Stachelbeertorten Basket with Raspberry pies=Korb mit Himbeertorten
Cooked Gooseberry pie=Stachelbeertorte Raspberry Bush=Himbeerbusch
Gooseberry=Stachelbeere Gooseberry=Stachelbeere
Gooseberry Bush=Stachelbeerbusch
Raw Gooseberry pie=Rohe Stachelbeertorte Raw Gooseberry pie=Rohe Stachelbeertorte
Cooked Gooseberry pie=Stachelbeertorte
Slice of Gooseberry pie=Stachelbeertortenstueck Slice of Gooseberry pie=Stachelbeertortenstueck
Basket with Mixed Berry pies=Korb mit Beerenmixtorten Basket with Gooseberry pies=Korb mit Stachelbeertorten
Cooked Mixed Berry pie=Beerenmixtorte Gooseberry Bush=Stachelbeerbusch
Currently fruitless Bush=zur Zeit fruechteloser
Mixed Berry=Beerenmix Mixed Berry=Beerenmix
Raw Mixed Berry pie=Rohe Beerenmixtorte Raw Mixed Berry pie=Rohe Beerenmixtorte
Cooked Mixed Berry pie=Beerenmixtorte
Slice of Mixed Berry pie=Beerenmixtortenstueck Slice of Mixed Berry pie=Beerenmixtortenstueck
Basket with Mixed Berry pies=Korb mit Beerenmixtorten
Currently fruitless Bush=zur Zeit fruechteloser
Basket=Korb Basket=Korb

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Sugar=Sukero Sugar=Sukero
Basket with Strawberry pies=Korbo kun Fragokukoj
Cooked Strawberry pie=Kuirita Fragokuko
Raw Strawberry pie=Kruda Fragokuko
Slice of Strawberry pie=Tranĉaĵo de Fragokuko
Strawberry=Frago Strawberry=Frago
Raw Strawberry pie=Kruda Fragokuko
Cooked Strawberry pie=Kuirita Fragokuko
Slice of Strawberry pie=Tranĉaĵo de Fragokuko
Basket with Strawberry pies=Korbo kun Fragokukoj
Strawberry Bush=Fraga Arbusto Strawberry Bush=Fraga Arbusto
Basket with Blackberry pies=Korbo kun Rubusokukoj
Cooked Blackberry pie=Kuirita Rubusokuko
Raw Blackberry pie=Kruda Rubusokuko
Slice of Blackberry pie=Tranĉaĵo de Rubusokuko
Blackberry=Rubuso Blackberry=Rubuso
Raw Blackberry pie=Kruda Rubusokuko
Cooked Blackberry pie=Kuirita Rubusokuko
Slice of Blackberry pie=Tranĉaĵo de Rubusokuko
Basket with Blackberry pies=Korbo kun Rubusokukoj
Blackberry Bush=Rubusa Arbusto Blackberry Bush=Rubusa Arbusto
Basket with Blueberry pies=Korbo kun Mirtelokukoj
Blueberry=Mirtelo Blueberry=Mirtelo
Blueberry Bush=Mirtela Arbusto
Cooked Blueberry pie=Kuirita Mirtelokuko
Raw Blueberry pie=Kruda Mirtelokuko Raw Blueberry pie=Kruda Mirtelokuko
Cooked Blueberry pie=Kuirita Mirtelokuko
Slice of Blueberry pie=Tranĉaĵo de Mirtelokuko Slice of Blueberry pie=Tranĉaĵo de Mirtelokuko
Basket with Raspberry pies=Korbo kun Frambokukoj Basket with Blueberry pies=Korbo kun Mirtelokukoj
Cooked Raspberry pie=Kuirita Frambokuko Blueberry Bush=Mirtela Arbusto
Raspberry=Frambo Raspberry=Frambo
Raspberry Bush=Framba Arbusto
Raw Raspberry pie=Kruda Frambokuko Raw Raspberry pie=Kruda Frambokuko
Cooked Raspberry pie=Kuirita Frambokuko
Slice of Raspberry pie=Tranĉaĵo de Frambokuko Slice of Raspberry pie=Tranĉaĵo de Frambokuko
Basket with Gooseberry pies=Korbo kun Grosberkuko Basket with Raspberry pies=Korbo kun Frambokukoj
Cooked Gooseberry pie=Kuirita Grosberkuko Raspberry Bush=Framba Arbusto
Gooseberry=Grosbero Gooseberry=Grosbero
Gooseberry Bush=Grosberarbusto
Raw Gooseberry pie=Kruda Grosberkuko Raw Gooseberry pie=Kruda Grosberkuko
Cooked Gooseberry pie=Kuirita Grosberkuko
Slice of Gooseberry pie=Tranĉaĵo de Grosberkuko Slice of Gooseberry pie=Tranĉaĵo de Grosberkuko
Basket with Mixed Berry pies=Korbo kun Miksitaj Beraj Kukoj Basket with Gooseberry pies=Korbo kun Grosberkuko
Cooked Mixed Berry pie=Kuirita Miksa Beraj Kukoj Gooseberry Bush=Grosberarbusto
Currently fruitless Bush=Nuntempe senfrukta Arbusto
Mixed Berry=Miksita Bero Mixed Berry=Miksita Bero
Raw Mixed Berry pie=Kruda Miksita Bera Kuko Raw Mixed Berry pie=Kruda Miksita Bera Kuko
Cooked Mixed Berry pie=Kuirita Miksa Beraj Kukoj
Slice of Mixed Berry pie=Tranĉaĵo de Miksita Bera Kuko Slice of Mixed Berry pie=Tranĉaĵo de Miksita Bera Kuko
Basket with Mixed Berry pies=Korbo kun Miksitaj Beraj Kukoj
Currently fruitless Bush=Nuntempe senfrukta Arbusto
Basket=Korbo Basket=Korbo

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Sugar=Azúcar Sugar=Azúcar
Basket with Strawberry pies=Cesta con Pasteles de Frutilla
Cooked Strawberry pie=Pastel de Frutilla Cocido
Raw Strawberry pie=Pastel de Frutilla Crudo
Slice of Strawberry pie=Rebanada de Pastel de Frutilla
Strawberry=Frutilla Strawberry=Frutilla
Raw Strawberry pie=Pastel de Frutilla Crudo
Cooked Strawberry pie=Pastel de Frutilla Cocido
Slice of Strawberry pie=Rebanada de Pastel de Frutilla
Basket with Strawberry pies=Cesta con Pasteles de Frutilla
Strawberry Bush=Arbusto de Frutilla Strawberry Bush=Arbusto de Frutilla
Basket with Blackberry pies=Cesta con Pasteles de Mora
Blackberry=Mora Blackberry=Mora
Blackberry Bush=Arbusto de Mora
Cooked Blackberry pie=Pastel de Mora Cocido
Raw Blackberry pie=Pastel de Mora Crudo Raw Blackberry pie=Pastel de Mora Crudo
Cooked Blackberry pie=Pastel de Mora Cocido
Slice of Blackberry pie=Rebanada de Pastel de Mora Slice of Blackberry pie=Rebanada de Pastel de Mora
Basket with Blueberry pies=Cesta con Pasteles de Arándano Basket with Blackberry pies=Cesta con Pasteles de Mora
Blackberry Bush=Arbusto de Mora
Blueberry=Arándano Blueberry=Arándano
Blueberry Bush=Arbusto de Arándano
Cooked Blueberry pie=Pastel de Arándano Cocido
Raw Blueberry pie=Pastel de Arándano Crudo Raw Blueberry pie=Pastel de Arándano Crudo
Cooked Blueberry pie=Pastel de Arándano Cocido
Slice of Blueberry pie=Rebanada de Pastel de Arándano Slice of Blueberry pie=Rebanada de Pastel de Arándano
Basket with Raspberry pies=Cesta con Pasteles de Frambuesa Basket with Blueberry pies=Cesta con Pasteles de Arándano
Cooked Raspberry pie=Pastel de Frambuesa Cocido Blueberry Bush=Arbusto de Arándano
Raspberry=Frambuesa Raspberry=Frambuesa
Raspberry Bush=Arbusto de Frambuesa
Raw Raspberry pie=Pastel de Frambuesa Crudo Raw Raspberry pie=Pastel de Frambuesa Crudo
Cooked Raspberry pie=Pastel de Frambuesa Cocido
Slice of Raspberry pie=Rebanada de Pastel de Frambuesa Slice of Raspberry pie=Rebanada de Pastel de Frambuesa
Basket with Gooseberry pies=Cesta con Pasteles de Grosella Basket with Raspberry pies=Cesta con Pasteles de Frambuesa
Cooked Gooseberry pie=Pastel de Grosella Cocido Raspberry Bush=Arbusto de Frambuesa
Gooseberry=Grosella Gooseberry=Grosella
Gooseberry Bush=Arbusto de Grosella
Raw Gooseberry pie=Pastel de Grosella Crudo Raw Gooseberry pie=Pastel de Grosella Crudo
Cooked Gooseberry pie=Pastel de Grosella Cocido
Slice of Gooseberry pie=Rebanada de Pastel de Grosella Slice of Gooseberry pie=Rebanada de Pastel de Grosella
Basket with Mixed Berry pies=Cesta con Pasteles de Mezcla de Baya Basket with Gooseberry pies=Cesta con Pasteles de Grosella
Cooked Mixed Berry pie=Pastel de Mezcla de Bayas Cocido Gooseberry Bush=Arbusto de Grosella
Currently fruitless Bush=Arbusto actualmente infructuoso
Mixed Berry=Mezcla de Baya Mixed Berry=Mezcla de Baya
Raw Mixed Berry pie=Pastel de Mezcla de Bayas Cruda Raw Mixed Berry pie=Pastel de Mezcla de Bayas Cruda
Cooked Mixed Berry pie=Pastel de Mezcla de Bayas Cocido
Slice of Mixed Berry pie=Rebanada de Pastel de Mezcla de Bayas Slice of Mixed Berry pie=Rebanada de Pastel de Mezcla de Bayas
Basket with Mixed Berry pies=Cesta con Pasteles de Mezcla de Baya
Currently fruitless Bush=Arbusto actualmente infructuoso
Basket=Cesta Basket=Cesta

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Sugar=Sucre Sugar=Sucre
Basket with Strawberry pies=Panier de tartes aux fraises
Cooked Strawberry pie=Tarte aux fraises (cuite)
Raw Strawberry pie=Tarte aux fraises (crue)
Slice of Strawberry pie=Part de tarte aux fraises
Strawberry=Fraises Strawberry=Fraises
Raw Strawberry pie=Tarte aux fraises (crue)
Cooked Strawberry pie=Tarte aux fraises (cuite)
Slice of Strawberry pie=Part de tarte aux fraises
Basket with Strawberry pies=Panier de tartes aux fraises
Strawberry Bush=Buisson de fraises Strawberry Bush=Buisson de fraises
Basket with Blackberry pies=Panier de tartes aux fraises
Blackberry=Mûres Blackberry=Mûres
Blackberry Bush=Buisson de mûres
Cooked Blackberry pie=Tarte aux mûres (cuite)
Raw Blackberry pie=Tarte aux mûres (crue) Raw Blackberry pie=Tarte aux mûres (crue)
Cooked Blackberry pie=Tarte aux mûres (cuite)
Slice of Blackberry pie=Part de tarte aux mûres Slice of Blackberry pie=Part de tarte aux mûres
Basket with Blueberry pies=Panier de tartes aux mûres Basket with Blackberry pies=Panier de tartes aux fraises
Blackberry Bush=Buisson de mûres
Blueberry=Myrtilles Blueberry=Myrtilles
Blueberry Bush=Buisson de myrtilles
Cooked Blueberry pie=Tarte aux myrtilles (cuite)
Raw Blueberry pie=Tarte aux myrtilles (crue) Raw Blueberry pie=Tarte aux myrtilles (crue)
Cooked Blueberry pie=Tarte aux myrtilles (cuite)
Slice of Blueberry pie=Part de tarte aux myrtilles Slice of Blueberry pie=Part de tarte aux myrtilles
Basket with Raspberry pies=Panier de tartes aux framboises Basket with Blueberry pies=Panier de tartes aux mûres
Cooked Raspberry pie=Tarte aux framboises (cuite) Blueberry Bush=Buisson de myrtilles
Raspberry=Framboises Raspberry=Framboises
Raspberry Bush=Buisson de framboises
Raw Raspberry pie=Tarte aux framboises (crue) Raw Raspberry pie=Tarte aux framboises (crue)
Cooked Raspberry pie=Tarte aux framboises (cuite)
Slice of Raspberry pie=Part de tarts aux framboises Slice of Raspberry pie=Part de tarts aux framboises
Basket with Gooseberry pies=Panier de tartes aux groseilles Basket with Raspberry pies=Panier de tartes aux framboises
Cooked Gooseberry pie=Tarte aux groseilles (cuite) Raspberry Bush=Buisson de framboises
Gooseberry=Groseilles Gooseberry=Groseilles
Gooseberry Bush=Buisson de groseilles
Raw Gooseberry pie=Tarte aux groseilles (crue) Raw Gooseberry pie=Tarte aux groseilles (crue)
Cooked Gooseberry pie=Tarte aux groseilles (cuite)
Slice of Gooseberry pie=Part de tarte aux groseilles Slice of Gooseberry pie=Part de tarte aux groseilles
Basket with Mixed Berry pies=Panier de tartes aux fruits rouges Basket with Gooseberry pies=Panier de tartes aux groseilles
Cooked Mixed Berry pie=Tarte aux fruits rouges (cuite) Gooseberry Bush=Buisson de groseilles
Currently fruitless Bush=Buisson sans fruits pour l'instant
Mixed Berry=Fruits rouges Mixed Berry=Fruits rouges
Raw Mixed Berry pie=Tarte aux fruits rouges (crue) Raw Mixed Berry pie=Tarte aux fruits rouges (crue)
Cooked Mixed Berry pie=Tarte aux fruits rouges (cuite)
Slice of Mixed Berry pie=Part de tarte aux fruits rouges Slice of Mixed Berry pie=Part de tarte aux fruits rouges
Basket with Mixed Berry pies=Panier de tartes aux fruits rouges
Currently fruitless Bush=Buisson sans fruits pour l'instant
Basket=Panier Basket=Panier

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Sugar=Şeker Sugar=Şeker
Basket with Strawberry pies=Çilekli pasta sepeti
Cooked Strawberry pie=Pişmiş çilekli pasta
Raw Strawberry pie=Çilekli çiğ pasta
Slice of Strawberry pie=Çilekli pasta dilimi
Strawberry=Çilek Strawberry=Çilek
Raw Strawberry pie=Çilekli çiğ pasta
Cooked Strawberry pie=Pişmiş çilekli pasta
Slice of Strawberry pie=Çilekli pasta dilimi
Basket with Strawberry pies=Çilekli pasta sepeti
Strawberry Bush=Çilek fidanı Strawberry Bush=Çilek fidanı
Basket with Blackberry pies=Böğürtlenli pasta sepeti
Blackberry=Böğürtlen Blackberry=Böğürtlen
Blackberry Bush=Böğürtlen fidanı
Cooked Blackberry pie=Pişmiş böğürtlenli pasta
Raw Blackberry pie=Böğürtlenli çiğ pasta Raw Blackberry pie=Böğürtlenli çiğ pasta
Cooked Blackberry pie=Pişmiş böğürtlenli pasta
Slice of Blackberry pie=Böğürtlenli pasta dilimi Slice of Blackberry pie=Böğürtlenli pasta dilimi
Basket with Blueberry pies=Yaban mersini pastalı sepet Basket with Blackberry pies=Böğürtlenli pasta sepeti
Blackberry Bush=Böğürtlen fidanı
Blueberry=Yaban mersini Blueberry=Yaban mersini
Blueberry Bush=Yaban mersini fidanı
Cooked Blueberry pie=Pişmiş yaban mersinli pasta
Raw Blueberry pie=Yaban mersinli çiğ pasta Raw Blueberry pie=Yaban mersinli çiğ pasta
Cooked Blueberry pie=Pişmiş yaban mersinli pasta
Slice of Blueberry pie=Yaban mersinli pasta dilimi Slice of Blueberry pie=Yaban mersinli pasta dilimi
Basket with Raspberry pies=Ahududulu pasta sepeti Basket with Blueberry pies=Yaban mersini pastalı sepet
Cooked Raspberry pie=Pişmiş ahududulu pasta Blueberry Bush=Yaban mersini fidanı
Raspberry=Ahududu Raspberry=Ahududu
Raspberry Bush=Ahududu fidanı
Raw Raspberry pie=Ahududulu çiğ pasta Raw Raspberry pie=Ahududulu çiğ pasta
Cooked Raspberry pie=Pişmiş ahududulu pasta
Slice of Raspberry pie=Ahududulu pasta dilimi Slice of Raspberry pie=Ahududulu pasta dilimi
Basket with Gooseberry pies=Bektaşi üzümlü pasta sepeti Basket with Raspberry pies=Ahududulu pasta sepeti
Cooked Gooseberry pie=Pişmiş bektaşi üzümlü pasta Raspberry Bush=Ahududu fidanı
Gooseberry=Bektaşi üzümü Gooseberry=Bektaşi üzümü
Gooseberry Bush=Bektaşi üzümü fidanı
Raw Gooseberry pie=Bektaşi üzümlü çiğ pasta Raw Gooseberry pie=Bektaşi üzümlü çiğ pasta
Cooked Gooseberry pie=Pişmiş bektaşi üzümlü pasta
Slice of Gooseberry pie=Bektaşi üzümlü pasta dilimi Slice of Gooseberry pie=Bektaşi üzümlü pasta dilimi
Basket with Mixed Berry pies=Dutlu pasta sepeti Basket with Gooseberry pies=Bektaşi üzümlü pasta sepeti
Cooked Mixed Berry pie=Pişmiş dutlu pasta Gooseberry Bush=Bektaşi üzümü fidanı
Currently fruitless Bush=Fidanı şu anda meyvesiz
Mixed Berry=Dut Mixed Berry=Dut
Raw Mixed Berry pie=Dutlu çiğ pasta Raw Mixed Berry pie=Dutlu çiğ pasta
Cooked Mixed Berry pie=Pişmiş dutlu pasta
Slice of Mixed Berry pie=Dutlu pasta dilimi Slice of Mixed Berry pie=Dutlu pasta dilimi
Basket with Mixed Berry pies=Dutlu pasta sepeti
Currently fruitless Bush=Fidanı şu anda meyvesiz
Basket=Sepet Basket=Sepet

View File

@ -1,46 +1,39 @@
# textdomain: bushes_classic # textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Sugar= Sugar=
Basket with Strawberry pies=
Cooked Strawberry pie=
Raw Strawberry pie=
Slice of Strawberry pie=
Strawberry= Strawberry=
Raw Strawberry pie=
Cooked Strawberry pie=
Slice of Strawberry pie=
Basket with Strawberry pies=
Strawberry Bush= Strawberry Bush=
Basket with Blackberry pies=
Blackberry= Blackberry=
Blackberry Bush=
Cooked Blackberry pie=
Raw Blackberry pie= Raw Blackberry pie=
Cooked Blackberry pie=
Slice of Blackberry pie= Slice of Blackberry pie=
Basket with Blueberry pies= Basket with Blackberry pies=
Blackberry Bush=
Blueberry= Blueberry=
Blueberry Bush=
Cooked Blueberry pie=
Raw Blueberry pie= Raw Blueberry pie=
Cooked Blueberry pie=
Slice of Blueberry pie= Slice of Blueberry pie=
Basket with Raspberry pies= Basket with Blueberry pies=
Cooked Raspberry pie= Blueberry Bush=
Raspberry= Raspberry=
Raspberry Bush=
Raw Raspberry pie= Raw Raspberry pie=
Cooked Raspberry pie=
Slice of Raspberry pie= Slice of Raspberry pie=
Basket with Gooseberry pies= Basket with Raspberry pies=
Cooked Gooseberry pie= Raspberry Bush=
Gooseberry= Gooseberry=
Gooseberry Bush=
Raw Gooseberry pie= Raw Gooseberry pie=
Cooked Gooseberry pie=
Slice of Gooseberry pie= Slice of Gooseberry pie=
Basket with Mixed Berry pies= Basket with Gooseberry pies=
Cooked Mixed Berry pie= Gooseberry Bush=
Currently fruitless Bush=
Mixed Berry= Mixed Berry=
Raw Mixed Berry pie= Raw Mixed Berry pie=
Cooked Mixed Berry pie=
Slice of Mixed Berry pie= Slice of Mixed Berry pie=
Basket with Mixed Berry pies=
Currently fruitless Bush=
Basket= Basket=

View File

@ -161,19 +161,13 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
groups = { dig_immediate = 3 }, groups = { dig_immediate = 3 },
}) })
local texture_top, texture_bottom
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";
texture_top = "bushes_fruitless_bush_top.png"
texture_bottom = "bushes_fruitless_bush_bottom.png"
groups.not_in_creative_inventory = 1 groups.not_in_creative_inventory = 1
else
texture_top = "bushes_bush_top.png"
texture_bottom = "bushes_bush_bottom.png"
end end
local node_dig_prediction local node_dig_prediction
local node_placement_prediction local node_placement_prediction
if bush_name ~= "fruitless" then if bush_name ~= "fruitless" then

View File

@ -1,17 +1,2 @@
-----------------------------------------------------------------------------------------------
local title = "Cave Stuff"
local version = "0.0.3"
local mname = "cavestuff"
-----------------------------------------------------------------------------------------------
-- support for i18n
local S = minetest.get_translator("cavestuff")
cavestuff = {}
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")
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")

View File

@ -1,11 +1,4 @@
# textdomain: cavestuff # textdomain: cavestuff
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Pebble=Kieselstein Pebble=Kieselstein
Desert Pebble=Wüstenkiesel Desert Pebble=Wüstenkiesel
Stalactite=Stalaktit Stalactite=Stalaktit

View File

@ -1,11 +1,4 @@
# textdomain: cavestuff # textdomain: cavestuff
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Pebble=Ŝtoneto Pebble=Ŝtoneto
Desert Pebble=Dezerta Ŝtoneto Desert Pebble=Dezerta Ŝtoneto
Stalactite=Stalaktito Stalactite=Stalaktito

View File

@ -1,11 +1,4 @@
# textdomain: cavestuff # textdomain: cavestuff
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Pebble=Caillou Pebble=Caillou
Desert Pebble=Caillou du désert Desert Pebble=Caillou du désert
Stalactite=Stalactite Stalactite=Stalactite

View File

@ -1,11 +1,4 @@
# textdomain: cavestuff # textdomain: cavestuff
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Pebble= Pebble=
Desert Pebble= Desert Pebble=
Stalactite= Stalactite=

View File

@ -12,33 +12,32 @@ minetest.register_node("cavestuff:pebble_1",{
description = S("Pebble"), description = S("Pebble"),
drawtype = "mesh", drawtype = "mesh",
mesh = "cavestuff_pebble.obj", mesh = "cavestuff_pebble.obj",
tiles = {"undergrowth_pebble.png"}, tiles = {"undergrowth_pebble.png"},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=3, stone=1, attached_node=1}, groups = {cracky=3, stone=1, attached_node=1},
selection_box = cbox, selection_box = cbox,
collision_box = cbox, collision_box = cbox,
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
-- place a random pebble node -- place a random pebble node
local stack = ItemStack("cavestuff:pebble_"..math.random(1,2)) local stack = ItemStack("cavestuff:pebble_"..math.random(1,2))
local ret = minetest.item_place(stack, placer, pointed_thing) local ret = minetest.item_place(stack, placer, pointed_thing)
return ItemStack("cavestuff:pebble_1 "..itemstack:get_count()-(1-ret:get_count())) return ItemStack("cavestuff:pebble_1 "..itemstack:get_count()-(1-ret:get_count()))
end, end,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("cavestuff:pebble_2",{ minetest.register_node("cavestuff:pebble_2",{
drawtype = "mesh", drawtype = "mesh",
mesh = "cavestuff_pebble.obj", mesh = "cavestuff_pebble.obj",
tiles = {"undergrowth_pebble.png"}, tiles = {"undergrowth_pebble.png"},
drop = "cavestuff:pebble_1", drop = "cavestuff:pebble_1",
tiles = {"undergrowth_pebble.png"}, paramtype = "light",
paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1}, groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1},
selection_box = cbox, selection_box = cbox,
collision_box = cbox, collision_box = cbox,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("cavestuff:desert_pebble_1",{ minetest.register_node("cavestuff:desert_pebble_1",{
@ -100,7 +99,7 @@ minetest.register_node("cavestuff:stalactite_1",{
if not placer then return end if not placer then return end
local playername = placer:get_player_name() local playername = placer:get_player_name()
if minetest.is_protected(place, playername) if minetest.is_protected(place, playername)
or minetest.is_protected(above, playername) then or minetest.is_protected(above, playername) then
minetest.record_protection_violation(place, playername) minetest.record_protection_violation(place, playername)
return return
end end
@ -156,5 +155,3 @@ minetest.register_node("cavestuff:stalactite_3",{
} }
}, },
}) })
--Stalagmites

View File

@ -53,7 +53,7 @@ minetest.register_craft({
{"default:stick",""} {"default:stick",""}
} }
}) })
if minetest.get_modpath("flint") ~= nil then if minetest.get_modpath("flint") then
minetest.register_craft({ minetest.register_craft({
output = "dryplants:sickle", output = "dryplants:sickle",
recipe = { recipe = {
@ -63,7 +63,7 @@ if minetest.get_modpath("flint") ~= nil then
} }
}) })
end end
if minetest.get_modpath("stoneage") ~= nil then if minetest.get_modpath("stoneage") then
minetest.register_craft({ minetest.register_craft({
output = "dryplants:sickle", output = "dryplants:sickle",
recipe = { recipe = {

View File

@ -1,8 +1,3 @@
-----------------------------------------------------------------------------------------------
local title = "Grasses" -- former "Dry plants"
local version = "0.1.5"
local mname = "dryplants"
-----------------------------------------------------------------------------------------------
-- by Mossmanikin -- by Mossmanikin
-- textures & ideas partly by Neuromancer -- textures & ideas partly by Neuromancer
@ -20,13 +15,13 @@ 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")
if REEDMACE_GENERATES == true then if REEDMACE_GENERATES == true then
dofile(minetest.get_modpath("dryplants").."/reedmace.lua") dofile(minetest.get_modpath("dryplants").."/reedmace.lua")
end end
if SMALL_JUNCUS_GENERATES == true then if SMALL_JUNCUS_GENERATES == true then
dofile(minetest.get_modpath("dryplants").."/juncus.lua") dofile(minetest.get_modpath("dryplants").."/juncus.lua")
end end
if EXTRA_TALL_GRASS_GENERATES == true then if EXTRA_TALL_GRASS_GENERATES == true then
dofile(minetest.get_modpath("dryplants").."/moregrass.lua") dofile(minetest.get_modpath("dryplants").."/moregrass.lua")
end end
--dofile(minetest.get_modpath("dryplants").."/meadowvariation.lua") --dofile(minetest.get_modpath("dryplants").."/meadowvariation.lua")
@ -201,7 +196,3 @@ minetest.register_abm({
end end
end, end,
}) })
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------

View File

@ -46,6 +46,10 @@ minetest.register_node("dryplants:juncus", {
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16}, fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
}, },
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
if not itemstack or not placer or not pointed_thing then
return
end
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

View File

@ -1,11 +1,4 @@
# textdomain: dryplants # textdomain: dryplants
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Sickle=Sichel Sickle=Sichel
Cut Grass=Gras schneiden Cut Grass=Gras schneiden
Hay=Heu Hay=Heu

View File

@ -1,11 +1,4 @@
# textdomain: dryplants # textdomain: dryplants
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Sickle= Sickle=
Cut Grass=Tranĉita Herbenon Cut Grass=Tranĉita Herbenon
Hay=Fojno Hay=Fojno

View File

@ -1,11 +1,4 @@
# textdomain: dryplants # textdomain: dryplants
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Sickle=Faucille Sickle=Faucille
Cut Grass=Herbe coupée Cut Grass=Herbe coupée
Hay=Foin Hay=Foin

View File

@ -1,11 +1,4 @@
# textdomain: dryplants # textdomain: dryplants
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Sickle= Sickle=
Cut Grass= Cut Grass=
Hay= Hay=

View File

@ -30,7 +30,7 @@ minetest.register_craft({
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- FIDDLEHEAD -- FIDDLEHEAD
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
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 = S("Fiddlehead"), description = S("Fiddlehead"),
@ -51,7 +51,7 @@ minetest.register_craftitem("ferns:fiddlehead_roasted", {
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- FERN TUBER -- FERN TUBER
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
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 = S("Fern Tuber"), description = S("Fern Tuber"),
@ -64,7 +64,7 @@ minetest.register_craft({
cooktime = 3, cooktime = 3,
}) })
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 = S("Roasted Fern Tuber"), description = S("Roasted Fern Tuber"),

View File

@ -84,8 +84,8 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
local brk = false local brk = false
for i = 1, size-3 do for i = 1, size-3 do
pos_aux.y = pos.y + i pos_aux.y = pos.y + i
local name = minetest.get_node(pos_aux).name local nodename = minetest.get_node(pos_aux).name
if not (name == "air" or (i == 1 and name == "ferns:sapling_giant_tree_fern")) then if not (nodename == "air" or (i == 1 and nodename == "ferns:sapling_giant_tree_fern")) then
brk = true brk = true
break break
end end

View File

@ -1,16 +1,5 @@
-----------------------------------------------------------------------------------------------
local title = "Ferns" -- former "Archae Plantae"
local version = "0.2.1"
local mname = "ferns" -- former "archaeplantae"
-----------------------------------------------------------------------------------------------
-- (by Mossmanikin)
-----------------------------------------------------------------------------------------------
abstract_ferns = {} abstract_ferns = {}
-- support for i18n
local S = minetest.get_translator("ferns")
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
@ -30,42 +19,3 @@ if abstract_ferns.config.enable_giant_treefern == true then
end end
dofile(minetest.get_modpath("ferns").."/crafting.lua") dofile(minetest.get_modpath("ferns").."/crafting.lua")
-----------------------------------------------------------------------------
-- TESTS
-----------------------------------------------------------------------------
local run_tests = true -- set to false to skip
if run_tests then
-- These are, essentially, unit tests to make sure that all required item
-- strings are registered. The init sequence is not time critical so leaving
-- them here won't affect performance.
-- Check node names
if abstract_ferns.config.enable_horsetails then
print("[Mod] " ..title.. " Checking horsetail item strings")
assert(minetest.registered_items["ferns:horsetail_01"] ~= nil)
assert(minetest.registered_items["ferns:horsetail_02"] ~= nil)
assert(minetest.registered_items["ferns:horsetail_03"] ~= nil)
assert(minetest.registered_items["ferns:horsetail_04"] ~= nil)
end
if abstract_ferns.config.enable_lady_fern then
print("[Mod] ".. title .." Checking lady fern item strings")
assert(minetest.registered_items["ferns:fern_01"] ~= nil)
assert(minetest.registered_items["ferns:fern_02"] ~= nil)
assert(minetest.registered_items["ferns:fern_03"] ~= nil)
end
if abstract_ferns.config.enable_treefern then
print("[Mod] ".. title .." Checking tree fern item strings")
assert(minetest.registered_items["ferns:tree_fern_leaves"] ~= nil)
assert(minetest.registered_items["ferns:tree_fern_leaves_02"] ~= nil)
assert(minetest.registered_items["ferns:fern_trunk"] ~= nil)
assert(minetest.registered_items["ferns:sapling_tree_fern"] ~= nil)
end
end
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------

View File

@ -1,18 +1,9 @@
# textdomain: ferns # textdomain: ferns
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Fiddlehead=Geigenkopf Fiddlehead=Geigenkopf
Roasted Fiddlehead=Gerösteter Geigenkopf Roasted Fiddlehead=Gerösteter Geigenkopf
Fern Tuber=Farnknolle Fern Tuber=Farnknolle
Roasted Fern Tuber=Geröstete Farnknolle Roasted Fern Tuber=Geröstete Farnknolle
Lady-fern (Athyrium)=Frauenfarn (Athyrium) Lady-fern (Athyrium)=Frauenfarn (Athyrium)
Tree Fern Crown (Dicksonia)=Baumfarnkrone (Dicksonia)
Giant Tree Fern Leaves=Riesige Baumfarnblätter Giant Tree Fern Leaves=Riesige Baumfarnblätter
Giant Tree Fern Leave End=Riesiges Baumfarnblattende Giant Tree Fern Leave End=Riesiges Baumfarnblattende
Giant Fern Trunk=Riesiger Baumfarnstamm Giant Fern Trunk=Riesiger Baumfarnstamm
@ -21,3 +12,4 @@ Young Horsetail (Equisetum)=Junger Schachtelhalm (Equisetum)
Horsetail (Equisetum)=Schachtelhalm (Equisetum) Horsetail (Equisetum)=Schachtelhalm (Equisetum)
Fern Trunk (Dicksonia)=Farnstamm (Dicksonia) Fern Trunk (Dicksonia)=Farnstamm (Dicksonia)
Tree Fern Sapling (Dicksonia)=Baumfarnsetzling (Dicksonia) Tree Fern Sapling (Dicksonia)=Baumfarnsetzling (Dicksonia)
Tree Fern Crown (Dicksonia)=Baumfarnkrone (Dicksonia)

View File

@ -1,18 +1,9 @@
# textdomain: ferns # textdomain: ferns
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Fiddlehead=Filika Supro Fiddlehead=Filika Supro
Roasted Fiddlehead=Rostita Filika Supro Roasted Fiddlehead=Rostita Filika Supro
Fern Tuber=Filika Tubero Fern Tuber=Filika Tubero
Roasted Fern Tuber=Rostita Filika Tubero Roasted Fern Tuber=Rostita Filika Tubero
Lady-fern (Athyrium)=Afiriumo (Athyrium) Lady-fern (Athyrium)=Afiriumo (Athyrium)
Tree Fern Crown (Dicksonia)=Krono de Arba Filiko
Giant Tree Fern Leaves=Folioj de Giganta Arba Filiko Giant Tree Fern Leaves=Folioj de Giganta Arba Filiko
Giant Tree Fern Leave End=Folifino de Giganta Arba Filiko Giant Tree Fern Leave End=Folifino de Giganta Arba Filiko
Giant Fern Trunk=Trunko de Giganta Arba Filiko Giant Fern Trunk=Trunko de Giganta Arba Filiko
@ -21,3 +12,4 @@ Young Horsetail (Equisetum)=Juna Ekvizeto (Equisetum)
Horsetail (Equisetum)=Ekvizeto (Equisetum) Horsetail (Equisetum)=Ekvizeto (Equisetum)
Fern Trunk (Dicksonia)=Trunko de Arba Filiko (Dicksonia) Fern Trunk (Dicksonia)=Trunko de Arba Filiko (Dicksonia)
Tree Fern Sapling (Dicksonia)=Arbido de Arba Filiko (Dicksonia) Tree Fern Sapling (Dicksonia)=Arbido de Arba Filiko (Dicksonia)
Tree Fern Crown (Dicksonia)=Krono de Arba Filiko

View File

@ -1,17 +1,9 @@
# textdomain: ferns # textdomain: ferns
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Fiddlehead=Crosse de fougère Fiddlehead=Crosse de fougère
Roasted Fiddlehead=Crosse de fougère rôtie Roasted Fiddlehead=Crosse de fougère rôtie
Fern Tuber=Tubercule de fougère Fern Tuber=Tubercule de fougère
Roasted Fern Tuber=Tubercule de fougère rôti Roasted Fern Tuber=Tubercule de fougère rôti
Lady-fern (Athyrium)=Fougère (Athyrium) Lady-fern (Athyrium)=Fougère (Athyrium)
Tree Fern Crown (Dicksonia)=Fougère en couronne (Dicksonia)
Giant Tree Fern Leaves=Feuilles de fougère géante Giant Tree Fern Leaves=Feuilles de fougère géante
Giant Tree Fern Leave End=Feuilles de fougère géante (extrémité) Giant Tree Fern Leave End=Feuilles de fougère géante (extrémité)
Giant Fern Trunk=Tronc de fougère géante Giant Fern Trunk=Tronc de fougère géante
@ -20,3 +12,4 @@ Young Horsetail (Equisetum)=Pousse de prêle (Equisetum)
Horsetail (Equisetum)=Prêle (Equisetum) Horsetail (Equisetum)=Prêle (Equisetum)
Fern Trunk (Dicksonia)=Tronc de fougère en couronne (Dicksonia) Fern Trunk (Dicksonia)=Tronc de fougère en couronne (Dicksonia)
Tree Fern Sapling (Dicksonia)=Pousse de fougère en couronne (Dicksonia) Tree Fern Sapling (Dicksonia)=Pousse de fougère en couronne (Dicksonia)
Tree Fern Crown (Dicksonia)=Fougère en couronne (Dicksonia)

View File

@ -1,18 +1,9 @@
# textdomain: ferns # textdomain: ferns
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Fiddlehead= Fiddlehead=
Roasted Fiddlehead= Roasted Fiddlehead=
Fern Tuber= Fern Tuber=
Roasted Fern Tuber= Roasted Fern Tuber=
Lady-fern (Athyrium)= Lady-fern (Athyrium)=
Tree Fern Crown (Dicksonia)=
Giant Tree Fern Leaves= Giant Tree Fern Leaves=
Giant Tree Fern Leave End= Giant Tree Fern Leave End=
Giant Fern Trunk= Giant Fern Trunk=
@ -21,3 +12,4 @@ Young Horsetail (Equisetum)=
Horsetail (Equisetum)= Horsetail (Equisetum)=
Fern Trunk (Dicksonia)= Fern Trunk (Dicksonia)=
Tree Fern Sapling (Dicksonia)= Tree Fern Sapling (Dicksonia)=
Tree Fern Crown (Dicksonia)=

View File

@ -1,13 +1,10 @@
-----------------------------------------------------------------------------------------------
-- Idea by Sokomine -- Idea by Sokomine
-- Code & textures by Mossmanikin -- Code & textures by Mossmanikin
-- support for i18n -- support for i18n
local S = minetest.get_translator("molehills") local S = minetest.get_translator("molehills")
-----------------------------------------------------------------------------------------------
-- NoDe
-----------------------------------------------------------------------------------------------
-- Node
local mh_cbox = { local mh_cbox = {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, -0.125, 0.5} fixed = { -0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
@ -27,9 +24,7 @@ minetest.register_node("molehills:molehill",{
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
}) })
----------------------------------------------------------------------------------------------- -- Crafting
-- CRaFTiNG
-----------------------------------------------------------------------------------------------
minetest.register_craft({ -- molehills --> dirt minetest.register_craft({ -- molehills --> dirt
output = "default:dirt", output = "default:dirt",
recipe = { recipe = {
@ -38,9 +33,7 @@ minetest.register_craft({ -- molehills --> dirt
} }
}) })
----------------------------------------------------------------------------------------------- -- Generating
-- GeNeRaTiNG
-----------------------------------------------------------------------------------------------
minetest.register_decoration({ minetest.register_decoration({
decoration = { decoration = {
"molehills:molehill" "molehills:molehill"

View File

@ -1,9 +1,2 @@
# textdomain: molehills # textdomain: molehills
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Mole Hill=Maulwurfshügel Mole Hill=Maulwurfshügel

View File

@ -1,9 +1,2 @@
# textdomain: molehills # textdomain: molehills
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Mole Hill=Talpa Monteto Mole Hill=Talpa Monteto

View File

@ -1,9 +1,2 @@
# textdomain: molehills # textdomain: molehills
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Mole Hill=Taupinière Mole Hill=Taupinière

View File

@ -1,9 +1,2 @@
# textdomain: molehills # textdomain: molehills
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Mole Hill= Mole Hill=

View File

@ -2,7 +2,7 @@
local function process_blossom_queue_item() local function process_blossom_queue_item()
local pos = nature.blossomqueue[1][1] local pos = nature.blossomqueue[1][1]
local node = nature.blossomqueue[1][2] -- local node = nature.blossomqueue[1][2]
local replace = nature.blossomqueue[1][3] local replace = nature.blossomqueue[1][3]
if (nature.blossomqueue[1][3] == nature.blossom_node and not nature:is_near_water(pos)) then if (nature.blossomqueue[1][3] == nature.blossom_node and not nature:is_near_water(pos)) then
table.remove(nature.blossomqueue, 1) -- don't grow if it's not near water, pop from queue. table.remove(nature.blossomqueue, 1) -- don't grow if it's not near water, pop from queue.
@ -32,7 +32,7 @@ end)
function nature.enqueue_node(pos, node, replace) function nature.enqueue_node(pos, node, replace)
local idx = #nature.blossomqueue local idx = #nature.blossomqueue
if idx < nature.blossomqueue_max then if idx < nature.blossomqueue_max then
local enqueue_prob = 0 local enqueue_prob
if idx < nature.blossomqueue_max * 0.8 then if idx < nature.blossomqueue_max * 0.8 then
enqueue_prob = 1 enqueue_prob = 1
else else

View File

@ -6,8 +6,6 @@
local current_mod_name = minetest.get_current_modname() local current_mod_name = minetest.get_current_modname()
nature = {} nature = {}
-- support for i18n
local S = minetest.get_translator("nature_classic")
nature.blossomqueue = {} nature.blossomqueue = {}
nature.blossomqueue_max = 1000 nature.blossomqueue_max = 1000
@ -25,7 +23,7 @@ if minetest.get_modpath("moretrees") then
nature.blossom_node = "moretrees:apple_blossoms" nature.blossom_node = "moretrees:apple_blossoms"
nature.blossom_leaves = "moretrees:apple_tree_leaves" nature.blossom_leaves = "moretrees:apple_tree_leaves"
nature.blossom_textures = { "moretrees_apple_tree_leaves.png^nature_blossom.png" } nature.blossom_textures = { "moretrees_apple_tree_leaves.png^nature_blossom.png" }
nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2, moretrees_leaves = 1 }, nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2, moretrees_leaves = 1 }
minetest.register_alias("nature:blossom", "default:leaves") minetest.register_alias("nature:blossom", "default:leaves")
end end
@ -39,12 +37,6 @@ nature.apple_spread = 2
nature.meta_blossom_time = "blossom_time" nature.meta_blossom_time = "blossom_time"
nature.blossom_duration = nature.blossom_delay nature.blossom_duration = nature.blossom_delay
function dumppos(pos)
return "("..pos.x..","..pos.y..","..pos.z..")"
end
dofile(minetest.get_modpath(current_mod_name) .. "/config.lua") 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", S("[Nature Classic] loaded!"))

View File

@ -1,10 +1,2 @@
# textdomain: nature_classic # textdomain: nature_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Apple blossoms=Apfelblüten Apple blossoms=Apfelblüten
[Nature Classic] loaded!=[Nature Classic] geladen!

View File

@ -1,10 +1,2 @@
# textdomain: nature_classic # textdomain: nature_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Apple blossoms=Fleurs de pommier Apple blossoms=Fleurs de pommier
[Nature Classic] loaded!=[Nature Classic] chargé.!

View File

@ -1,10 +1,2 @@
# textdomain: nature_classic # textdomain: nature_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Apple blossoms= Apple blossoms=
[Nature Classic] loaded!=

View File

@ -47,7 +47,11 @@ for i in ipairs(algae_list) do
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)
local keys=placer:get_player_control() if not itemstack or not placer or not pointed_thing then
return
end
local keys = placer:get_player_control()
local pt = pointed_thing local pt = pointed_thing
local place_pos = nil local place_pos = nil
@ -161,9 +165,9 @@ biome_lib.register_on_generate({
pl_seaweed.grow_seaweed pl_seaweed.grow_seaweed
) )
minetest.register_alias( "flowers:flower_seaweed" , "flowers:seaweed" ) minetest.register_alias("flowers:flower_seaweed", "flowers:seaweed")
minetest.register_alias( "along_shore:pondscum_1" , "flowers:seaweed" ) minetest.register_alias("along_shore:pondscum_1", "flowers:seaweed")
minetest.register_alias( "along_shore:seaweed_1" , "flowers:seaweed" ) minetest.register_alias("along_shore:seaweed_1", "flowers:seaweed")
minetest.register_alias( "along_shore:seaweed_2" , "flowers:seaweed_2" ) minetest.register_alias("along_shore:seaweed_2", "flowers:seaweed_2")
minetest.register_alias( "along_shore:seaweed_3" , "flowers:seaweed_3" ) minetest.register_alias("along_shore:seaweed_3", "flowers:seaweed_3")
minetest.register_alias( "along_shore:seaweed_4" , "flowers:seaweed_4" ) minetest.register_alias("along_shore:seaweed_4", "flowers:seaweed_4")

View File

@ -1,11 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Seaweed=Seetang Seaweed=Seetang

View File

@ -1,10 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Seaweed=Algues Seaweed=Algues

View File

@ -1,10 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Seaweed=Deniz yosunu Seaweed=Deniz yosunu

View File

@ -1,11 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Seaweed=Algo Seaweed=Algo

View File

@ -1,10 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Seaweed=Algas marinas Seaweed=Algas marinas

View File

@ -1,11 +1,2 @@
# textdomain: pl_seaweed # textdomain: pl_seaweed
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Seaweed= Seaweed=

View File

@ -1,11 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Sunflower=Sonnenblume Sunflower=Sonnenblume

View File

@ -1,11 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Sunflower=Sunfloro Sunflower=Sunfloro

View File

@ -1,10 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Sunflower=Girasol Sunflower=Girasol

View File

@ -1,10 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Sunflower=Tournesol Sunflower=Tournesol

View File

@ -1,10 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Sunflower=Ayçiçeği Sunflower=Ayçiçeği

View File

@ -1,11 +1,2 @@
# textdomain: pl_sunflowers # textdomain: pl_sunflowers
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Sunflower= Sunflower=

View File

@ -59,7 +59,11 @@ for i in ipairs(lilies_list) do
liquids_pointable = true, liquids_pointable = true,
drop = "flowers:waterlily", drop = "flowers:waterlily",
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
local keys=placer:get_player_control() if not itemstack or not placer or not pointed_thing then
return
end
local keys = placer:get_player_control()
local pt = pointed_thing local pt = pointed_thing
local place_pos = nil local place_pos = nil
@ -86,7 +90,6 @@ for i in ipairs(lilies_list) do
local nodename = "default:cobble" -- if this block appears, something went....wrong :-) local nodename = "default:cobble" -- if this block appears, something went....wrong :-)
if not keys["sneak"] then if not keys["sneak"] then
local node = minetest.get_node(pt.under)
local waterlily = math.random(1,8) local waterlily = math.random(1,8)
if waterlily == 1 then if waterlily == 1 then
nodename = "flowers:waterlily" nodename = "flowers:waterlily"
@ -158,8 +161,8 @@ minetest.register_alias( "flowers:flower_waterlily", "flowers:waterlily")
minetest.register_alias( "flowers:flower_waterlily_225", "flowers:waterlily_225") minetest.register_alias( "flowers:flower_waterlily_225", "flowers:waterlily_225")
minetest.register_alias( "flowers:flower_waterlily_45", "flowers:waterlily_45") minetest.register_alias( "flowers:flower_waterlily_45", "flowers:waterlily_45")
minetest.register_alias( "flowers:flower_waterlily_675", "flowers:waterlily_675") minetest.register_alias( "flowers:flower_waterlily_675", "flowers:waterlily_675")
minetest.register_alias( "trunks:lilypad" , "flowers:waterlily_s1" ) minetest.register_alias( "trunks:lilypad", "flowers:waterlily_s1")
minetest.register_alias( "along_shore:lilypads_1" , "flowers:waterlily_s1" ) minetest.register_alias( "along_shore:lilypads_1", "flowers:waterlily_s1")
minetest.register_alias( "along_shore:lilypads_2" , "flowers:waterlily_s2" ) minetest.register_alias( "along_shore:lilypads_2", "flowers:waterlily_s2")
minetest.register_alias( "along_shore:lilypads_3" , "flowers:waterlily_s3" ) minetest.register_alias( "along_shore:lilypads_3", "flowers:waterlily_s3")
minetest.register_alias( "along_shore:lilypads_4" , "flowers:waterlily_s4" ) minetest.register_alias( "along_shore:lilypads_4", "flowers:waterlily_s4")

View File

@ -1,11 +1,2 @@
# textdomain: pl_waterlilies # textdomain: pl_waterlilies
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Waterlily=Seerose Waterlily=Seerose

View File

@ -1,11 +1,2 @@
# textdomain: pl_waterlillies # textdomain: pl_waterlilies
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Waterlily=Akvolilio Waterlily=Akvolilio

View File

@ -1,10 +1,2 @@
# textdomain: pl_waterlilies # textdomain: pl_waterlilies
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Waterlily=Lirio de agua Waterlily=Lirio de agua

View File

@ -1,10 +1,2 @@
# textdomain: pl_waterlilies # textdomain: pl_waterlilies
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Waterlily=Nénuphar Waterlily=Nénuphar

View File

@ -1,10 +1,2 @@
# textdomain: pl_waterlilies # textdomain: pl_waterlilies
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Waterlily=Nilüfer Waterlily=Nilüfer

View File

@ -1,11 +1,2 @@
# textdomain: pl_waterlillies # textdomain: pl_waterlilies
# 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.
#
Waterlily= Waterlily=

View File

@ -1,5 +1,4 @@
-- This file supplies poison ivy for the plantlife modpack -- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24
-- support for i18n -- support for i18n
local S = minetest.get_translator("poisonivy") local S = minetest.get_translator("poisonivy")
@ -20,7 +19,7 @@ local walls_list = {
"default:jungletree", "default:jungletree",
"default:stone_with_coal", "default:stone_with_coal",
"default:stone_with_iron" "default:stone_with_iron"
}, }
minetest.register_node('poisonivy:seedling', { minetest.register_node('poisonivy:seedling', {
description = S("Poison ivy (seedling)"), description = S("Poison ivy (seedling)"),
drawtype = 'plantlike', drawtype = 'plantlike',
@ -100,5 +99,3 @@ biome_lib.update_plant({
verticals_list = walls_list, verticals_list = walls_list,
ground_nodes = {"default:dirt_with_grass"} ground_nodes = {"default:dirt_with_grass"}
}) })
print("[Poison Ivy] Loaded.")

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Poison ivy (seedling)=Giftefeu (Saemling) Poison ivy (seedling)=Giftefeu (Saemling)
Poison ivy (sproutling)=Giftefeu (Sproessling) Poison ivy (sproutling)=Giftefeu (Sproessling)
Poison ivy (climbing plant)=Giftefeu (Kletterpflanze) Poison ivy (climbing plant)=Giftefeu (Kletterpflanze)
[Poison Ivy] Loaded.=[Poison Ivy] Geladen.

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Poison ivy (seedling)=Venena hedero (plantido) Poison ivy (seedling)=Venena hedero (plantido)
Poison ivy (sproutling)=Venena hedero (ĝermanta) Poison ivy (sproutling)=Venena hedero (ĝermanta)
Poison ivy (climbing plant)=Venena hedero (grimpplanto) Poison ivy (climbing plant)=Venena hedero (grimpplanto)
[Poison Ivy] Loaded.=[Poison Ivy] ŝarĝita.

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Poison ivy (seedling)=Hiedra venenosa (retoño) Poison ivy (seedling)=Hiedra venenosa (retoño)
Poison ivy (sproutling)=Hiedra venenosa (brotes) Poison ivy (sproutling)=Hiedra venenosa (brotes)
Poison ivy (climbing plant)=Hiedra venenosa (planta trepadora) Poison ivy (climbing plant)=Hiedra venenosa (planta trepadora)
[Poison Ivy] Loaded.=[Poison Ivy] Cargado.

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Poison ivy (seedling)=Sumac vénéneux (semis) Poison ivy (seedling)=Sumac vénéneux (semis)
Poison ivy (sproutling)=Sumac vénéneux (pousse) Poison ivy (sproutling)=Sumac vénéneux (pousse)
Poison ivy (climbing plant)=Sumac vénéneux (grimpant) Poison ivy (climbing plant)=Sumac vénéneux (grimpant)
[Poison Ivy] Loaded.=[Poison Ivy] chargé.

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Poison ivy (seedling)=Hera venenosa (plantilha) Poison ivy (seedling)=Hera venenosa (plantilha)
Poison ivy (sproutling)=Hera venenosa (brotando) Poison ivy (sproutling)=Hera venenosa (brotando)
Poison ivy (climbing plant)=Hera venenosa (planta trepadeira) Poison ivy (climbing plant)=Hera venenosa (planta trepadeira)
[Poison Ivy] Loaded.=[Poison Ivy] Carregado

View File

@ -1,6 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
Poison ivy (seedling)=
Poison ivy (seedling) = Hera venenosa (plantilha) Poison ivy (sproutling)=
Poison ivy (sproutling) = Hera venenosa (brotando) Poison ivy (climbing plant)=
Poison ivy (climbing plant) = Hera venenosa (planta trepadeira)
[Poison Ivy] Loaded. =[Poison Ivy] Carregado

View File

@ -1,12 +1,4 @@
# textdomain: poisonivy # textdomain: poisonivy
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Poison ivy (seedling)=Sarmaşık (Fidan) Poison ivy (seedling)=Sarmaşık (Fidan)
Poison ivy (sproutling)=Sarmaşık (Filiz) Poison ivy (sproutling)=Sarmaşık (Filiz)
Poison ivy (climbing plant)=Sarmaşık (Dolanan) Poison ivy (climbing plant)=Sarmaşık (Dolanan)
[Poison Ivy] Loaded.=[Poison Ivy] yüklendi.

View File

@ -0,0 +1,4 @@
# textdomain: poisonivy
Poison ivy (seedling)=
Poison ivy (sproutling)=
Poison ivy (climbing plant)=

View File

@ -475,8 +475,6 @@ end
if Roots == true then -- see settings.txt if Roots == true then -- see settings.txt
abstract_trunks.grow_roots = function(pos) abstract_trunks.grow_roots = function(pos)
local twig_size = math.random(1,27)
local right_here = {x=pos.x , y=pos.y , z=pos.z } local right_here = {x=pos.x , y=pos.y , z=pos.z }
local below = {x=pos.x , y=pos.y-1, z=pos.z } local below = {x=pos.x , y=pos.y-1, z=pos.z }
local north = {x=pos.x , y=pos.y , z=pos.z+1} local north = {x=pos.x , y=pos.y , z=pos.z+1}

View File

@ -1,20 +1,8 @@
-----------------------------------------------------------------------------------------------
local title = "Trunks"
local version = "0.1.4"
local mname = "trunks"
-----------------------------------------------------------------------------------------------
-- Code by Mossmanikin & Neuromancer -- Code by Mossmanikin & Neuromancer
abstract_trunks = {} abstract_trunks = {}
-- support for i18n
local S = minetest.get_translator("trunks")
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")
dofile(minetest.get_modpath("trunks").."/crafting.lua") dofile(minetest.get_modpath("trunks").."/crafting.lua")
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------

View File

@ -1,11 +1,4 @@
# textdomain: trunks # textdomain: trunks
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Twig= Twig=
Moss= Moss=
Moss with Fungus= Moss with Fungus=

View File

@ -1,11 +1,4 @@
# textdomain: trunks # textdomain: trunks
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Twig=Zweig Twig=Zweig
Moss=Moos Moss=Moos
Moss with Fungus=Moos mit Pilz Moss with Fungus=Moos mit Pilz

View File

@ -1,11 +1,4 @@
# textdomain: trunks # textdomain: trunks
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Twig=Branĉeto Twig=Branĉeto
Moss=Musko Moss=Musko
Moss with Fungus=Musko kun Fungo Moss with Fungus=Musko kun Fungo

View File

@ -1,11 +1,4 @@
# textdomain: trunks # textdomain: trunks
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Twig=Brindille Twig=Brindille
Moss=Mousse Moss=Mousse
Moss with Fungus=Mousse et champignons Moss with Fungus=Mousse et champignons

View File

@ -46,7 +46,7 @@ for i in pairs(NoDe) do
if not placer then return end if not placer then return end
local playername = placer:get_player_name() local playername = placer:get_player_name()
if minetest.is_protected(pt.above, playername) then if minetest.is_protected(pt.above, playername) then
minetest.record_protection_violation(pt.above, playername) minetest.record_protection_violation(pt.above, playername)
return return
end end
@ -125,7 +125,7 @@ for r = 0, 3 do
}) })
end end
minetest.register_alias("trunks:moss_plain", "trunks:moss_plain_0") minetest.register_alias("trunks:moss_plain", "trunks:moss_plain_0")
minetest.register_alias("trunks:moss_with_fungus", "trunks:moss_with_fungus_0") minetest.register_alias("trunks:moss_with_fungus", "trunks:moss_with_fungus_0")
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -186,7 +186,7 @@ minetest.register_node("trunks:twigs_roof", {
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- TWiGS RooF CoRNeR -- TWiGS RooF CoRNeR
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
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 = S("Twigs Roof Corner 1"), description = S("Twigs Roof Corner 1"),
@ -214,7 +214,7 @@ minetest.register_node("trunks:twigs_roof_corner", {
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- TWiGS RooF CoRNeR 2 -- TWiGS RooF CoRNeR 2
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
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 = S("Twigs Roof Corner 2"), description = S("Twigs Roof Corner 2"),

View File

@ -1,10 +1,4 @@
# textdomain: vines # textdomain: vines
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Vines= Vines=
Matured= Matured=
Rope= Rope=

View File

@ -1,10 +1,4 @@
# textdomain: vines # textdomain: vines
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Vines=Ranken Vines=Ranken
Matured=Gereifte Matured=Gereifte
Rope=Seil Rope=Seil

View File

@ -1,10 +1,4 @@
# textdomain: vines # textdomain: vines
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Vines=Vitoj Vines=Vitoj
Matured=Maturita Matured=Maturita
Rope=Ŝnuro Rope=Ŝnuro

View File

@ -1,11 +1,4 @@
# textdomain: vines # textdomain: vines
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Vines=Plantes grimpantes Vines=Plantes grimpantes
Matured=Extrémité de Matured=Extrémité de
Rope=Corde Rope=Corde

View File

@ -1,32 +1,4 @@
-----------------------------------------------------------------------------------------------
local title = "Wood Soils" -- former "Forest Soils"
local version = "0.0.9"
local mname = "woodsoils" -- former "forestsoils"
-----------------------------------------------------------------------------------------------
abstract_woodsoils = {} abstract_woodsoils = {}
-- support for i18n
local S = minetest.get_translator("woodsoils")
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
--[[print(" _____ __")
print("_/ ____\\___________ ____ _______/ |_")
print("\\ __\\/ _ \\_ __ \\_/ __ \\ / ___/\\ __\\")
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
print(" |__| \\____/|__| \\___ >____ > |__|")
print(" \\/ \\/")
print(" .__.__")
print(" __________ |__| | ______")
print(" / ___/ _ \\| | | / ___/")
print(" \\___ ( <_> ) | |__\\___ \\")
print("/____ >____/|__|____/____ >")
print(" \\/ \\/")]]
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------

View File

@ -1,11 +1,4 @@
# textdomain: woodsoils # textdomain: woodsoils
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Forest Soil 1= Forest Soil 1=
Forest Soil 2= Forest Soil 2=
Forest Soil 3= Forest Soil 3=

View File

@ -1,11 +1,4 @@
# textdomain: woodsoils # textdomain: woodsoils
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Forest Soil 1=Waldboden 1 Forest Soil 1=Waldboden 1
Forest Soil 2=Waldboden 2 Forest Soil 2=Waldboden 2
Forest Soil 3=Waldboden 3 Forest Soil 3=Waldboden 3

View File

@ -1,11 +1,4 @@
# textdomain: woodsoils # textdomain: woodsoils
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Forest Soil 1=Arbara Grundo 1 Forest Soil 1=Arbara Grundo 1
Forest Soil 2=Arbara Grundo 2 Forest Soil 2=Arbara Grundo 2
Forest Soil 3=Arbara Grundo 3 Forest Soil 3=Arbara Grundo 3

View File

@ -1,11 +1,4 @@
# textdomain: woodsoils # textdomain: woodsoils
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Forest Soil 1=Humus forestier 1 Forest Soil 1=Humus forestier 1
Forest Soil 2=Humus forestier 2 Forest Soil 2=Humus forestier 2
Forest Soil 3=Humus forestier 3 Forest Soil 3=Humus forestier 3

View File

@ -1,11 +1,4 @@
# textdomain: youngtrees # textdomain: youngtrees
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Young Bamboo Tree= Young Bamboo Tree=
Young Tree 2 (middle)= Young Tree 2 (middle)=
Young Tree (top)= Young Tree (top)=

View File

@ -1,11 +1,4 @@
# textdomain: youngtrees # textdomain: youngtrees
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# reusityback, 2022.
#
Young Bamboo Tree=Junger Bambus Young Bamboo Tree=Junger Bambus
Young Tree 2 (middle)=Strauch 2 (Mitte) Young Tree 2 (middle)=Strauch 2 (Mitte)
Young Tree (top)=Strauch (Spitze) Young Tree (top)=Strauch (Spitze)

View File

@ -1,11 +1,4 @@
# textdomain: youngtrees # textdomain: youngtrees
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Young Bamboo Tree=Juna Bambuarbo Young Bamboo Tree=Juna Bambuarbo
Young Tree 2 (middle)=Juna Arbo 2 (mezo) Young Tree 2 (middle)=Juna Arbo 2 (mezo)
Young Tree (top)=Juna Arbo (supro) Young Tree (top)=Juna Arbo (supro)

View File

@ -1,11 +1,4 @@
# textdomain: youngtrees # textdomain: youngtrees
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Young Bamboo Tree=Bambou jeune Young Bamboo Tree=Bambou jeune
Young Tree 2 (middle)=Arbuste 2 (milieu) Young Tree 2 (middle)=Arbuste 2 (milieu)
Young Tree (top)=Arbuste (haut) Young Tree (top)=Arbuste (haut)