style(simulation): cargo fmt
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -399,7 +399,6 @@ fn setup_proof_room(
|
||||
) {
|
||||
use settled_reach_server::knowledge::registry::EntityRegistry;
|
||||
use settled_reach_server::knowledge::KnowledgeGraph;
|
||||
use settled_reach_server::simulation::rng::EntityRng;
|
||||
use settled_reach_server::npc::relationships::{RelationshipEdge, RelationshipGraph};
|
||||
use settled_reach_server::npc::{
|
||||
Contentment, DailyRoutine, Npc, RelationshipKind, RoutineEntry, ToleranceThreshold, Want,
|
||||
@@ -416,6 +415,7 @@ fn setup_proof_room(
|
||||
PlayerCharacter, TilePosition, WalkabilityMap,
|
||||
};
|
||||
use settled_reach_server::simulation::path_follow::MovementSpeed;
|
||||
use settled_reach_server::simulation::rng::EntityRng;
|
||||
use settled_reach_server::simulation::stance::{MovementProfile, PlayerMoveCooldown};
|
||||
use settled_reach_server::simulation::time::DayPhase;
|
||||
|
||||
|
||||
@@ -668,7 +668,9 @@ pub fn process_contradiction_monologue(
|
||||
return;
|
||||
};
|
||||
|
||||
let template_idx = entity_rng.rng.random_range(0..CONTRADICTION_TEMPLATE_LINES.len());
|
||||
let template_idx = entity_rng
|
||||
.rng
|
||||
.random_range(0..CONTRADICTION_TEMPLATE_LINES.len());
|
||||
let text = CONTRADICTION_TEMPLATE_LINES[template_idx]
|
||||
.replace("{source}", &event.source_display_name)
|
||||
.replace("{subject}", &event.subject_display_name);
|
||||
|
||||
@@ -55,8 +55,10 @@ impl ChunkGenWorker {
|
||||
}
|
||||
|
||||
pub fn submit(&self, req: ChunkGenRequest, strategy: DeliveryStrategy) {
|
||||
self.pool
|
||||
.submit(WorkRequest { payload: req, strategy });
|
||||
self.pool.submit(WorkRequest {
|
||||
payload: req,
|
||||
strategy,
|
||||
});
|
||||
}
|
||||
|
||||
pub fn drain(&self) -> Vec<(ChunkGenResult, DeliveryStrategy)> {
|
||||
|
||||
Reference in New Issue
Block a user