Make villages optional.
This commit is contained in:
parent
6a68d3c616
commit
d94847072f
3 changed files with 9 additions and 1 deletions
|
@ -404,7 +404,7 @@ local function generate(p_minp, p_maxp, seed)
|
|||
if not write3 then
|
||||
write4, write_p4 = fun_caves.pyramid(minp, maxp, data, p2data, area, biomemap, biome_ids, node, heightmap)
|
||||
end
|
||||
if biomemap and not (write3 or write4) then
|
||||
if fun_caves.use_villages and biomemap and not (write3 or write4) then
|
||||
local biome = biome_ids[biomemap[40*80+40]]
|
||||
write5 = fun_caves.village(minp, maxp, data, p2data, area, node, biome, heightmap)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue