Commit Graph

9 Commits (master)

Author SHA1 Message Date
Vanessa Dannenberg e8afe017da Use engine decorations when possible 2021-04-23 17:03:29 -04:00
Vanessa Dannenberg 5148cca1b7 Using ":" notation to treat functions as methods is now deprecated
in favor of more normal "." notation.

In the process, I have renamed a few functions in favor of
more meaningful names (see API.txt), and provided
"compatibility shims" for old mods where needed, with warnings.
2021-04-20 17:40:03 -04:00
Vanessa Dannenberg 6342a16b0a Reign-in the default on-generated limit from +/- 31k to -16/+48m
since nothing much is normally found outside that range anyway

only enqueue blocks that are within that range, or within
the range specfied by all of the mods that make generate_plant() calls,
whichever covers more volume.
2021-04-16 13:02:54 -04:00
Vanessa Dannenberg f003f19998 add a proper settingtypes.txt 2021-04-10 06:01:01 -04:00
Vanessa Dannenberg 50f921a85a implement variable log levels
so that one need not see all the spammy stuff
if the only things of interest are e.g. warnings
2021-04-07 05:16:11 -04:00
Vanessa Dannenberg 7f1fec6ae0 add compatibility for games other than minetest_game 2021-04-01 05:47:22 -04:00
Vanessa Dannenberg f056d6d76e add descriptive names to ABM calls
can be specified by label= in the biome table
else biome_lib will try to make up something useful
fix #1
2018-12-01 10:51:18 -05:00
Vanessa Ezekowitz 8fd0789ad2 add "random return" CPU limiter to active queue playback
set `biome_lib_queue_run_ratio = <1 to 100>` to use
default 100 (basically, a percentage of max runtime).
2017-11-06 19:53:38 -05:00
Vanessa Ezekowitz 94218fb5a9 Initial commit:
split plants_lib off from plantlife modpack
renamed it to biome_lib
adapt all functions and references accordingly.
2015-08-09 10:36:01 -04:00