Add village defense campaign and breakthrough reports
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -605,6 +605,14 @@ impl Sim {
|
||||
out.sound("minecraft:event.raid.horn", plan.centre, 64.0, 1.0);
|
||||
}
|
||||
|
||||
/// Start a new scenario with a fresh enemy picture while preserving the player's layout.
|
||||
pub fn reset_raid_intelligence(&mut self) {
|
||||
self.intel = ew::Intel::default();
|
||||
self.recon = recon::Recon::default();
|
||||
self.bearing = ew::BearingReport::default();
|
||||
self.refresh = None;
|
||||
}
|
||||
|
||||
/// Whether a raid is still being planned.
|
||||
pub fn planning(&self) -> bool {
|
||||
self.plan.is_some()
|
||||
@@ -993,6 +1001,7 @@ impl Sim {
|
||||
out.particles("minecraft:large_smoke", d.pos - dir * 2.5, 0.5, DVec3::new(0.0, 0.05, 0.0), 0.02, 4);
|
||||
}
|
||||
}
|
||||
self.breakthroughs.begin(d.id, true);
|
||||
self.drones.push(d);
|
||||
self.launched += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user