Adjust dungeon spawns.

This commit is contained in:
Duane 2016-08-06 03:28:00 -05:00
parent f91d3d1070
commit 3244b2f1ff
2 changed files with 2 additions and 2 deletions

View file

@ -418,7 +418,7 @@ minetest.register_abm({
nodenames = {"fun_caves:dungeon_floor_1"},
neighbors = {'air'},
interval = 10 * time_factor,
chance = 1000,
chance = 2000,
catch_up = false,
action = function(pos, node)
if not (pos and node) then

View file

@ -487,7 +487,7 @@ fun_caves.dungeon = function(minp_in, maxp_in, data, p2data, area, node, heightm
if not leave_alone[data[ivm]] then
if ry == 0 and (cy > 0 or not centered_in) then
if content[cx][cy][cz] == 'room' then
local r = math.random(2000)
local r = math.random(1000)
if r == 1 then
data[ivm] = node['fun_caves:stone_with_gold_trap']
elseif r == 2 then