Allow pyramids in any biome (by setting).
This commit is contained in:
parent
9c121b4c09
commit
dfddba270c
3 changed files with 9 additions and 1 deletions
|
@ -83,7 +83,7 @@ fun_caves.pyramid = function(minp, maxp, data, p2data, area, biomemap, biome_ids
|
|||
|
||||
if biomemap then
|
||||
local biome = biome_ids[biomemap[3240]]
|
||||
if not pyramid_biomes[biome] then
|
||||
if not (fun_caves.pyramids_everywhere or pyramid_biomes[biome]) then
|
||||
return
|
||||
end
|
||||
elseif math.random(5) ~= 1 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue