Add per-biome grass coloring
This commit is contained in:
parent
d4344bbaf8
commit
3e3ed630e5
4 changed files with 166 additions and 80 deletions
|
@ -1806,8 +1806,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
if bn then
|
||||
local biome = minetest.registered_biomes[bn]
|
||||
if biome then
|
||||
if biome._mcl_biome_type == "hot" then
|
||||
param2_data[p_pos] = 1
|
||||
if biome._mcl_biome_type then
|
||||
param2_data[p_pos] = biome._mcl_palette_index
|
||||
lvm_used = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue