Sounds for weather, rogues and groves: thunder, rain and wind ambience, coin theft, snares, sermons, spores

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 13:37:28 +01:00
1 parent 340014c582
commit bc1f89b4a7
6 files changed
+103 -4

No files matched your search

+4
View File
@@ -175,6 +175,10 @@ impl Game {
self.weather.flash = self.time;
self.fx(1, x, y, 0.0, 0.0, 0.5, 0xffffeeaa);
self.sfx(Sfx::Lightning, x, y);
// the thunder rolls over the whole land
if self.events.len() < 64 {
self.events.push(SfxEvent { sfx: Sfx::Thunder, pos: None });
}
}
}