mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
48430c8feb
* add: seasonsl splash messages logic + scaffolding * refactor: settin up and displaying splash messages. They are now stored with their i18next keys and only get translated as soon as they are displayed. This also allows for better display of the `battlesWon` parameter which now supports better number formatting and the count is an interpolation * fix: updateTitleStats not checking the namespace of battlesWon * add tests for splash_messages * test: always use UTC time * fix: time-pattern to MM-DD * fix splash_messages test * add: const to control usage of seasonal splash messages * fix tests (splashj) * Update src/locales/ja/splash-messages.json Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com> * Update src/locales/es/splash-messages.json Add missing `number` format for battlesWon message --------- Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
6 lines
213 B
TypeScript
6 lines
213 B
TypeScript
/** The maximum size of the player's party */
|
|
export const PLAYER_PARTY_MAX_SIZE: number = 6;
|
|
|
|
/** Whether to use seasonal splash messages in general */
|
|
export const USE_SEASONAL_SPLASH_MESSAGES: boolean = false;
|