mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-25 10:11:32 +01:00
Avoid multiple ruined portals in the same chunk
This reduces the fill rate from 38 to 1 spawn attempts, and to counter this effect increases the chunk probability by a factor of 40. This should yield roughly the same amount of portals, but never produce two in the same map generation chunk. Before, they would frequently cluster. (Although out of the 38 attempts, apparently only 0-3 are usually successful).
This commit is contained in:
parent
2f457d9c32
commit
e4df46312f
@ -12,11 +12,11 @@ end
|
||||
|
||||
local def = {
|
||||
place_on = {"group:grass_block","group:dirt","mcl_core:dirt_with_grass","group:grass_block","group:sand","group:grass_block_snow","mcl_core:snow"},
|
||||
fill_ratio = 0.006,
|
||||
fill_ratio = 1.1/80/80, -- aim for 1 per chunk, control via chunk probability
|
||||
flags = "place_center_x, place_center_z, all_floors",
|
||||
solid_ground = true,
|
||||
make_foundation = true,
|
||||
chunk_probability = 800,
|
||||
chunk_probability = 20,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
y_min = 1,
|
||||
sidelen = 10,
|
||||
|
Loading…
Reference in New Issue
Block a user