style(simulation): cargo fmt generate_corporations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -742,8 +742,7 @@ fn fill_coverage_gaps(
|
||||
continue;
|
||||
}
|
||||
|
||||
let (loc_id, sys_id) =
|
||||
&candidates[rng.random_range(0..candidates.len())];
|
||||
let (loc_id, sys_id) = &candidates[rng.random_range(0..candidates.len())];
|
||||
|
||||
// Generate exactly enough to reach the 3-corp minimum
|
||||
let current_count = report.commodity_coverage.get(com_id).copied().unwrap_or(0);
|
||||
@@ -753,10 +752,7 @@ fn fill_coverage_gaps(
|
||||
generated.entry(cid).or_insert_with(|| GeneratedCorp {
|
||||
proper_name: n,
|
||||
lore_archetype: arch_id.to_string(),
|
||||
behavioral_archetype: pick_behavioral_archetype(
|
||||
rng,
|
||||
&lore.behavioral_affinity,
|
||||
),
|
||||
behavioral_archetype: pick_behavioral_archetype(rng, &lore.behavioral_affinity),
|
||||
location_id: loc_id.clone(),
|
||||
location_type: "body".to_string(),
|
||||
system_id: sys_id.clone(),
|
||||
|
||||
Reference in New Issue
Block a user