Merge branch 'enable_custom_names_for_lakes' into 'master'

enable custom naming bricks for lake biomes

See merge request veloren/veloren!3210
This commit is contained in:
Joshua Barretto 2022-02-20 19:47:23 +00:00
commit 4ef1c92858

View File

@ -524,11 +524,11 @@ impl Civs {
common::terrain::BiomeKind::Lake if biome.1.len() as u32 > 200 => Some(format!(
"{} {}",
["Lake", "Loch"].choose(&mut ctx.rng).unwrap(),
NameGen::location(&mut ctx.rng).generate()
NameGen::location(&mut ctx.rng).generate_lake_custom()
)),
common::terrain::BiomeKind::Lake if biome.1.len() as u32 > 10 => Some(format!(
"{} {}",
NameGen::location(&mut ctx.rng).generate(),
NameGen::location(&mut ctx.rng).generate_lake_custom(),
["Pool", "Well", "Pond"].choose(&mut ctx.rng).unwrap()
)),
common::terrain::BiomeKind::Grassland if biome.1.len() as u32 > 750 => {