mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'master' of gitlab.com:veloren/veloren into sharp/small-fixes
This commit is contained in:
commit
eaea83fe6a
BIN
assets/world/map/veloren_0_5_0_0.bin
(Stored with Git LFS)
BIN
assets/world/map/veloren_0_5_0_0.bin
(Stored with Git LFS)
Binary file not shown.
BIN
assets/world/map/veloren_0_6_0_0.bin
(Stored with Git LFS)
Normal file
BIN
assets/world/map/veloren_0_6_0_0.bin
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -3,7 +3,7 @@ use serde_derive::{Deserialize, Serialize};
|
||||
use std::{fs, io::prelude::*, net::SocketAddr, path::PathBuf};
|
||||
use world::sim::FileOpts;
|
||||
|
||||
const DEFAULT_WORLD_SEED: u32 = 5284;
|
||||
const DEFAULT_WORLD_SEED: u32 = 59686;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[serde(default)]
|
||||
|
@ -28,7 +28,7 @@ use rand::prelude::*;
|
||||
use rand_chacha::ChaChaRng;
|
||||
use vek::*;
|
||||
|
||||
const INITIAL_CIV_COUNT: usize = 64;
|
||||
const INITIAL_CIV_COUNT: usize = (crate::sim::WORLD_SIZE.x * crate::sim::WORLD_SIZE.y * 3) / 65536; //48 at default scale
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Civs {
|
||||
@ -81,7 +81,7 @@ impl Civs {
|
||||
}
|
||||
}
|
||||
|
||||
for _ in 0..INITIAL_CIV_COUNT * 4 {
|
||||
for _ in 0..INITIAL_CIV_COUNT * 3 {
|
||||
attempt(5, || {
|
||||
let loc = find_site_loc(&mut ctx, None)?;
|
||||
this.establish_site(&mut ctx.reseed(), loc, |place| Site {
|
||||
|
@ -232,7 +232,7 @@ pub type ModernMap = WorldMap_0_5_0;
|
||||
/// TODO: Consider using some naming convention to automatically change this
|
||||
/// with changing versions, or at least keep it in a constant somewhere that's
|
||||
/// easy to change.
|
||||
pub const DEFAULT_WORLD_MAP: &'static str = "world.map.veloren_0_5_0_0";
|
||||
pub const DEFAULT_WORLD_MAP: &'static str = "world.map.veloren_0_6_0_0";
|
||||
|
||||
impl WorldFileLegacy {
|
||||
#[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user