mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add weights to biomes (#15142)
This commit is contained in:
parent
44b261d136
commit
4c44942a39
5 changed files with 14 additions and 1 deletions
|
@ -374,6 +374,7 @@ Biome *read_biome_def(lua_State *L, int index, const NodeDefManager *ndef)
|
|||
b->heat_point = getfloatfield_default(L, index, "heat_point", 0.f);
|
||||
b->humidity_point = getfloatfield_default(L, index, "humidity_point", 0.f);
|
||||
b->vertical_blend = getintfield_default(L, index, "vertical_blend", 0);
|
||||
b->weight = getfloatfield_default(L, index, "weight", 1.f);
|
||||
b->flags = 0; // reserved
|
||||
|
||||
b->min_pos = getv3s16field_default(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue