tweak probabilities

This commit is contained in:
cora 2022-06-25 06:16:43 +02:00
parent 8684140740
commit f115fc8ea0
4 changed files with 11 additions and 10 deletions

View file

@ -34,13 +34,13 @@ end
mcl_structures.register_structure("desert_temple",{ mcl_structures.register_structure("desert_temple",{
place_on = {"group:sand"}, place_on = {"group:sand"},
fill_ratio = 0.05, fill_ratio = 0.01,
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
solid_ground = true, solid_ground = true,
make_foundation = true, make_foundation = true,
sidelen = 18, sidelen = 18,
y_offset = -12, y_offset = -12,
chunk_probability = 500, chunk_probability = 300,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
y_min = 1, y_min = 1,
biomes = { "Desert" }, biomes = { "Desert" },

View file

@ -249,7 +249,7 @@ mcl_structures.register_structure("desert_well",{
not_near = { "desert_temple_new" }, not_near = { "desert_temple_new" },
solid_ground = true, solid_ground = true,
sidelen = 4, sidelen = 4,
chunk_probability = 256, chunk_probability = 600,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
y_min = 1, y_min = 1,
y_offset = -2, y_offset = -2,
@ -258,14 +258,15 @@ mcl_structures.register_structure("desert_well",{
}) })
mcl_structures.register_structure("fossil",{ mcl_structures.register_structure("fossil",{
place_on = {"group:material_stone"}, place_on = {"group:material_stone","group:sand"},
fill_ratio = 0.01, fill_ratio = 0.01,
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
solid_ground = true, solid_ground = true,
sidelen = 13, sidelen = 13,
chunk_probability = 256, chunk_probability = 1000,
y_max = 1, y_offset = function(pr) return ( pr:next(1,16) * -1 ) -16 end,
y_min = mcl_vars.mg_overworld_min, y_max = 15,
y_min = mcl_vars.mg_overworld_min + 35,
biomes = { "Desert" }, biomes = { "Desert" },
filenames = { filenames = {
modpath.."/schematics/mcl_structures_fossil_skull_1.mts", -- 4×5×5 modpath.."/schematics/mcl_structures_fossil_skull_1.mts", -- 4×5×5

View file

@ -4,12 +4,12 @@ local modpath = minetest.get_modpath(modname)
mcl_structures.register_structure("jungle_temple",{ mcl_structures.register_structure("jungle_temple",{
place_on = {"group:grass_block","group:dirt","mcl_core:dirt_with_grass"}, place_on = {"group:grass_block","group:dirt","mcl_core:dirt_with_grass"},
fill_ratio = 0.1, fill_ratio = 0.01,
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
solid_ground = true, solid_ground = true,
make_foundation = true, make_foundation = true,
y_offset = function(pr) return pr:next(-3,0) -5 end, y_offset = function(pr) return pr:next(-3,0) -5 end,
chunk_probability = 1500, chunk_probability = 200,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
y_min = 1, y_min = 1,
biomes = { "Jungle" }, biomes = { "Jungle" },

View file

@ -39,7 +39,7 @@ mcl_structures.register_structure("witch_hut",{
fill_ratio = 0.01, fill_ratio = 0.01,
flags = "place_center_x, place_center_z, liquid_surface, force_placement", flags = "place_center_x, place_center_z, liquid_surface, force_placement",
sidelen = 8, sidelen = 8,
chunk_probability = 400, chunk_probability = 300,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
y_min = -4, y_min = -4,
y_offset = 0, y_offset = 0,