feat(playlist): add the Doomsday Clock to the public modifier rotation (#4589)

## Description:

Adds the anti-stall **Doomsday Clock** to the public "special" modifier
rotation, so it rolls into public games like the other spice modifiers,
with a lobby badge.

- `MapPlaylist`: new `isDoomsdayClock` ticket in `SPECIAL_MODIFIER_POOL`
(weight 4, ~20% of special games). When rolled, enables `doomsdayClock`
at a speed picked per game (slow/normal/fast/veryfast).
- `PublicGameModifiers` (type + schema): `isDoomsdayClock` flag drives
the badge.
- `getActiveModifiers` + `en.json`: a "Doomsday Clock" badge/label.
- Test covering the badge wiring.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
This commit is contained in:
Zixer1
2026-07-13 11:11:11 -07:00
committed by GitHub
parent a2321eb824
commit 290d6922eb
6 changed files with 59 additions and 2 deletions
+2
View File
@@ -1246,6 +1246,8 @@
"crowded": "Crowded",
"disable_alliances": "Alliances Disabled",
"disable_alliances_label": "Alliances",
"doomsday_clock": "Doomsday Clock",
"doomsday_clock_label": "Doomsday Clock",
"gold_multiplier": "x{amount} Gold Multiplier",
"hard_nations": "Hard Nations",
"nukes_disabled": "Nukes Disabled",