Fix chances of structures

This commit is contained in:
kay27 2022-02-17 02:49:52 +04:00
parent 2008239a52
commit 86dc2e0495
9 changed files with 14 additions and 15 deletions

View File

@ -5,7 +5,7 @@ local chance_per_chunk = 11
local noise_multiplier = 1 local noise_multiplier = 1
local random_offset = 999 local random_offset = 999
local scanning_ratio = 0.00003 local scanning_ratio = 0.00003
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -1,11 +1,11 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname) local modpath = minetest.get_modpath(modname)
local chance_per_chunk = 60 local chance_per_chunk = 40
local noise_multiplier = 1 local noise_multiplier = 1
local random_offset = 999 local random_offset = 999
local scanning_ratio = 0.00001 local scanning_ratio = 0.00001
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -4,7 +4,7 @@ local modpath = minetest.get_modpath(modname)
local chance_per_block = mcl_structures.from_16x16_to_block_inverted_chance(64) local chance_per_block = mcl_structures.from_16x16_to_block_inverted_chance(64)
local noise_multiplier = 2 local noise_multiplier = 2
local random_offset = 5 local random_offset = 5
local struct_threshold = chance_per_block - 1 local struct_threshold = chance_per_block
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level
local minetest_find_nodes_in_area = minetest.find_nodes_in_area local minetest_find_nodes_in_area = minetest.find_nodes_in_area
local min_y = mcl_worlds.layer_to_y(40) local min_y = mcl_worlds.layer_to_y(40)

View File

@ -3,7 +3,7 @@ local modpath = minetest.get_modpath(modname)
local chance_per_chunk = 3 local chance_per_chunk = 3
local random_offset = 1264 local random_offset = 1264
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local noise_params = { local noise_params = {
offset = 0, offset = 0,
scale = 1, scale = 1,

View File

@ -1,11 +1,10 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname) local modpath = minetest.get_modpath(modname)
-- local chance_per_chunk = mcl_structures.from_16x16_to_chunk_inverted_chance(4400) local chance_per_chunk = 39
local chance_per_chunk = 100
local noise_multiplier = 1.4 local noise_multiplier = 1.4
local random_offset = 555 local random_offset = 555
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local scanning_ratio = 0.0003 local scanning_ratio = 0.0003
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -1,10 +1,10 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname) local modpath = minetest.get_modpath(modname)
local chance_per_chunk = 9 local chance_per_chunk = 30
local noise_multiplier = 1.3 local noise_multiplier = 1.3
local random_offset = 132 local random_offset = 132
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local scanning_ratio = 0.0003 local scanning_ratio = 0.0003
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -1,10 +1,10 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname) local modpath = minetest.get_modpath(modname)
local chance_per_chunk = 15 local chance_per_chunk = 40
local noise_multiplier = 1 local noise_multiplier = 1
local random_offset = 133 local random_offset = 133
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local scanning_ratio = 0.00021 local scanning_ratio = 0.00021
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -1,11 +1,11 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname) local modpath = minetest.get_modpath(modname)
local chance_per_chunk = 3 local chance_per_chunk = 17
local noise_multiplier = -0.9 local noise_multiplier = -0.9
local random_offset = 8 local random_offset = 8
local scanning_ratio = 0.01 local scanning_ratio = 0.01
local struct_threshold = chance_per_chunk - 1 local struct_threshold = chance_per_chunk
local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level local mcl_structures_get_perlin_noise_level = mcl_structures.get_perlin_noise_level

View File

@ -1,9 +1,9 @@
mcl_villages = {} mcl_villages = {}
local chance_per_chunk = 100
local chunk_offset_top = 16 local chunk_offset_top = 16
local chunk_offset_bottom = 3 local chunk_offset_bottom = 3
local max_height_difference = 12 local max_height_difference = 12
local minp_min = -64 local minp_min = -64
local chance_per_chunk = 1
local noise_multiplier = 1 local noise_multiplier = 1
local random_offset = 1 local random_offset = 1
local random_multiply = 19 local random_multiply = 19