Save biome size in separate variable
parent
acfdea349f
commit
67f780b2b3
|
@ -2,11 +2,14 @@
|
|||
-- Constants and magic numbers
|
||||
local mapgen_buffer = 16
|
||||
|
||||
-- Cave biome range
|
||||
local biome_spread_range = 50
|
||||
|
||||
-- Noise params for heat_point
|
||||
local heat_noise_params =
|
||||
{ offset = 50
|
||||
, scale = 50
|
||||
, spread = { x = 200, y = 200, z = 200 }
|
||||
, spread = { x = biome_spread_range, y = biome_spread_range, z = biome_spread_range }
|
||||
, seed = 320523
|
||||
, octaves = 2
|
||||
, persistence = 0.1
|
||||
|
@ -18,7 +21,7 @@ local heat_noise_params =
|
|||
local humidity_noise_params =
|
||||
{ offset = 50
|
||||
, scale = 50
|
||||
, spread = { x = 200, y = 200, z = 200 }
|
||||
, spread = { x = biome_spread_range, y = biome_spread_range, z = biome_spread_range }
|
||||
, seed = 9923473
|
||||
, octaves = 2
|
||||
, persistence = 0.1
|
||||
|
|
Loading…
Reference in New Issue