Change pyramid spawns to center on caskets.
This commit is contained in:
parent
70c39c6c0e
commit
6286a4e829
3 changed files with 26 additions and 2 deletions
|
@ -127,8 +127,10 @@ fun_caves.pyramid = function(minp, maxp, data, p2data, area, biomemap, biome_ids
|
|||
else
|
||||
data[ivm] = node['air']
|
||||
end
|
||||
elseif dy >= base_height and dy <= base_height + 40 - math.max(math.abs(dx - 40), math.abs(dz - 40)) then
|
||||
elseif dy >= base_height + 3 and dy <= base_height + 37 - math.max(math.abs(dx - 40), math.abs(dz - 40)) then
|
||||
data[ivm] = node['fun_caves:pyramid_1']
|
||||
elseif dy >= base_height and dy <= base_height + 40 - math.max(math.abs(dx - 40), math.abs(dz - 40)) then
|
||||
data[ivm] = node['default:sandstone_block']
|
||||
end
|
||||
|
||||
ivm = ivm + area.ystride
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue