mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Give names to site2 sites
This commit is contained in:
parent
0ebff57a59
commit
52c92ba0d4
@ -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
|
||||
|
||||
|
@ -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()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user