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:
1 parent
450e55d693
commit
b29e312e6b
25 files changed
+136
-55
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user