Adjust casket spawns.
This commit is contained in:
parent
d5c3a8f971
commit
57ef1744c5
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ fun_caves.pyramid = function(minp, maxp, data, p2data, area, biomemap, biome_ids
|
|||
local dy = y - minp.y
|
||||
|
||||
if dy >= base_height + 3 and dy <= base_height + 37 - math.max(math.abs(dx - 40), math.abs(dz - 40)) and pyramid_1[index3d] > 0 then
|
||||
if data[ivm - area.ystride] == node['fun_caves:pyramid_1'] and math.random(100) == 1 then
|
||||
if data[ivm - area.ystride] == node['fun_caves:pyramid_1'] and math.random(50) == 1 then
|
||||
data[ivm] = node['fun_caves:casket']
|
||||
else
|
||||
data[ivm] = node['air']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue