1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-02-04 06:10:16 +01:00

[biome_lib] Update

This commit is contained in:
LeMagnesium 2016-08-03 17:44:37 +02:00
parent cdf66589e8
commit 7f2f0088ef
No known key found for this signature in database
GPG Key ID: A54DDB5272C51E8B
4 changed files with 8 additions and 6 deletions

View File

@ -14,8 +14,8 @@ It is primarily intended for mapgen v6, but it should work fine when used with m
**Dependencies**: default from minetest_game **Dependencies**: default from minetest_game
**Recommends**: [Plantlife Modpack](https://github.com/VanessaE/plantlife_modpack), **Recommends**: [Plantlife Modpack](https://github.com/minetest-mods/plantlife_modpack),
[More Trees](https://github.com/VanessaE/moretrees) [More Trees](https://github.com/minetest-mods/moretrees)
**License**: WTFPL **License**: WTFPL
@ -27,4 +27,4 @@ It is primarily intended for mapgen v6, but it should work fine when used with m
* biome_lib:find_valid_wall() * biome_lib:find_valid_wall()
* biome_lib:is_node_loaded() * biome_lib:is_node_loaded()
For a complete description of these functions as well as several of the internal variables within the mod, [read the API.txt document](https://raw.githubusercontent.com/VanessaE/biome_lib/master/API.txt) included in this package. For a complete description of these functions as well as several of the internal variables within the mod, [read the API.txt document](https://raw.githubusercontent.com/minetest-mods/biome_lib/master/API.txt) included in this package.

View File

@ -0,0 +1 @@
The biome spawning and management library for Plantlife, Moretrees, Tiny Trees, and other mods that originally depended on plants_lib from the plantlife modpack.

View File

@ -10,7 +10,7 @@
biome_lib = {} biome_lib = {}
plantslib = setmetatable({}, { __index=function(t,k) minetest.log("warning", "Use of deprecated function:", k) return biome_lib[k] end }) plantslib = setmetatable({}, { __index=function(t,k) print("Use of deprecated function:", k) return biome_lib[k] end })
biome_lib.blocklist_aircheck = {} biome_lib.blocklist_aircheck = {}
biome_lib.blocklist_no_aircheck = {} biome_lib.blocklist_no_aircheck = {}
@ -289,7 +289,7 @@ function biome_lib:populate_surfaces(biome, nodes_or_function_or_model, snodes,
if objtype == "table" then if objtype == "table" then
if nodes_or_function_or_model.axiom then if nodes_or_function_or_model.axiom then
biome_lib:generate_tree(pos, nodes_or_function_or_model) biome_lib:generate_tree(p_top, nodes_or_function_or_model)
spawned = true spawned = true
else else
local fdir = nil local fdir = nil

1
mods/biome_lib/mod.conf Normal file
View File

@ -0,0 +1 @@
name = biome_lib