mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Add weights to biomes (#15142)
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user