mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-22 02:27:38 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user