Correct coffer spawn rate.
This commit is contained in:
parent
be7d7a1976
commit
d0149162c0
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ fun_caves.dungeon = function(minp_in, maxp_in, data, p2data, area, node, heightm
|
|||
elseif ry == (cell_size - 1) and (cy < (cells_y - 1) or not centered_in) then
|
||||
data[ivm] = node['fun_caves:dungeon_floor_2']
|
||||
elseif content[cx][cy][cz] == 'room' then
|
||||
if ry == 1 and math.random(50) == 1 and data[ivm - area.ystride] == node['fun_caves:dungeon_floor_1'] then
|
||||
if ry == 1 and math.random(250) == 1 and data[ivm - area.ystride] == node['fun_caves:dungeon_floor_1'] then
|
||||
data[ivm] = node['fun_caves:coffer']
|
||||
else
|
||||
data[ivm] = node['air']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue