mapGeneration: rename tarion -> videre

This commit is contained in:
Van
2026-09-05 21:30:30 +03:00
parent bf4966afe4
commit 5a138cdf68

View File

@@ -33,7 +33,7 @@ local function calcHumidity(layer, value, height)
return value return value
end end
mapGenerator:registerLayer('midgard', { mapGenerator:registerLayer('videre', {
minY = -256, minY = -256,
maxY = 256, maxY = 256,
minTemp = -100, minTemp = -100,
@@ -45,8 +45,8 @@ mapGenerator:registerLayer('midgard', {
biomesVerticalScattering = 2, biomesVerticalScattering = 2,
biomesGorizontalScattering = 0, biomesGorizontalScattering = 0,
triangulationLandscapeFile = 'origia.json', triangulationLandscapeFile = 'origia.json',
triangulationTempFile = 'origia.json', triangulationTempFile = 'origia.json',
triangulationHumidityFile = 'origia.json', triangulationHumidityFile = 'origia.json',
landscapeMapScale = 100, landscapeMapScale = 100,
tempMapScale = 100, tempMapScale = 100,
humidityMapScale = 100, humidityMapScale = 100,
@@ -357,16 +357,16 @@ local icyNorthernMMountains = {
local v = vector.new local v = vector.new
for _, c in ipairs({'landscape', 'temp', 'humidity'}) do for _, c in ipairs({'landscape', 'temp', 'humidity'}) do
mapGenerator:registerLayerNoiseColor('midgard', c, '#5792ce', warmOcean[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#5792ce', warmOcean[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#4978c6', temperateOcean[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#4978c6', temperateOcean[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#4763b1', coldOcean[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#4763b1', coldOcean[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#a0ab72', tropicalSoutheast[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#a0ab72', tropicalSoutheast[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#dcd492', steppeSouthwest[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#dcd492', steppeSouthwest[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#a3c27c', temperateCentralZone[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#a3c27c', temperateCentralZone[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#999d8f', lowMountains[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#999d8f', lowMountains[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#569574', subarcticNorth[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#569574', subarcticNorth[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#76c2b6', arcticNorth[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#76c2b6', arcticNorth[c])
mapGenerator:registerLayerNoiseColor('midgard', c, '#bac0ad', icyNorthernMMountains[c]) mapGenerator:registerLayerNoiseColor('videre', c, '#bac0ad', icyNorthernMMountains[c])
end end
-- --- Biomes --- -- --- Biomes ---
@@ -429,7 +429,7 @@ local function meadowPostProcessing(biome, mapGenerator, factors, data, data2, i
end end
end end
mapGenerator:registerBiome('midgard', 'green_meadow', { mapGenerator:registerBiome('videre', 'green_meadow', {
tempPoint = 80, tempPoint = 80,
humidityPoint = 80, humidityPoint = 80,
minY = -50, minY = -50,
@@ -464,7 +464,7 @@ mapGenerator:registerTree('test_tree', {
path = core.get_modpath(core.get_current_modname())..'/schems/test_tree.mts', path = core.get_modpath(core.get_current_modname())..'/schems/test_tree.mts',
}) })
mapGenerator:registerCavern('midgard', 'test_cavern', { mapGenerator:registerCavern('videre', 'test_cavern', {
type = 'worm', type = 'worm',
regionSize = 80, regionSize = 80,
lenght = 100, lenght = 100,