Adjust fortress spawns.
This commit is contained in:
parent
57ef1744c5
commit
10d8a0cc5c
2 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ newnode.on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
|||
for i = 1, math.random(12) do
|
||||
inv:add_item('main', filler[math.random(#filler)])
|
||||
end
|
||||
if math.random(20) == 1 then
|
||||
if math.random(70) == 1 then
|
||||
inv:add_item('main', trophies[level][math.random(#trophies[level])])
|
||||
end
|
||||
end
|
||||
|
@ -415,7 +415,7 @@ fun_caves.fortress = function(minp_in, maxp_in, data, area, node)
|
|||
data[ivm] = inner_wall
|
||||
end
|
||||
else
|
||||
if y2 == 0 and y == minp.y + y2 * cell_size + 1 and data[ivm - area.ystride] ~= node['air'] and math.random(700) == 1 then
|
||||
if y2 == 0 and y == minp.y + y2 * cell_size + 1 and data[ivm - area.ystride] ~= node['air'] and math.random(200) == 1 then
|
||||
treasure_count = treasure_count + 1
|
||||
data[ivm] = node['fun_caves:coffer']
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue