1
0
Fork 0

better distribution

This commit is contained in:
cora 2022-07-03 22:23:25 +02:00
parent 40d0c1affb
commit 3584d89028
1 changed files with 2 additions and 4 deletions

View File

@ -1109,11 +1109,10 @@ local function create_corridor_system(main_cave_coords)
end end
mcl_structures.register_structure("mineshaft",{ mcl_structures.register_structure("mineshaft",{
place_on = {"group:sand","group:grass_block","mcl_core:water_source","group:dirt","mcl_core:dirt_with_grass","mcl_core:gravel","group:material_stone"}, place_on = {"group:sand","group:grass_block","mcl_core:water_source","group:dirt","mcl_core:dirt_with_grass","mcl_core:gravel","group:material_stone","mcl_core:snow"},
fill_ratio = 0.00005, fill_ratio = 0.0001,
flags = "place_center_x, place_center_z, force_placement, all_floors", flags = "place_center_x, place_center_z, force_placement, all_floors",
sidelen = 32, sidelen = 32,
--chunk_probability = 300,
y_max = 40, y_max = 40,
y_min = mcl_vars.mg_overworld_min, y_min = mcl_vars.mg_overworld_min,
place_func = function(pos,def,pr,blockseed) place_func = function(pos,def,pr,blockseed)
@ -1130,7 +1129,6 @@ mcl_structures.register_structure("mineshaft",{
--minetest.log("lol") --minetest.log("lol")
InitRandomizer(blockseed) InitRandomizer(blockseed)
create_corridor_system(p, pr) create_corridor_system(p, pr)
spawn_carts()
end) end)
return true return true
end, end,