How do we make flowers reproduce is minetest 5.0?

User avatar
damongang
New member
 
Posts: 6
Joined: Tue May 21, 2019 19:49

How do we make flowers reproduce is minetest 5.0?

by damongang » Sun Jun 09, 2019 19:05

We used to be able to plant flowers in an L shape on dirt/grass and they would spread. How do we make that work in minetest 5.0?
Thanks.
I like that feature but my wife REALLY likes that feature.
 

User avatar
Topywo
Member
 
Posts: 1721
Joined: Fri May 18, 2012 20:27

Re: How do we make flowers reproduce is minetest 5.0?

by Topywo » Mon Jun 10, 2019 09:20

Without modding or changing the minetest_game mods, remove all grasses and ferns from the area where you want to spread the flowers.
 

User avatar
Wuzzy
Member
 
Posts: 3784
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: How do we make flowers reproduce is minetest 5.0?

by Wuzzy » Fri Jun 14, 2019 14:01

Are you talking about Minetest Game?

The flower spread rules have been changed. In 0.4.17 and before, it was:

First, a definition: “flora node”. A “flora node” is any node that is either a flower or any grass (i.e. Grass, Dry Grass, Jungle Grass, Marram Grass). See also: https://wiki.minetest.net/Group:flora
There is not actually a rule for spreading flowers, but a rule for spreading both grass and flowers. It's the same rule for both of them

Each flora node can spawn a new flora node. First, it must be on a block on which saplings would grow (like dirt or dirt with grass). Then, there must be enough light (light level > 13).
Now, a new flora node is spawned if and only if there are at most 4 flora nodes (including itself) in a cube of 9×9×9 around it, with the flower that is being checked by Minetest in the center. The new flora node will be spawned randomly in that 9×9×9 cube.

The new rule since 5.0.0 is almost the same, but the new limit is a maximum of 3 flora nodes now.

This also explains why your “L” shape doesn't work anymore, those are now too many flowers packed together.


Oh: I'm not sure if the cube size in 0.4.17 was actually 9×9×9, but it sure is 9×9×9 in 5.0.0.

TL;DR:
To spread, a flower must:
  • Be on Dirt with Grass or another sapling-friendly node
  • In light (light level >=13)
  • Around an area of 9×9×9, not have more than 3 flowers or grasses (including itself)
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
paramat
Developer
 
Posts: 3555
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: How do we make flowers reproduce is minetest 5.0?

by paramat » Sat Jun 15, 2019 01:32

Speaking as a MTGame core dev, the flower spreading system is really bad, i can think of far better ways to do it. However it probably can't be changed because so many games and mods depend on MTGame being the way it is.
 

ShadMOrdre
Member
 
Posts: 570
Joined: Mon Dec 29, 2014 08:07
Location: USA
GitHub: ShadMOrdre
In-game: shadmordre

Re: How do we make flowers reproduce is minetest 5.0?

by ShadMOrdre » Sat Jun 15, 2019 02:15

In my lib_ecology mod, I had recently considered using node_timers to "play" conways game of life. Each timer event, I would check for how many of that node type was near; if too few, death from isolation; if just enough, either spawn new plant or blossom; and if too many, death by overcrowding. This is very similar to what exists already, just using node timers instead of abms. This should work for plants, grass, flowers, mushrooms, saplings and trees, because they all essentially use the same logic. In lib_ecology, they mostly use the same code.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.
 

Mew
New member
 
Posts: 1
Joined: Sat Feb 22, 2020 17:22
In-game: mewn

Re: How do we make flowers reproduce is minetest 5.0?

by Mew » Sat Feb 22, 2020 17:41

paramat wrote:Speaking as a MTGame core dev, the flower spreading system is really bad, i can think of far better ways to do it. However it probably can't be changed because so many games and mods depend on MTGame being the way it is.


It would be appreciated by many people if it was changed. Lots of 5.0+ servers (especially world limited maps) are running out of dye. I understand that nobody really minds what this density nerf has done to grass, but lots of mods rely upon several dyes and servers by default do not have other means of getting those dyes. It can be manually corrected on a case by case basis with the servers, but it's one feature that is simply expected by many players and hosts to work out of the box.
 

Sokomine
Member
 
Posts: 3954
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: How do we make flowers reproduce is minetest 5.0?

by Sokomine » Sun Feb 23, 2020 02:49

I had the idea to add rape seed for oil production: Grow the new plant type "rape seed", cook it to oil, and use the oil to multiply your dyes. That'd at least help with the colors. Flowers for decoration would still be rare...farming them would be great, but then we'd need a ton more textures for all the plants in all the growth stages...
A list of my mods can be found here.
 

User avatar
firefox
Member
 
Posts: 1527
Joined: Wed Jan 14, 2015 07:34
Location: Xanadu
In-game: Red_Fox

Re: How do we make flowers reproduce is minetest 5.0?

by firefox » Sun Feb 23, 2020 12:39

Sokomine wrote:Flowers for decoration would still be rare...farming them would be great, but then we'd need a ton more textures for all the plants in all the growth stages...

how about food dye?
farming mods have many fruits and vegetables which could be used to make dye.
sure, it's mostly yellow/orange/red/green, but despite being red many fruits actually dye stuff pink or violet instead of red.
then only blue would be rare, but there is a certain historical british/irish weed that makes blue dye when fermented.
building inspiration: viewtopic.php?f=3&t=15550 --- my game: viewtopic.php?f=49&t=15860 --- =(^.^)= nyan~
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 2 guests