Remove extreme weather conditions from natural weather
parent
95f645dd23
commit
f831f3ab75
|
@ -216,15 +216,13 @@ export function getRandomWeatherType(biome: Biome): WeatherType {
|
||||||
case Biome.FOREST:
|
case Biome.FOREST:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.NONE, weight: 8 },
|
{ weatherType: WeatherType.NONE, weight: 8 },
|
||||||
{ weatherType: WeatherType.RAIN, weight: 5 },
|
{ weatherType: WeatherType.RAIN, weight: 5 }
|
||||||
{ weatherType: WeatherType.HEAVY_RAIN, weight: 2 }
|
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.SEA:
|
case Biome.SEA:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.NONE, weight: 3 },
|
{ weatherType: WeatherType.NONE, weight: 3 },
|
||||||
{ weatherType: WeatherType.RAIN, weight: 7 },
|
{ weatherType: WeatherType.RAIN, weight: 12 }
|
||||||
{ weatherType: WeatherType.HEAVY_RAIN, weight: 5 }
|
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.SWAMP:
|
case Biome.SWAMP:
|
||||||
|
@ -245,13 +243,12 @@ export function getRandomWeatherType(biome: Biome): WeatherType {
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.NONE, weight: 10 },
|
{ weatherType: WeatherType.NONE, weight: 10 },
|
||||||
{ weatherType: WeatherType.RAIN, weight: 5 },
|
{ weatherType: WeatherType.RAIN, weight: 5 },
|
||||||
{ weatherType: WeatherType.FOG, weight: 3 },
|
{ weatherType: WeatherType.FOG, weight: 3 }
|
||||||
{ weatherType: WeatherType.HEAVY_RAIN, weight: 2 }
|
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.SEABED:
|
case Biome.SEABED:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.HEAVY_RAIN, weight: 1 }
|
{ weatherType: WeatherType.RAIN, weight: 1 }
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.MOUNTAIN:
|
case Biome.MOUNTAIN:
|
||||||
|
@ -262,15 +259,14 @@ export function getRandomWeatherType(biome: Biome): WeatherType {
|
||||||
case Biome.BADLANDS:
|
case Biome.BADLANDS:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.NONE, weight: 8 },
|
{ weatherType: WeatherType.NONE, weight: 8 },
|
||||||
{ weatherType: WeatherType.SUNNY, weight: 3 },
|
{ weatherType: WeatherType.SUNNY, weight: 5 },
|
||||||
{ weatherType: WeatherType.SANDSTORM, weight: 2 },
|
{ weatherType: WeatherType.SANDSTORM, weight: 2 }
|
||||||
{ weatherType: WeatherType.HARSH_SUN, weight: 5 }
|
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.DESERT:
|
case Biome.DESERT:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.SANDSTORM, weight: 1 },
|
{ weatherType: WeatherType.SANDSTORM, weight: 2 },
|
||||||
{ weatherType: WeatherType.HARSH_SUN, weight: 1 }
|
{ weatherType: WeatherType.SUNNY, weight: 1 }
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.ICE_CAVE:
|
case Biome.ICE_CAVE:
|
||||||
|
@ -284,7 +280,7 @@ export function getRandomWeatherType(biome: Biome): WeatherType {
|
||||||
];
|
];
|
||||||
case Biome.VOLCANO:
|
case Biome.VOLCANO:
|
||||||
weatherPool = [
|
weatherPool = [
|
||||||
{ weatherType: WeatherType.HARSH_SUN, weight: 1 }
|
{ weatherType: WeatherType.SUNNY, weight: 1 }
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
case Biome.GRAVEYARD:
|
case Biome.GRAVEYARD:
|
||||||
|
|
Loading…
Reference in New Issue