Adjust casket spawns.

This commit is contained in:
Duane 2016-07-22 02:36:43 -05:00
parent d5c3a8f971
commit 57ef1744c5

View file

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