1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 23:01:07 +02:00

Merge branch 'master' into luacheck

This commit is contained in:
David Leal
2023-07-19 12:11:17 -06:00
committed by GitHub
124 changed files with 589 additions and 738 deletions

View File

@ -8,7 +8,8 @@ minetest.override_item("flowers:mushroom_fertile_brown", {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
}, },
inventory_image = "3dmushrooms_brown_inv.png" inventory_image = "3dmushrooms_brown_inv.png",
wield_image = "3dmushrooms_brown_inv.png"
}) })
minetest.override_item("flowers:mushroom_brown", { minetest.override_item("flowers:mushroom_brown", {
@ -19,7 +20,8 @@ minetest.override_item("flowers:mushroom_brown", {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
}, },
inventory_image = "3dmushrooms_brown_inv.png" inventory_image = "3dmushrooms_brown_inv.png",
wield_image = "3dmushrooms_brown_inv.png"
}) })
minetest.override_item("flowers:mushroom_fertile_red", { minetest.override_item("flowers:mushroom_fertile_red", {
@ -30,7 +32,8 @@ minetest.override_item("flowers:mushroom_fertile_red", {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
}, },
inventory_image = "3dmushrooms_red_inv.png" inventory_image = "3dmushrooms_red_inv.png",
wield_image = "3dmushrooms_red_inv.png"
}) })
minetest.override_item("flowers:mushroom_red", { minetest.override_item("flowers:mushroom_red", {
@ -41,7 +44,8 @@ minetest.override_item("flowers:mushroom_red", {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
}, },
inventory_image = "3dmushrooms_red_inv.png" inventory_image = "3dmushrooms_red_inv.png",
wield_image = "3dmushrooms_red_inv.png"
}) })
-- aliases to the default mushrooms -- aliases to the default mushrooms
@ -59,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")
print("[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
} }
}, },
@ -51,6 +50,7 @@ for i in pairs(BushBranchCenter) do
"bushes_leaves_"..TexNum..".png", "bushes_leaves_"..TexNum..".png",
"bushes_branches_center_"..TexNum..".png" "bushes_branches_center_"..TexNum..".png"
}, },
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
@ -93,6 +93,7 @@ for i in pairs(BushBranchSide) do
--[[back]] "bushes_branches_center_"..TexNum..".png",-- unless U really want 'em 2 B different --[[back]] "bushes_branches_center_"..TexNum..".png",-- unless U really want 'em 2 B different
--[[front]] "bushes_branches_right_"..TexNum..".png" --[[front]] "bushes_branches_right_"..TexNum..".png"
}, },
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
@ -129,11 +130,13 @@ for i in pairs(BushLeafNode) do
description = S("Bush Leaves @1", Num), description = S("Bush Leaves @1", Num),
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
tiles = {"bushes_leaves_"..Num..".png"}, tiles = {"bushes_leaves_"..Num..".png"},
use_texture_alpha = "clip",
paramtype = "light", paramtype = "light",
groups = { -- MM: Should we add leafdecay? groups = { -- MM: Should we add leafdecay?
snappy=3, snappy=3,
flammable=2, flammable=2,
attached_node=1 attached_node=1,
leaves=1
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })

View File

@ -0,0 +1,4 @@
# textdomain: bushes
Young Tree 2 (bottom)=Strauch 2 (Ansatz)
Bush Branches @1=Buschäste @1
Bush Leaves @1=Buschblätter @1

View File

@ -0,0 +1,4 @@
# textdomain: bushes
Young Tree 2 (bottom)=Juna Arbo 2 (malsupro)
Bush Branches @1=Arbustaj Branĉoj @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

@ -1,3 +1,3 @@
name = bushes name = bushes
depends = default, biome_lib depends = default, biome_lib
optional_depends = stonage, sumpf optional_depends = stoneage, sumpf

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

@ -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=Erdbeertortenstück
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
Slice of Blackberry pie=Brombeertortenstueck Cooked Blackberry pie=Brombeertorte
Basket with Blueberry pies=Korb mit Blaubeertorten Slice of Blackberry pie=Brombeertortenstück
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
Slice of Blueberry pie=Blaubeertortenstueck Cooked Blueberry pie=Blaubeertorte
Basket with Raspberry pies=Korb mit Himbeertorten Slice of Blueberry pie=Blaubeertortenstück
Cooked Raspberry pie=Himbeertorte Basket with Blueberry pies=Korb mit Blaubeertorten
Blueberry Bush=Blaubeerbusch
Raspberry=Himbeere Raspberry=Himbeere
Raspberry Bush=Himbeerbusch
Raw Raspberry pie=Rohe Himbeertorte Raw Raspberry pie=Rohe Himbeertorte
Slice of Raspberry pie=Himbeertortenstueck Cooked Raspberry pie=Himbeertorte
Basket with Gooseberry pies=Korb mit Stachelbeertorten Slice of Raspberry pie=Himbeertortenstück
Cooked Gooseberry pie=Stachelbeertorte Basket with Raspberry pies=Korb mit Himbeertorten
Raspberry Bush=Himbeerbusch
Gooseberry=Stachelbeere Gooseberry=Stachelbeere
Gooseberry Bush=Stachelbeerbusch
Raw Gooseberry pie=Rohe Stachelbeertorte Raw Gooseberry pie=Rohe Stachelbeertorte
Slice of Gooseberry pie=Stachelbeertortenstueck Cooked Gooseberry pie=Stachelbeertorte
Basket with Mixed Berry pies=Korb mit Beerenmixtorten Slice of Gooseberry pie=Stachelbeertortenstück
Cooked Mixed Berry pie=Beerenmixtorte Basket with Gooseberry pies=Korb mit Stachelbeertorten
Currently fruitless Bush=zur Zeit fruechteloser Gooseberry Bush=Stachelbeerbusch
Mixed Berry=Beerenmix Mixed Berry=Beerenmix
Raw Mixed Berry pie=Rohe Beerenmixtorte Raw Mixed Berry pie=Rohe Beerenmixtorte
Slice of Mixed Berry pie=Beerenmixtortenstueck Cooked Mixed Berry pie=Beerenmixtorte
Slice of Mixed Berry pie=Beerenmixtortenstück
Basket with Mixed Berry pies=Korb mit Beerenmixtorten
Currently fruitless Bush=Zur Zeit früchteloser Busch
Basket=Korb Basket=Korb

View File

@ -0,0 +1,39 @@
# textdomain: bushes_classic
Sugar=Sukero
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
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
Blueberry=Mirtelo
Raw Blueberry pie=Kruda Mirtelokuko
Cooked Blueberry pie=Kuirita Mirtelokuko
Slice of Blueberry pie=Tranĉaĵo de Mirtelokuko
Basket with Blueberry pies=Korbo kun Mirtelokukoj
Blueberry Bush=Mirtela Arbusto
Raspberry=Frambo
Raw Raspberry pie=Kruda Frambokuko
Cooked Raspberry pie=Kuirita Frambokuko
Slice of Raspberry pie=Tranĉaĵo de Frambokuko
Basket with Raspberry pies=Korbo kun Frambokukoj
Raspberry Bush=Framba Arbusto
Gooseberry=Grosbero
Raw Gooseberry pie=Kruda Grosberkuko
Cooked Gooseberry pie=Kuirita Grosberkuko
Slice of Gooseberry pie=Tranĉaĵo de Grosberkuko
Basket with Gooseberry pies=Korbo kun Grosberkuko
Gooseberry Bush=Grosberarbusto
Mixed Berry=Miksita Bero
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
Basket with Mixed Berry pies=Korbo kun Miksitaj Beraj Kukoj
Currently fruitless Bush=Nuntempe senfrukta Arbusto
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

@ -63,7 +63,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
-- with a chance of 1/3, return 2 bushes -- with a chance of 1/3, return 2 bushes
local amount local amount
if math.random(1,3) == 1 then if can_harvest and math.random(1,3) == 1 then
amount = "2" amount = "2"
else else
amount = "1" amount = "1"
@ -167,6 +167,13 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
groups.not_in_creative_inventory = 1 groups.not_in_creative_inventory = 1
end end
local node_dig_prediction
local node_placement_prediction
if bush_name ~= "fruitless" then
node_dig_prediction = "bushes:fruitless_bush"
node_placement_prediction = "bushes:fruitless_bush"
end
minetest.register_node(":bushes:" .. bush_name .. "_bush", { minetest.register_node(":bushes:" .. bush_name .. "_bush", {
description = bushes_classic.bushes_descriptions[i][6], description = bushes_classic.bushes_descriptions[i][6],
drawtype = "mesh", drawtype = "mesh",
@ -178,6 +185,8 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
groups = groups, groups = groups,
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
drop = "", drop = "",
node_dig_prediction = node_dig_prediction,
node_placement_prediction = node_placement_prediction,
after_dig_node = function( pos, oldnode, oldmetadata, digger ) after_dig_node = function( pos, oldnode, oldmetadata, digger )
return plantlife_bushes.after_dig_node(pos, oldnode, oldmetadata, digger); return plantlife_bushes.after_dig_node(pos, oldnode, oldmetadata, digger);
end, end,

View File

@ -1,12 +1,2 @@
-----------------------------------------------------------------------------------------------
local title = "Cave Stuff"
local version = "0.0.3"
local mname = "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

@ -0,0 +1,4 @@
# textdomain: cavestuff
Pebble=Kieselstein
Desert Pebble=Wüstenkiesel
Stalactite=Stalaktit

View File

@ -0,0 +1,4 @@
# textdomain: cavestuff
Pebble=Ŝtoneto
Desert Pebble=Dezerta Ŝtoneto
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

@ -1,39 +1,65 @@
--Map Generation Stuff --Map Generation Stuff
biome_lib.register_on_generate( minetest.register_decoration({
{ decoration = {
surface = { "cavestuff:pebble_1",
"cavestuff:pebble_2"
},
place_on = {
"default:dirt_with_grass", "default:dirt_with_grass",
"default:gravel", "default:gravel",
"default:stone", "default:stone",
"default:permafrost_with_stones" "default:permafrost_with_stones"
}, },
max_count = 50, noise_params = {
rarity = 0, offset = 0,
plantlife_limit = -1, scale = 0.0078125,
check_air = true, spread = {
random_facedir = {0, 3} y = 100,
z = 100,
x = 100
}, },
{ seed = 0,
"cavestuff:pebble_1", octaves = 3,
"cavestuff:pebble_2" persist = 0.6,
} flags = "absvalue",
) lacunarity = 2
},
param2 = 0,
flags = "all_floors",
deco_type = "simple",
param2_max = 3,
y_min = -16,
y_max = 48
})
biome_lib.register_on_generate( minetest.register_decoration({
{ decoration = {
surface = { "cavestuff:desert_pebble_1",
"cavestuff:desert_pebble_2"
},
place_on = {
"default:desert_sand", "default:desert_sand",
"default:desert_stone" "default:desert_stone"
}, },
max_count = 50, noise_params = {
rarity = 0, offset = 0,
plantlife_limit = -1, scale = 0.0078125,
check_air = true, spread = {
random_facedir = {0, 3} y = 100,
z = 100,
x = 100
}, },
{ seed = 0,
"cavestuff:desert_pebble_1", octaves = 3,
"cavestuff:desert_pebble_2" persist = 0.6,
} flags = "absvalue",
) lacunarity = 2
},
param2 = 0,
flags = "all_floors",
deco_type = "simple",
param2_max = 3,
y_min = -16,
y_max = 48
})

View File

@ -1,2 +1,2 @@
name = cavestuff name = cavestuff
depends = default,biome_lib depends = default

View File

@ -155,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")
@ -130,6 +125,7 @@ minetest.register_node("dryplants:grass", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
tiles = {"dryplants_grass.png"}, tiles = {"dryplants_grass.png"},
use_texture_alpha = "clip",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -161,6 +157,7 @@ minetest.register_node("dryplants:hay", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
tiles = {"dryplants_hay.png"}, tiles = {"dryplants_hay.png"},
use_texture_alpha = "clip",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -199,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

@ -0,0 +1,21 @@
# textdomain: dryplants
Sickle=Sichel
Cut Grass=Grasschnitt
Hay=Heu
Short Grass=Kurzes Gras
Juncus=Binsen
Wet Reed=Nasses Schilf
Wet Reed Slab=Nasse Schilfplatte
Wet Reed Roof=Nasses Schilfdach
Wet Reed Roof Corner=Nasser Schilfdachwinkel
Wet Reed Roof Corner 2=Nasser Schilfdachwinkel 2
Reed=Schilf
Reed Slab=Schilfstufe
Reed Roof=Schilfdach
Reed Roof Corner=Schilfdachwinkel
Reed Roof Corner 2=Schilfdachwinkel
Reedmace=Rohrkolben
Reedmace, height: 1=Rohrkolben, Höhe: 1
Reedmace, height: 2=Rohrkolben, Höhe: 2
Reedmace, height: 3=Rohrkolben, Höhe: 3
Reedmace, height: 3 & Spikes=Rohrkolben, Höhe: 3 & Rispe

View File

@ -0,0 +1,21 @@
# textdomain: dryplants
Sickle=
Cut Grass=Tranĉita Herbenon
Hay=Fojno
Short Grass=Mallonga Herbo
Juncus=Junko
Wet Reed=Malseka Kano
Wet Reed Slab=Slabo de Malseka Kano
Wet Reed Roof=Tegmento de Malseka Kano
Wet Reed Roof Corner=Tegmentangulo de Malseka Kano
Wet Reed Roof Corner 2=Tegmentangulo 2 de Malseka Kano
Reed=Kano
Reed Slab=Slabo de Kano
Reed Roof=Tegmento de Kano
Reed Roof Corner=Tegmentangulo de Kano
Reed Roof Corner 2=Tegmentangulo 2 de Kano
Reedmace=Tifeo
Reedmace, height: 1=Tifeo, alteco: 1
Reedmace, height: 2=Tifeo, alteco: 2
Reedmace, height: 3=Tifeo, alteco: 3
Reedmace, height: 3 & Spikes=Tifeo, alteco: 3 & Pikiloj

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

@ -264,7 +264,8 @@ minetest.register_node("dryplants:reedmace_sapling", {
groups = { groups = {
snappy=3, snappy=3,
flammable=2, flammable=2,
attached_node=1 attached_node=1,
sapling=1,
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {

View File

@ -13,6 +13,25 @@ assert(abstract_ferns.config.enable_giant_treefern == true)
local S = minetest.get_translator("ferns") local S = minetest.get_translator("ferns")
-- lot of code, lot to load -- lot of code, lot to load
function abstract_ferns.can_grow_giant_tree_fern(pos)
local node_name = minetest.get_node(pos).name
if node_name ~= "air" and node_name ~= "ferns:sapling_giant_tree_fern" and node_name ~= "default:junglegrass" then
return false
end
local below_name = minetest.get_node(vector.new(pos.x, pos.y - 1, pos.z)).name
if minetest.get_item_group(below_name, "soil") == 0 and minetest.get_item_group(below_name, "sand") == 0 then
return false
end
local light = minetest.get_node_light(pos, 0.5)
if light <= 8 then
return false
end
return true
end
abstract_ferns.grow_giant_tree_fern = function(pos) abstract_ferns.grow_giant_tree_fern = function(pos)
local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z} local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z}
local name = minetest.get_node(pos_aux).name local name = minetest.get_node(pos_aux).name
@ -65,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
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
@ -162,6 +181,14 @@ minetest.register_node("ferns:tree_fern_leave_big", {
}, },
drop = "", drop = "",
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
after_destruct = function(pos,oldnode)
for _, d in pairs({{x=-1,z=0},{x=1,z=0},{x=0,z=-1},{x=0,z=1}}) do
local node = minetest.get_node({x=pos.x+d.x,y=pos.y+1,z=pos.z+d.z})
if node.name == "ferns:tree_fern_leave_big" then
minetest.dig_node({x=pos.x+d.x,y=pos.y+1,z=pos.z+d.z})
end
end
end,
}) })
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
@ -173,6 +200,7 @@ minetest.register_node("ferns:tree_fern_leave_big_end", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = { "ferns_tree_fern_leave_big_end.png" }, tiles = { "ferns_tree_fern_leave_big_end.png" },
use_texture_alpha = "clip",
walkable = false, walkable = false,
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -205,6 +233,7 @@ minetest.register_node("ferns:fern_trunk_big_top", {
"ferns_fern_trunk_big_top.png^ferns_tree_fern_leave_big_cross.png", "ferns_fern_trunk_big_top.png^ferns_tree_fern_leave_big_cross.png",
"ferns_fern_trunk_big.png" "ferns_fern_trunk_big.png"
}, },
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
-- {left, bottom, front, right, top, back } -- {left, bottom, front, right, top, back }
@ -242,6 +271,7 @@ minetest.register_node("ferns:fern_trunk_big", {
"ferns_fern_trunk_big_top.png", "ferns_fern_trunk_big_top.png",
"ferns_fern_trunk_big.png" "ferns_fern_trunk_big.png"
}, },
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
@ -271,7 +301,7 @@ minetest.register_node("ferns:sapling_giant_tree_fern", {
tiles = {"ferns_sapling_tree_fern_giant.png"}, tiles = {"ferns_sapling_tree_fern_giant.png"},
inventory_image = "ferns_sapling_tree_fern_giant.png", inventory_image = "ferns_sapling_tree_fern_giant.png",
walkable = false, walkable = false,
groups = {snappy=3,flammable=2,flora=1,attached_node=1}, groups = {snappy=3,flammable=2,flora=1,attached_node=1,sapling=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -285,8 +315,10 @@ minetest.register_abm({
interval = 1000, interval = 1000,
chance = 4, chance = 4,
action = function(pos, node, _, _) action = function(pos, node, _, _)
if abstract_ferns.can_grow_giant_tree_fern(pos) then
abstract_ferns.grow_giant_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) abstract_ferns.grow_giant_tree_fern({x = pos.x, y = pos.y-1, z = pos.z})
end end
end
}) })
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------

View File

@ -1,14 +1,5 @@
-----------------------------------------------------------------------------------------------
local title = "Ferns" -- former "Archae Plantae"
local version = "0.2.1"
local mname = "ferns" -- former "archaeplantae"
-----------------------------------------------------------------------------------------------
-- (by Mossmanikin)
-----------------------------------------------------------------------------------------------
abstract_ferns = {} abstract_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
@ -28,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...")
-----------------------------------------------------------------------------------------------

15
ferns/locale/ferns.de.tr Normal file
View File

@ -0,0 +1,15 @@
# textdomain: ferns
Fiddlehead=Geigenkopf
Roasted Fiddlehead=Gerösteter Geigenkopf
Fern Tuber=Farnknolle
Roasted Fern Tuber=Geröstete Farnknolle
Lady-fern (Athyrium)=Frauenfarn (Athyrium)
Giant Tree Fern Leaves=Riesige Baumfarnblätter
Giant Tree Fern Leave End=Riesiges Baumfarnblattende
Giant Fern Trunk=Riesiger Baumfarnstamm
Giant Tree Fern Sapling=Riesiger Baumfarnsetzling
Young Horsetail (Equisetum)=Junger Schachtelhalm (Equisetum)
Horsetail (Equisetum)=Schachtelhalm (Equisetum)
Fern Trunk (Dicksonia)=Farnstamm (Dicksonia)
Tree Fern Sapling (Dicksonia)=Baumfarnsetzling (Dicksonia)
Tree Fern Crown (Dicksonia)=Baumfarnkrone (Dicksonia)

15
ferns/locale/ferns.eo.tr Normal file
View File

@ -0,0 +1,15 @@
# textdomain: ferns
Fiddlehead=Filika Supro
Roasted Fiddlehead=Rostita Filika Supro
Fern Tuber=Filika Tubero
Roasted Fern Tuber=Rostita Filika Tubero
Lady-fern (Athyrium)=Afiriumo (Athyrium)
Giant Tree Fern Leaves=Folioj de Giganta Arba Filiko
Giant Tree Fern Leave End=Folifino de Giganta Arba Filiko
Giant Fern Trunk=Trunko de Giganta Arba Filiko
Giant Tree Fern Sapling=Arbido de Giganta Arba Filiko
Young Horsetail (Equisetum)=Juna Ekvizeto (Equisetum)
Horsetail (Equisetum)=Ekvizeto (Equisetum)
Fern Trunk (Dicksonia)=Trunko de Arba Filiko (Dicksonia)
Tree Fern Sapling (Dicksonia)=Arbido de Arba Filiko (Dicksonia)
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

@ -11,6 +11,25 @@ local S = minetest.get_translator("ferns")
assert(abstract_ferns.config.enable_treefern == true) assert(abstract_ferns.config.enable_treefern == true)
function abstract_ferns.can_grow_tree_fern(pos)
local node_name = minetest.get_node(pos).name
if node_name ~= "air" and node_name ~= "ferns:sapling_tree_fern" and node_name ~= "default:junglegrass" then
return false
end
local below_name = minetest.get_node(vector.new(pos.x, pos.y - 1, pos.z)).name
if minetest.get_item_group(below_name, "soil") == 0 and minetest.get_item_group(below_name, "sand") == 0 then
return false
end
local light = minetest.get_node_light(pos, 0.5)
if light <= 8 then
return false
end
return true
end
abstract_ferns.grow_tree_fern = function(pos) abstract_ferns.grow_tree_fern = function(pos)
local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z} local pos_aux = {x = pos.x, y = pos.y + 1, z = pos.z}
@ -128,6 +147,7 @@ minetest.register_node("ferns:fern_trunk", {
"ferns_fern_trunk_top.png", "ferns_fern_trunk_top.png",
"ferns_fern_trunk.png" "ferns_fern_trunk.png"
}, },
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}, fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8},
@ -158,7 +178,7 @@ minetest.register_node("ferns:sapling_tree_fern", {
tiles = {"ferns_sapling_tree_fern.png"}, tiles = {"ferns_sapling_tree_fern.png"},
inventory_image = "ferns_sapling_tree_fern.png", inventory_image = "ferns_sapling_tree_fern.png",
walkable = false, walkable = false,
groups = {snappy=3,flammable=2,flora=1,attached_node=1}, groups = {snappy=3,flammable=2,flora=1,attached_node=1,sapling=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -171,8 +191,10 @@ minetest.register_abm({
interval = 1000, interval = 1000,
chance = 4, chance = 4,
action = function(pos, node, _, _) action = function(pos, node, _, _)
if abstract_ferns.can_grow_tree_fern(pos) then
abstract_ferns.grow_tree_fern({x = pos.x, y = pos.y-1, z = pos.z}) abstract_ferns.grow_tree_fern({x = pos.x, y = pos.y-1, z = pos.z})
end end
end
}) })
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------

View File

@ -1,3 +0,0 @@
minetest.register_alias("junglegrass:shortest", "air")
minetest.register_alias("junglegrass:short", "air")
minetest.register_alias("junglegrass:medium", "air")

View File

@ -1 +0,0 @@
name = junglegrass

View File

@ -1,20 +1,10 @@
-----------------------------------------------------------------------------------------------
-- Idea by Sokomine -- Idea by Sokomine
-- Code & textures by Mossmanikin -- Code & textures by Mossmanikin
abstract_molehills = {}
local molehills_rarity = tonumber(minetest.settings:get("molehills_rarity")) or 99.5
local molehills_rarity_fertility = tonumber(minetest.settings:get("molehills_rarity_fertility")) or 1
local molehills_fertility = tonumber(minetest.settings:get("molehills_fertility")) or -0.6
-- 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}
@ -26,6 +16,7 @@ minetest.register_node("molehills:molehill",{
description = S("Mole Hill"), description = S("Mole Hill"),
inventory_image = "molehills_side.png", inventory_image = "molehills_side.png",
tiles = { "molehills_dirt.png" }, tiles = { "molehills_dirt.png" },
use_texture_alpha = "clip",
paramtype = "light", paramtype = "light",
selection_box = mh_cbox, selection_box = mh_cbox,
collision_box = mh_cbox, collision_box = mh_cbox,
@ -33,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 = {
@ -44,32 +33,19 @@ minetest.register_craft({ -- molehills --> dirt
} }
}) })
----------------------------------------------------------------------------------------------- -- Generating
-- GeNeRaTiNG minetest.register_decoration({
----------------------------------------------------------------------------------------------- decoration = {
abstract_molehills.place_molehill = function(pos) "molehills:molehill"
local right_here = {x=pos.x , y=pos.y+1, z=pos.z }
if minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z }).name ~= "air"
and minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z }).name ~= "air"
and minetest.get_node({x=pos.x , y=pos.y, z=pos.z+1}).name ~= "air"
and minetest.get_node({x=pos.x , y=pos.y, z=pos.z-1}).name ~= "air"
and minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z+1}).name ~= "air"
and minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z-1}).name ~= "air"
and minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z+1}).name ~= "air"
and minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z-1}).name ~= "air" then
minetest.swap_node(right_here, {name="molehills:molehill"})
end
end
biome_lib.register_on_generate({
surface = {"default:dirt_with_grass"},
rarity = molehills_rarity,
rarity_fertility = molehills_rarity_fertility,
plantlife_limit = molehills_fertility,
min_elevation = 1,
max_elevation = 40,
avoid_nodes = {"group:tree","group:liquid","group:stone","group:falling_node"--[[,"air"]]},
avoid_radius = 4,
}, },
abstract_molehills.place_molehill fill_ratio = 0.002,
) y_min = 1,
y_max = 40,
place_on = {
"default:dirt_with_grass"
},
spawn_by = "air",
num_spawn_by = 3,
deco_type = "simple",
flags = "all_floors",
})

View File

@ -0,0 +1,2 @@
# textdomain: molehills
Mole Hill=Maulwurfshügel

View File

@ -0,0 +1,2 @@
# textdomain: molehills
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

@ -1,2 +1,2 @@
name = molehills name = molehills
depends = default, biome_lib depends = default

View File

@ -1,8 +0,0 @@
#Molehills rarity %
molehills_rarity (Molehills rarity %) float 99.5 0 100
#How much the rarity is reduced by fertility %
molehills_rarity_fertility (Molehills rarity fertility reduction %) float 1 0 100
#Molehills minimum fertility (-1 to +1)
molehills_fertility (Molehills minimum fertility) float -0.6 -1 1

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
@ -42,5 +40,3 @@ nature.blossom_duration = nature.blossom_delay
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

@ -0,0 +1,2 @@
# textdomain: nature_classic
Apple blossoms=Apfelblüten

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

@ -0,0 +1,10 @@
# textdomain: nature_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Jolesh, 2022.
#
Apple blossoms=Poma Floroj
[Nature Classic] loaded!=[Nature Classic] ŝarĝita!

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

@ -25,6 +25,7 @@ for i in ipairs(algae_list) do
"flowers_seaweed"..num..".png", "flowers_seaweed"..num..".png",
"flowers_seaweed"..num..".png^[transformFY" "flowers_seaweed"..num..".png^[transformFY"
}, },
use_texture_alpha = "clip",
inventory_image = "flowers_seaweed_2.png", inventory_image = "flowers_seaweed_2.png",
wield_image = "flowers_seaweed_2.png", wield_image = "flowers_seaweed_2.png",
sunlight_propagates = true, sunlight_propagates = true,
@ -46,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
@ -160,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
Seaweed=Seegras
# 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

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

@ -0,0 +1,2 @@
# textdomain: pl_seaweed
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,10 +1,6 @@
-- support for i18n -- support for i18n
local S = minetest.get_translator("pl_sunflowers") local S = minetest.get_translator("pl_sunflowers")
local sunflowers_max_count = tonumber(minetest.settings:get("pl_sunflowers_max_count")) or 10
local sunflowers_rarity = tonumber(minetest.settings:get("pl_sunflowers_rarity")) or 25
local box = { local box = {
type="fixed", type="fixed",
fixed = { { -0.2, -0.5, -0.2, 0.2, 0.5, 0.2 } }, fixed = { { -0.2, -0.5, -0.2, 0.2, 0.5, 0.2 } },
@ -19,10 +15,11 @@ minetest.register_node(":flowers:sunflower", {
description = S("Sunflower"), description = S("Sunflower"),
drawtype = "mesh", drawtype = "mesh",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "degrotate",
inventory_image = "flowers_sunflower_inv.png", inventory_image = "flowers_sunflower_inv.png",
mesh = "flowers_sunflower.obj", mesh = "flowers_sunflower.obj",
tiles = { "flowers_sunflower.png" }, tiles = { "flowers_sunflower.png" },
use_texture_alpha = "clip",
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
is_ground_content = true, is_ground_content = true,
@ -39,17 +36,20 @@ minetest.register_node(":flowers:sunflower", {
} }
}) })
biome_lib.register_on_generate({ minetest.register_decoration({
surface = {"default:dirt_with_grass"}, decoration = {
avoid_nodes = { "flowers:sunflower" },
max_count = sunflowers_max_count,
rarity = sunflowers_rarity,
min_elevation = 0,
plantlife_limit = -0.9,
temp_max = -0.1,
random_facedir = {0,3},
},
"flowers:sunflower" "flowers:sunflower"
) },
fill_ratio = 0.005,
y_min = 1,
y_max = 40,
param2 = 0,
param2_max = 239,
place_on = {
"default:dirt_with_grass"
},
deco_type = "simple",
flags = "all_floors",
})
minetest.register_alias("sunflower:sunflower", "flowers:sunflower") minetest.register_alias("sunflower:sunflower", "flowers:sunflower")

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

@ -0,0 +1,2 @@
# textdomain: pl_sunflowers
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

@ -1,3 +1,2 @@
name = pl_sunflowers name = pl_sunflowers
depends = biome_lib
optional_depends = farming, flowers optional_depends = farming, flowers

View File

@ -36,6 +36,7 @@ for i in ipairs(lilies_list) do
"flowers_waterlily"..deg2..".png", "flowers_waterlily"..deg2..".png",
"flowers_waterlily"..deg2..".png^[transformFY" "flowers_waterlily"..deg2..".png^[transformFY"
}, },
use_texture_alpha = "clip",
inventory_image = "flowers_waterlily.png", inventory_image = "flowers_waterlily.png",
wield_image = "flowers_waterlily.png", wield_image = "flowers_waterlily.png",
sunlight_propagates = true, sunlight_propagates = true,
@ -58,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
@ -156,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

@ -0,0 +1,2 @@
# textdomain: pl_waterlilies
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")
@ -101,5 +100,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
Poison ivy (seedling)=Giftefeu (Sämling)
# SOME DESCRIPTIVE TITLE. Poison ivy (sproutling)=Giftefeu (Sprössling)
# 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 (sproutling)=Giftefeu (Sproessling)
Poison ivy (climbing plant)=Giftefeu (Kletterpflanze) Poison ivy (climbing plant)=Giftefeu (Kletterpflanze)
[Poison Ivy] Loaded.=[Poison Ivy] Geladen.

