Fourth master: dwarves get their own side so the yellow AI works; yellow colours and texts; AI cores use the player's throne and heart in their colour

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 09:01:57 +01:00
1 parent 450e55d693
commit b29e312e6b
25 files changed
+136 -55

No files matched your search

+5 -1
View File
@@ -296,7 +296,11 @@ impl Game {
self.rivals[k].attacking = true;
self.rivals[k].army0 = army;
if t == self.local_side {
let key = if side == 2 { "msg.rival1_attack" } else { "msg.rival2_attack" };
let key = match side {
2 => "msg.rival1_attack",
3 => "msg.rival2_attack",
_ => "msg.rival3_attack",
};
let n = self.creature_count().to_string();
self.tell_local(key, vec![n], Some(Sfx::WaveAlarm));
}