2020-11-23 15:39:03 +00:00
|
|
|
#![allow(dead_code)] // TODO: Remove this when rtsim is fleshed out
|
|
|
|
|
|
|
|
mod chunks;
|
2022-03-07 23:03:18 +00:00
|
|
|
pub(crate) mod entity;
|
2020-11-11 11:42:22 +00:00
|
|
|
mod load_chunks;
|
2020-11-11 23:59:09 +00:00
|
|
|
mod tick;
|
2020-11-23 15:39:03 +00:00
|
|
|
mod unload_chunks;
|
2020-11-10 15:27:52 +00:00
|
|
|
|
2022-03-07 23:03:18 +00:00
|
|
|
use crate::rtsim::entity::{Personality, Travel};
|
|
|
|
|
2021-03-16 01:30:35 +00:00
|
|
|
use self::chunks::Chunks;
|
2020-11-11 23:59:09 +00:00
|
|
|
use common::{
|
2020-11-23 15:39:03 +00:00
|
|
|
comp,
|
2021-03-16 01:30:35 +00:00
|
|
|
rtsim::{Memory, RtSimController, RtSimEntity, RtSimId},
|
2020-11-11 23:59:09 +00:00
|
|
|
terrain::TerrainChunk,
|
|
|
|
vol::RectRasterableVol,
|
|
|
|
};
|
2021-03-08 22:40:02 +00:00
|
|
|
use common_ecs::{dispatch, System};
|
2021-04-06 15:47:03 +00:00
|
|
|
use common_state::State;
|
2020-11-11 23:59:09 +00:00
|
|
|
use rand::prelude::*;
|
2020-11-23 15:39:03 +00:00
|
|
|
use slab::Slab;
|
|
|
|
use specs::{DispatcherBuilder, WorldExt};
|
|
|
|
use vek::*;
|
2020-11-11 11:42:22 +00:00
|
|
|
|
2021-09-04 04:05:48 +00:00
|
|
|
pub use self::entity::{Brain, Entity, RtSimEntityKind};
|
2021-03-16 01:30:35 +00:00
|
|
|
|
2020-11-11 11:42:22 +00:00
|
|
|
pub struct RtSim {
|
2020-11-12 21:31:28 +00:00
|
|
|
tick: u64,
|
|
|
|
chunks: Chunks,
|
2020-11-11 23:59:09 +00:00
|
|
|
entities: Slab<Entity>,
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl RtSim {
|
|
|
|
pub fn new(world_chunk_size: Vec2<u32>) -> Self {
|
|
|
|
Self {
|
2020-11-12 21:31:28 +00:00
|
|
|
tick: 0,
|
|
|
|
chunks: Chunks::new(world_chunk_size),
|
2020-11-11 23:59:09 +00:00
|
|
|
entities: Slab::new(),
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn hook_load_chunk(&mut self, key: Vec2<i32>) {
|
2020-11-12 21:31:28 +00:00
|
|
|
if let Some(chunk) = self.chunks.chunk_mut(key) {
|
2020-11-11 11:42:22 +00:00
|
|
|
if !chunk.is_loaded {
|
|
|
|
chunk.is_loaded = true;
|
2020-11-12 21:31:28 +00:00
|
|
|
self.chunks.chunks_to_load.push(key);
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn hook_unload_chunk(&mut self, key: Vec2<i32>) {
|
2020-11-12 21:31:28 +00:00
|
|
|
if let Some(chunk) = self.chunks.chunk_mut(key) {
|
2020-11-11 11:42:22 +00:00
|
|
|
if chunk.is_loaded {
|
|
|
|
chunk.is_loaded = false;
|
2020-11-12 21:31:28 +00:00
|
|
|
self.chunks.chunks_to_unload.push(key);
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-11 23:59:09 +00:00
|
|
|
pub fn assimilate_entity(&mut self, entity: RtSimId) {
|
2020-11-14 01:12:47 +00:00
|
|
|
// tracing::info!("Assimilated rtsim entity {}", entity);
|
2020-11-11 23:59:09 +00:00
|
|
|
self.entities.get_mut(entity).map(|e| e.is_loaded = false);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn reify_entity(&mut self, entity: RtSimId) {
|
2020-11-14 01:12:47 +00:00
|
|
|
// tracing::info!("Reified rtsim entity {}", entity);
|
2020-11-11 23:59:09 +00:00
|
|
|
self.entities.get_mut(entity).map(|e| e.is_loaded = true);
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
|
2020-11-11 23:59:09 +00:00
|
|
|
pub fn update_entity(&mut self, entity: RtSimId, pos: Vec3<f32>) {
|
|
|
|
self.entities.get_mut(entity).map(|e| e.pos = pos);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn destroy_entity(&mut self, entity: RtSimId) {
|
2020-11-14 01:12:47 +00:00
|
|
|
// tracing::info!("Destroyed rtsim entity {}", entity);
|
2020-11-11 23:59:09 +00:00
|
|
|
self.entities.remove(entity);
|
|
|
|
}
|
2021-03-16 01:30:35 +00:00
|
|
|
|
|
|
|
pub fn get_entity(&self, entity: RtSimId) -> Option<&Entity> { self.entities.get(entity) }
|
|
|
|
|
|
|
|
pub fn insert_entity_memory(&mut self, entity: RtSimId, memory: Memory) {
|
|
|
|
self.entities
|
|
|
|
.get_mut(entity)
|
|
|
|
.map(|entity| entity.brain.add_memory(memory));
|
|
|
|
}
|
2021-03-29 14:47:42 +00:00
|
|
|
|
2021-07-14 15:26:29 +00:00
|
|
|
pub fn forget_entity_enemy(&mut self, entity: RtSimId, name: &str) {
|
|
|
|
if let Some(entity) = self.entities.get_mut(entity) {
|
|
|
|
entity.brain.forget_enemy(name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-29 14:47:42 +00:00
|
|
|
pub fn set_entity_mood(&mut self, entity: RtSimId, memory: Memory) {
|
|
|
|
self.entities
|
|
|
|
.get_mut(entity)
|
|
|
|
.map(|entity| entity.brain.set_mood(memory));
|
|
|
|
}
|
2020-11-11 23:59:09 +00:00
|
|
|
}
|
|
|
|
|
2020-11-11 11:42:22 +00:00
|
|
|
pub fn add_server_systems(dispatch_builder: &mut DispatcherBuilder) {
|
2021-03-04 14:00:16 +00:00
|
|
|
dispatch::<unload_chunks::Sys>(dispatch_builder, &[]);
|
|
|
|
dispatch::<load_chunks::Sys>(dispatch_builder, &[&unload_chunks::Sys::sys_name()]);
|
|
|
|
dispatch::<tick::Sys>(dispatch_builder, &[
|
|
|
|
&load_chunks::Sys::sys_name(),
|
|
|
|
&unload_chunks::Sys::sys_name(),
|
|
|
|
]);
|
2020-11-11 11:42:22 +00:00
|
|
|
}
|
|
|
|
|
2021-09-04 04:05:48 +00:00
|
|
|
pub fn init(
|
|
|
|
state: &mut State,
|
|
|
|
#[cfg(feature = "worldgen")] world: &world::World,
|
|
|
|
#[cfg(feature = "worldgen")] index: world::IndexRef,
|
|
|
|
) {
|
2020-11-25 04:55:44 +00:00
|
|
|
#[cfg(feature = "worldgen")]
|
2020-11-11 23:59:09 +00:00
|
|
|
let mut rtsim = RtSim::new(world.sim().get_size());
|
2020-11-25 04:55:44 +00:00
|
|
|
#[cfg(not(feature = "worldgen"))]
|
|
|
|
let mut rtsim = RtSim::new(Vec2::new(40, 40));
|
2020-11-11 23:59:09 +00:00
|
|
|
|
2021-08-23 21:49:32 +00:00
|
|
|
// TODO: Determine number of rtsim entities based on things like initial site
|
|
|
|
// populations rather than world size
|
2021-04-15 18:07:46 +00:00
|
|
|
#[cfg(feature = "worldgen")]
|
2021-09-04 03:34:24 +00:00
|
|
|
{
|
|
|
|
for _ in 0..world.sim().get_size().product() / 400 {
|
|
|
|
let pos = rtsim
|
|
|
|
.chunks
|
|
|
|
.size()
|
|
|
|
.map2(TerrainChunk::RECT_SIZE, |sz, chunk_sz| {
|
|
|
|
thread_rng().gen_range(0..sz * chunk_sz) as i32
|
|
|
|
});
|
|
|
|
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: Vec3::from(pos.map(|e| e as f32)),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
2022-02-05 11:30:26 +00:00
|
|
|
kind: RtSimEntityKind::Wanderer,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain {
|
|
|
|
begin: None,
|
|
|
|
tgt: None,
|
|
|
|
route: Travel::Lost,
|
|
|
|
last_visited: None,
|
|
|
|
memories: Vec::new(),
|
|
|
|
personality: Personality::random(&mut thread_rng()),
|
|
|
|
},
|
2020-11-23 15:39:03 +00:00
|
|
|
});
|
2021-09-04 03:34:24 +00:00
|
|
|
}
|
2021-09-04 04:34:30 +00:00
|
|
|
for (site_id, site) in world
|
2021-09-04 04:05:48 +00:00
|
|
|
.civs()
|
|
|
|
.sites
|
|
|
|
.iter()
|
2021-09-04 04:34:30 +00:00
|
|
|
.filter_map(|(site_id, site)| site.site_tmp.map(|id| (site_id, &index.sites[id])))
|
2021-09-04 04:05:48 +00:00
|
|
|
{
|
2021-09-04 03:34:24 +00:00
|
|
|
use world::site::SiteKind;
|
|
|
|
match &site.kind {
|
2021-09-04 16:25:04 +00:00
|
|
|
#[allow(clippy::single_match)]
|
2021-09-04 04:05:48 +00:00
|
|
|
SiteKind::Dungeon(dungeon) => match dungeon.dungeon_difficulty() {
|
|
|
|
Some(5) => {
|
|
|
|
let pos = site.get_origin();
|
2021-09-04 04:34:30 +00:00
|
|
|
if let Some(nearest_village) = world
|
|
|
|
.civs()
|
|
|
|
.sites
|
|
|
|
.iter()
|
2023-04-01 16:51:05 +00:00
|
|
|
.filter(|(_, site)| site.is_settlement())
|
2021-09-04 04:34:30 +00:00
|
|
|
.min_by_key(|(_, site)| {
|
|
|
|
let wpos = site.center * TerrainChunk::RECT_SIZE.map(|e| e as i32);
|
|
|
|
wpos.map(|e| e as f32)
|
|
|
|
.distance_squared(pos.map(|x| x as f32))
|
|
|
|
as u32
|
|
|
|
})
|
|
|
|
.map(|(id, _)| id)
|
|
|
|
{
|
|
|
|
for _ in 0..25 {
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: Vec3::from(pos.map(|e| e as f32)),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Cultist,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain::raid(site_id, nearest_village, &mut thread_rng()),
|
2021-09-04 04:34:30 +00:00
|
|
|
});
|
|
|
|
}
|
2021-09-04 04:05:48 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
_ => {},
|
2021-09-04 03:34:24 +00:00
|
|
|
},
|
2021-09-18 15:24:56 +00:00
|
|
|
SiteKind::Refactor(site2) => {
|
2022-03-26 00:29:52 +00:00
|
|
|
// villagers
|
2022-06-01 21:41:46 +00:00
|
|
|
for _ in 0..site.economy.population().min(site2.plots().len() as f32) as usize {
|
2021-09-18 15:24:56 +00:00
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plots()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |plot| {
|
|
|
|
site2.tile_center_wpos(plot.root_tile())
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Villager,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain::villager(site_id, &mut thread_rng()),
|
2021-09-18 15:24:56 +00:00
|
|
|
});
|
|
|
|
}
|
2021-09-18 23:09:25 +00:00
|
|
|
|
2022-03-26 00:29:52 +00:00
|
|
|
// guards
|
2022-11-28 11:24:27 +00:00
|
|
|
for _ in 0..site2.plazas().len() {
|
2022-03-26 00:29:52 +00:00
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plazas()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |p| {
|
|
|
|
site2.tile_center_wpos(site2.plot(p).root_tile())
|
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::TownGuard,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain::town_guard(site_id, &mut thread_rng()),
|
2022-03-26 00:29:52 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// merchants
|
2022-11-28 11:24:27 +00:00
|
|
|
for _ in 0..site2.plazas().len() {
|
2021-09-18 23:09:25 +00:00
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plazas()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |p| {
|
|
|
|
site2.tile_center_wpos(site2.plot(p).root_tile())
|
2022-03-29 12:52:08 +00:00
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Merchant,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain::merchant(site_id, &mut thread_rng()),
|
2022-03-29 12:52:08 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
|
|
|
SiteKind::CliffTown(site2) => {
|
|
|
|
for _ in 0..(site2.plazas().len() as f32 * 1.5) as usize {
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plazas()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |p| {
|
|
|
|
site2.tile_center_wpos(site2.plot(p).root_tile())
|
2022-08-08 09:58:18 +00:00
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Merchant,
|
|
|
|
brain: Brain::merchant(site_id, &mut thread_rng()),
|
|
|
|
});
|
2022-11-13 19:14:26 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
SiteKind::SavannahPit(site2) => {
|
|
|
|
for _ in 0..4 {
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plots()
|
|
|
|
.filter(|plot| {
|
|
|
|
matches!(plot.kind(), world::site2::PlotKind::SavannahPit(_))
|
|
|
|
})
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |plot| {
|
|
|
|
site2.tile_center_wpos(
|
|
|
|
plot.root_tile()
|
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-5..5),
|
|
|
|
thread_rng().gen_range(-5..5),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Merchant,
|
|
|
|
brain: Brain::merchant(site_id, &mut thread_rng()),
|
|
|
|
});
|
2022-08-08 09:58:18 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
SiteKind::DesertCity(site2) => {
|
|
|
|
// villagers
|
|
|
|
for _ in 0..(site2.plazas().len() as f32 * 1.5) as usize {
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plots()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |plot| {
|
|
|
|
site2.tile_center_wpos(plot.root_tile())
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Villager,
|
|
|
|
brain: Brain::villager(site_id, &mut thread_rng()),
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// guards
|
2022-11-28 11:24:27 +00:00
|
|
|
for _ in 0..site2.plazas().len() {
|
2022-08-08 09:58:18 +00:00
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plazas()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |p| {
|
|
|
|
site2.tile_center_wpos(site2.plot(p).root_tile())
|
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::TownGuard,
|
|
|
|
brain: Brain::town_guard(site_id, &mut thread_rng()),
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// merchants
|
2022-11-28 11:24:27 +00:00
|
|
|
for _ in 0..site2.plazas().len() {
|
2022-08-08 09:58:18 +00:00
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plazas()
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |p| {
|
|
|
|
site2.tile_center_wpos(site2.plot(p).root_tile())
|
2021-09-18 23:09:25 +00:00
|
|
|
+ Vec2::new(
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
thread_rng().gen_range(-8..9),
|
|
|
|
)
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Merchant,
|
2022-03-07 23:03:18 +00:00
|
|
|
brain: Brain::merchant(site_id, &mut thread_rng()),
|
2021-09-18 23:09:25 +00:00
|
|
|
});
|
|
|
|
}
|
2021-09-18 15:24:56 +00:00
|
|
|
},
|
2022-09-22 01:04:01 +00:00
|
|
|
SiteKind::ChapelSite(site2) => {
|
|
|
|
// prisoners
|
|
|
|
for _ in 0..10 {
|
|
|
|
rtsim.entities.insert(Entity {
|
|
|
|
is_loaded: false,
|
|
|
|
pos: site2
|
|
|
|
.plots()
|
|
|
|
.filter(|plot| {
|
|
|
|
matches!(plot.kind(), world::site2::PlotKind::SeaChapel(_))
|
|
|
|
})
|
|
|
|
.choose(&mut thread_rng())
|
|
|
|
.map_or(site.get_origin(), |plot| {
|
|
|
|
site2.tile_center_wpos(Vec2::new(
|
|
|
|
plot.root_tile().x,
|
|
|
|
plot.root_tile().y + 4,
|
|
|
|
))
|
|
|
|
})
|
|
|
|
.with_z(0)
|
|
|
|
.map(|e| e as f32),
|
|
|
|
seed: thread_rng().gen(),
|
|
|
|
controller: RtSimController::default(),
|
|
|
|
last_time_ticked: 0.0,
|
|
|
|
kind: RtSimEntityKind::Prisoner,
|
|
|
|
brain: Brain::villager(site_id, &mut thread_rng()),
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
2021-09-04 03:34:24 +00:00
|
|
|
_ => {},
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 23:59:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
state.ecs_mut().insert(rtsim);
|
2020-11-11 11:42:22 +00:00
|
|
|
state.ecs_mut().register::<RtSimEntity>();
|
|
|
|
tracing::info!("Initiated real-time world simulation");
|
2020-11-10 15:27:52 +00:00
|
|
|
}
|