Allow pyramids in any biome (by setting).

This commit is contained in:
Duane 2016-07-30 20:05:26 -05:00
parent 9c121b4c09
commit dfddba270c
3 changed files with 9 additions and 1 deletions

View file

@ -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