Give names to site2 sites

This commit is contained in:
InfRandomness 2022-01-26 11:42:35 +00:00 committed by Joshua Barretto
parent 0ebff57a59
commit 52c92ba0d4
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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()
};