Merge branch 'treeco/new-map' into 'master'

Changed default map and seed, lowered site counts

See merge request veloren/veloren!992
This commit is contained in:
Joshua Yanovski 2020-05-21 20:46:54 +00:00
commit 2f89b863e0
5 changed files with 7 additions and 7 deletions

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

Binary file not shown.

View File

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

View File

@ -21,7 +21,7 @@ use rand_chacha::ChaChaRng;
use std::{fmt, hash::Hash, ops::Range};
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 {
@ -66,7 +66,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 {

View File

@ -229,7 +229,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]