From d0149162c0a2e7432174b6b6e2a3ba6f2e1ec3b0 Mon Sep 17 00:00:00 2001 From: Duane Date: Sun, 7 Aug 2016 02:01:20 -0500 Subject: [PATCH] Correct coffer spawn rate. --- dungeon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dungeon.lua b/dungeon.lua index 6c7bcf9..eb16936 100644 --- a/dungeon.lua +++ b/dungeon.lua @@ -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']