diff --git a/CHANGELOG.md b/CHANGELOG.md index c40cc1d9f2..9c36389662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Keybinding customization to set waypoint on Map - Added arthropods - A 'point light glow' effect, making lanterns and other point lights more visually pronounced +- Generate random name for site2 sites ### Changed diff --git a/world/src/site2/mod.rs b/world/src/site2/mod.rs index de2c8beba3..ae1be53dc9 100644 --- a/world/src/site2/mod.rs +++ b/world/src/site2/mod.rs @@ -9,7 +9,7 @@ pub use self::{ plot::{Plot, PlotKind}, }; use crate::{ - site::SpawnRules, + site::{namegen::NameGen, SpawnRules}, util::{attempt, DHashSet, Grid, CARDINALS, SQUARE_4, SQUARE_9}, Canvas, Land, }; @@ -353,7 +353,7 @@ impl Site { let mut site = Site { origin, - name: "Town".into(), + name: NameGen::location(&mut rng).generate(), ..Site::default() };