View File

@ -0,0 +1,4 @@
# textdomain: poisonivy
Poison ivy (seedling)=Venena hedero (plantido)
Poison ivy (sproutling)=Venena hedero (ĝermanta)
Poison ivy (climbing plant)=Venena hedero (grimpplanto)

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

@ -35,11 +35,11 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "trunks:twig_1 4", output = "trunks:twig_1 4",
recipe = {{"bushes:bushbranches2"}} recipe = {{"bushes:bushbranches3"}}
}) })
minetest.register_craft({ minetest.register_craft({
output = "trunks:twig_1 4", output = "trunks:twig_1 4",
recipe = {{"bushes:bushbranches3"}} recipe = {{"bushes:bushbranches4"}}
}) })
end end
minetest.register_craft({ -- twigs block --> twigs minetest.register_craft({ -- twigs block --> twigs

View File

@ -1,8 +1,3 @@
-----------------------------------------------------------------------------------------------
local title = "Trunks"
local version = "0.1.4"
local mname = "trunks"
-----------------------------------------------------------------------------------------------
-- Code by Mossmanikin & Neuromancer -- Code by Mossmanikin & Neuromancer
abstract_trunks = {} abstract_trunks = {}
@ -11,7 +6,3 @@ 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

@ -0,0 +1,10 @@
# textdomain: trunks
Twig=Zweig
Moss=Moos
Moss with Fungus=Moos mit Pilz
Twigs Block=Zweigblock
Twigs Slab=Zweigplatte
Twigs Roof=Zweigdach
Twigs Roof Corner 1=Zweigdachwinkel 1
Twigs Roof Corner 2=Zweigdachwinkel 2
@1 Root=Wurzel von @1

View File

@ -0,0 +1,10 @@
# textdomain: trunks
Twig=Branĉeto
Moss=Musko
Moss with Fungus=Musko kun Fungo
Twigs Block=Bloko de Branĉetoj
Twigs Slab=Slabo
Twigs Roof=Tegmento
Twigs Roof Corner 1=Tegmentangulo 1 de Branĉetoj
Twigs Roof Corner 2=Tegmentangulo 2 de Branĉetoj
@1 Root=@1 Radiko

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

@ -24,6 +24,7 @@ for i in pairs(NoDe) do
"trunks_twig_"..NR..".png^[transformFY", -- mirror "trunks_twig_"..NR..".png^[transformFY", -- mirror
"trunks_twig_6.png" -- empty "trunks_twig_6.png" -- empty
}, },
use_texture_alpha = "clip",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
@ -88,6 +89,7 @@ for r = 0, 3 do
description = S("Moss"), description = S("Moss"),
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"trunks_moss.png"..xform}, tiles = {"trunks_moss.png"..xform},
use_texture_alpha = "clip",
inventory_image = "trunks_moss.png", inventory_image = "trunks_moss.png",
wield_image = "trunks_moss.png", wield_image = "trunks_moss.png",
paramtype = "light", paramtype = "light",
@ -110,6 +112,7 @@ for r = 0, 3 do
tiles = {"trunks_moss_fungus.png"..xform}, tiles = {"trunks_moss_fungus.png"..xform},
inventory_image = "trunks_moss_fungus.png", inventory_image = "trunks_moss_fungus.png",
wield_image = "trunks_moss_fungus.png", wield_image = "trunks_moss_fungus.png",
use_texture_alpha = "clip",
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
sunlight_propagates = true, sunlight_propagates = true,
@ -376,6 +379,7 @@ for i in pairs(TRuNKS) do
--[[back]] MoD.."_"..TRuNK..".png", --[[back]] MoD.."_"..TRuNK..".png",
--[[front]] MoD.."_"..TRuNK..".png" --[[front]] MoD.."_"..TRuNK..".png"
}, },
use_texture_alpha = "clip",
drawtype = "nodebox", drawtype = "nodebox",
selection_box = {type = "fixed", fixed = roots_cube}, selection_box = {type = "fixed", fixed = roots_cube},
node_box = {type = "fixed", fixed = roots_sheet}, node_box = {type = "fixed", fixed = roots_sheet},

