Hi there,
this is a generic l-system library.
The mod will not really do something on it's own. It is thought to be used by other mods.
A l-systems is a thingy that can be used to generate structures that repeat variations of itself in itself. Those are often found in nature for example in trees. For more information about l-systems have a peek at the wikipedia article about L-systems.
Minetest already uses a simple l-system to generate trees l-system trees. That l-system seems to be thought for tree generation only (just a guess) so it is not very accessible and felxible.
LSystem aims at being flexible, expandable and jet complex and fast enough to generate structures at mapgen time.
How to use: Have a look a the github wiki for LSystem LSystem Wiki
Because this mod does not do stuff directly and I don*t want this to be a complete dry run, I have patched up a simple example on how to use LSystem to generate a simple and boring but vast structure.
(see LSystem Test in the downloads section)
! Do not use the example in a life world !
The example creates a plane field around you and than places the l-system's next generation on it, therby griefing everything that was there before.
As this is my first Lua project i'd be happy to hear about improvements to the sourcecode.
Formal Stuff
Downloads
Depends
- LSystem
default, lib
. - LSystem Test
default, lib, lsystem
. - Lib
default
Copyright 2015 Sane
These mods are licensed under the GNU Affero General Public License
Basically, this means everyone is free to use, modify, and distribute the files, as long as these modifications are also licensed the same way.
Most importantly, the Affero variant of the GPL requires you to publish your modifications in source form, even if the mod is run only on the server, and not distributed.
-------------------------------------------