1
0
Fork 0

Increase spawn probability of some structures

new_mapgen_api
kay27 2022-03-14 20:25:02 +04:00
parent 9dadbb2bb4
commit ca37c60511
6 changed files with 13 additions and 13 deletions

View File

@ -3,11 +3,11 @@ local modpath = minetest.get_modpath(modname)
-- Check: v7 apple -21539,27,2404 -- Check: v7 apple -21539,27,2404
local chance_per_chunk = 11 local chance_per_chunk = 32
local noise_multiplier = 1 local noise_multiplier = 0.9
local random_offset = 999 local random_offset = 999
local scanning_ratio = 0.0003 local scanning_ratio = 0.0003
local struct_threshold = chance_per_chunk local struct_threshold = chance_per_chunk - 1
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 = 20 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.0002 local scanning_ratio = 0.0002
local struct_threshold = chance_per_chunk local struct_threshold = chance_per_chunk - 1
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,9 +4,9 @@ local modpath = minetest.get_modpath(modname)
-- Check: v7 apple -27787,31,3115 -- Check: v7 apple -27787,31,3115
local chance_per_chunk = 39 local chance_per_chunk = 39
local noise_multiplier = 1.4 local noise_multiplier = 1.3
local random_offset = 555 local random_offset = 555
local struct_threshold = chance_per_chunk local struct_threshold = chance_per_chunk - 1
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

@ -4,10 +4,10 @@ local modpath = minetest.get_modpath(modname)
-- Check: v7 apple 28530,6,28070 -- Check: v7 apple 28530,6,28070
-- Check: v7 apple -16343,24,5330 -- Check: v7 apple -16343,24,5330
local chance_per_chunk = 30 local chance_per_chunk = 50
local noise_multiplier = 1.3 local noise_multiplier = 1.3
local random_offset = 132 local random_offset = 132
local struct_threshold = chance_per_chunk local struct_threshold = chance_per_chunk - 1
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

@ -4,10 +4,10 @@ local modpath = minetest.get_modpath(modname)
-- Check: v7 apple 27576,14,28368 -- Check: v7 apple 27576,14,28368
-- Check: v7 apple 29570,10,29266 -- Check: v7 apple 29570,10,29266
local chance_per_chunk = 40 local chance_per_chunk = 70
local noise_multiplier = 1 local noise_multiplier = 1
local random_offset = 133 local random_offset = 133
local struct_threshold = chance_per_chunk local struct_threshold = chance_per_chunk - 1
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

@ -5,11 +5,11 @@ local modpath = minetest.get_modpath(modname)
-- Check: v7 apple 2637,6,-12031 -- Check: v7 apple 2637,6,-12031
-- Check: v7 apple 2644,6,-17968 -- Check: v7 apple 2644,6,-17968
local chance_per_chunk = 17 local chance_per_chunk = 34
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 local struct_threshold = chance_per_chunk - 1
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