View File

@ -1,6 +1,6 @@
# Vines Mod by Bas80 (Edited by TenPlus1) # Vines Mod by Bas80 (Edited by TenPlus1)
### License: MIT for code, CC for textures ### License: MIT for code, CC0 for textures
## Features ## Features
- Rope block for spawning rope that slowly drops into the deep. - Rope block for spawning rope that slowly drops into the deep.

View File

@ -43,9 +43,19 @@ local function on_dig(pos, node, player)
drop_item = vine_name_end drop_item = vine_name_end
end end
local wielded_item = player and player:get_wielded_item() local wielded_item = minetest.is_player(player) and player:get_wielded_item()
if wielded_item then if wielded_item then
wielded_item:add_wear(1) local node_def = minetest.registered_nodes[node.name]
local dig_params = minetest.get_dig_params(
node_def.groups,
wielded_item:get_tool_capabilities(),
wielded_item:get_wear()
)
if dig_params.wear then
wielded_item:add_wear(dig_params.wear)
player:set_wielded_item(wielded_item)
end
if wielded_item:get_name() == 'vines:shears' then if wielded_item:get_name() == 'vines:shears' then
drop_item = vine_name_end drop_item = vine_name_end
end end
@ -116,7 +126,7 @@ vines.register_vine = function( name, defs, biome )
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
buildable_to = false, buildable_to = false,
tiles = {vine_image_end}, tiles = {vine_image_end .. (drawtype == "plantlike" and "^[transformR180" or "")},
drawtype = drawtype, drawtype = drawtype,
inventory_image = vine_image_end, inventory_image = vine_image_end,
groups = groups, groups = groups,

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=

8
vines/locale/vines.de.tr Normal file
View File

@ -0,0 +1,8 @@
# textdomain: vines
Vines=Ranken
Matured=Gereifte
Rope=Seil
Shears=Schere
Roots=Wurzeln
Jungle Vines=Dschungelranken
Willow Vines=Weidenranken

8
vines/locale/vines.eo.tr Normal file
View File

@ -0,0 +1,8 @@
# textdomain: vines
Vines=Vitoj
Matured=Maturita
Rope=Ŝnuro
Shears=Tondiloj
Roots=Radikoj
Jungle Vines=Ĝangalaj Vitoj
Willow Vines=Salikaj Vitoj

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 292 B

Some files were not shown because too many files have changed in this diff Show More