mod.biome_lib: Update to Git commit 8fd0789 & patch 7fd5c51

Upstream: https://github.com/minetest-mods/biome_lib/tree/8fd0789
Patch: https://github.com/AntumMT/mod-biome_lib/tree/7fd5c51
This commit is contained in:
Jordan Irwin 2018-07-03 19:23:31 -07:00
parent ee12b99766
commit a7e9a0e29e
6 changed files with 48 additions and 13 deletions

View File

@ -122,7 +122,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* [coloredwood][] ([LGPL][lic.lgpl3.0]) -- version: [bd490be Git][ver.coloredwood] *2017-05-18*
* world/
* [bedrock2][] ([WTFPL][lic.wtfpl]) -- version [63dbab8 Git][ver.bedrock2] *2017-06-20* ([patched][patch.bedrock2])
* [biome_lib][] ([WTFPL][lic.wtfpl]) -- version: [e6bfd4c Git][ver.biome_lib] *2017-08-12* ([patched][patch.biome_lib]) ***UPDATES***
* [biome_lib][] ([WTFPL][lic.wtfpl]) -- version: [8fd0789 Git][ver.biome_lib] *2017-11-06* ([patched][patch.biome_lib])
* [desert_life][] ([CC BY-SA][lic.ccbysa4.0]) -- version: [d448fa3 Git][ver.desert_life] *2017-01-01*
* [ethereal][] ([MIT][lic.ethereal]) -- version [18492be Git][ver.ethereal] *2017-08-17* ([patched][patch.ethereal]) ***UPDATES***
* [hill_nodebox][] ([BSD 3-Clause][lic.hill_nodebox]) -- version [41bbfa2 Git][ver.hill_nodebox] *2014-12-13*
@ -381,7 +381,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.away]: https://github.com/kahrl/minetest-mod-away/tree/4c1e5a9
[ver.bags]: https://github.com/cornernote/minetest-bags/tree/1626535
[ver.bedrock2]: http://repo.or.cz/minetest_bedrock2.git/tree/63dbab8
[ver.biome_lib]: https://github.com/minetest-mods/biome_lib/tree/e6bfd4c
[ver.biome_lib]: https://github.com/minetest-mods/biome_lib/tree/8fd0789
[ver.boats2]: https://github.com/amadin/boats/tree/b83231e
[ver.bookmarks_gui]: https://github.com/cornernote/minetest-bookmarks_gui/tree/f7ae10a
[ver.bridges]: https://github.com/Sokomine/bridges/tree/5b5f475
@ -485,7 +485,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.airtanks]: https://github.com/AntumMT/mod-airtanks/tree/71ea616
[patch.away]: https://github.com/AntumMT/mod-away/tree/3b0bf9e
[patch.bedrock2]: https://github.com/AntumMT/mod-bedrock2/tree/344fdae
[patch.biome_lib]: https://github.com/AntumMT/mod-biome_lib/tree/4e95b1e
[patch.biome_lib]: https://github.com/AntumMT/mod-biome_lib/tree/7fd5c51
[patch.boats2]: https://github.com/AntumMT/mod-boats2/tree/9b2bcb7
[patch.bridges]: https://github.com/AntumMT/mod-bridges/tree/ba8f71a
[patch.castle_weapons]: https://github.com/AntumMT/mod-castle_weapons/tree/669db13

View File

@ -2326,10 +2326,31 @@ inventory_default = craft
## WORLD ##
###########
# *** bedrock2 ***
## Sets the Y coordinate on which the bedrock layer will be created
# type: int
# default: -30912
bedrock2_y = -28000
# *** biome_lib ***
## To slow down the playback of the queue (e.g. for really slow machines where
# the 0.2 second max limiter isn't enough). Default is 100 (basically percent
# of maximum runtime).
# type: int
# min: 1
# max: 100
# default: 100
#biome_lib_queue_run_ratio = 100
# *** ethereal ***
ethereal.use_animalmaterials = true
# *** worldedge ***
## Limit the size of the world causing players to "circle around" (teleport)
@ -2377,14 +2398,6 @@ areas.self_protection_max_areas = 10
#areas.self_protection_max_areas_high = 32
# *** bedrock2 ***
# Sets the Y coordinate on which the bedrock layer will be created
# type: int
# default: -30912
bedrock2_y = -28000
##############
## MODPACKS ##

View File

@ -481,6 +481,12 @@ Set this to true if you want the mod to spam your console with debug info :-)
plantlife_debug = false
To slow down the playback of the queue (e.g. for really slow machines where
the 0.2 second max limiter isn't enough), set:
biome_lib_queue_run_ratio = <some value 1 to 100>
Default is 100 (basically percent of maximum runtime)
======================
Fertile Ground Mapping

View File

@ -31,6 +31,8 @@ biome_lib.modpath = minetest.get_modpath("biome_lib")
biome_lib.total_no_aircheck_calls = 0
biome_lib.queue_run_ratio = tonumber(minetest.settings:get("biome_lib_queue_run_ratio")) or 100
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.global_exists("intllib") then
@ -431,8 +433,9 @@ end)
-- "Play" them back, populating them with new stuff in the process
minetest.register_globalstep(function(dtime)
if dtime < 0.2 and -- don't attempt to populate if lag is already too high
(#biome_lib.blocklist_aircheck > 0 or #biome_lib.blocklist_no_aircheck > 0) then
if dtime < 0.2 -- don't attempt to populate if lag is already too high
and math.random(100) <= biome_lib.queue_run_ratio
and (#biome_lib.blocklist_aircheck > 0 or #biome_lib.blocklist_no_aircheck > 0) then
biome_lib.globalstep_start_time = minetest.get_us_time()
biome_lib.globalstep_runtime = 0
while (#biome_lib.blocklist_aircheck > 0 or #biome_lib.blocklist_no_aircheck > 0)

View File

@ -0,0 +1,5 @@
# To slow down the playback of the queue (e.g. for really slow machines where
# the 0.2 second max limiter isn't enough). Default is 100 (basically percent
# of maximum runtime).
biome_lib_queue_run_ratio (Queue playback speed) int 100 1 100

View File

@ -68,6 +68,14 @@ airtanks_bronze_uses (Bronze air tank uses) int 20 2 1000
bedrock2_y (Bedrock height) int -30912
[*biome_lib]
# To slow down the playback of the queue (e.g. for really slow machines where
# the 0.2 second max limiter isn't enough). Default is 100 (basically percent
# of maximum runtime).
biome_lib_queue_run_ratio (Queue playback speed) int 100 1 100
[*chatlog]
# Whether month is displayed before day in timestamp (E.g. 'dd/mm/yyyy' vs. 'mm/dd/yy').