Make jungle temple placement deterministic

This commit is contained in:
cora 2024-08-04 08:07:12 +02:00 committed by ryvnf
parent bc7ea949b9
commit d060653c18
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -12,7 +12,6 @@ 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 = 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,