1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-11-12 05:30:21 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Vanessa Dannenberg
ddd88613e0 trim some blank lines 2021-04-01 04:34:07 -04:00
Vanessa Dannenberg
0005af6022 fix my name 2021-03-29 19:53:26 -04:00
Vanessa Dannenberg
353ca0cbd4 optimize some blocklist/actionlist checks 2021-03-28 23:10:31 -04:00
Vanessa Dannenberg
d65c72d48b don't need the old non-air-above find nodes call anymore
only very old minetest engine lacks the air-above api call
2021-03-25 19:27:38 -04:00
Vanessa Dannenberg
5a910875af fix deprecated function call 2020-04-15 16:59:40 -04:00
SmallJoker
29899f2d36 Fix call to nil (function) vector.copy
Either vector.new or table.copy
NOT LIKE THIS
2019-01-07 19:37:16 +01:00
SmallJoker
0837ff7fd2 Sync with world temperature if available 2019-01-02 23:08:07 +01:00
SmallJoker
ff9ce531d6 Cleanup ABM callback 2019-01-02 22:29:59 +01:00
SmallJoker
fa304f9d18 Fixes 2019-01-02 22:06:07 +01:00
SmallJoker
b7d69a8487 Split code and tidy up
Split to growth.lua and search_functions.lua
New function populate_single_surface for a single position check
Use 'return' to reduce indent levels
2019-01-02 20:35:39 +01: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
Jordan Irwin
ad12e97281 Replace deprecated call to 'intllib.Getter' 2018-11-25 23:54:02 +00:00
Vanessa Dannenberg
3a6c8abb70 license fixups: use LGPL 3.0 for code,
CC-by-SA 4.0 for media and everything else
2018-11-08 18:48:38 -05:00
Vanessa Dannenberg
83a3383de0 cache {name="air"} table into a global
use it everywhere as needed
2018-10-25 10:07:13 -04:00
Vanessa Dannenberg
244dcb4822 Speed improvements
replace all set_node() and remove_node() calls with swap_node()
also move a get_node() check to later in its list of tests
to do the "cheap" stuff first
2018-10-25 09:45:51 -04: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
AntumDeluge
03970402cf Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-05-13 02:09:20 -07:00
Vanessa Ezekowitz
9cdcdcfe6b don't execute the "playing out" shutdown code if log is already empty 2017-01-26 12:16:51 -05:00
Vanessa Ezekowitz
e64a41fcc6 fix typo in shutdown log/block count report 2016-11-02 01:57:12 -04:00
Rogier
5b3a2e0439 Fix trees not spawning on top of surface
The bottom-most tree trunk would be missing, because the tree was
generated at ground level, instead of above ground level.
2016-07-02 12:46:46 +02:00
Vanessa Ezekowitz
5ca9e6e77d fix typo for deprecated calls 2015-08-15 16:04:38 -04:00
Vanessa Ezekowitz
68a8fe1a8a missed a couple of status messages in the rename 2015-08-09 11:18:36 -04:00
Diego Martinez
f2362ed38e use alias for deprecated functions 2015-08-09 10:46:31 -04: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