mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-25 02:11:05 +00:00
18 lines
502 B
TypeScript
18 lines
502 B
TypeScript
import { GameMode, gameModeNames } from "../game-mode";
|
|
|
|
export enum Unlockables {
|
|
ENDLESS_MODE,
|
|
MINI_BLACK_HOLE,
|
|
SPLICED_ENDLESS_MODE
|
|
}
|
|
|
|
export function getUnlockableName(unlockable: Unlockables) {
|
|
switch (unlockable) {
|
|
case Unlockables.ENDLESS_MODE:
|
|
return `${gameModeNames[GameMode.ENDLESS]} Mode`;
|
|
case Unlockables.MINI_BLACK_HOLE:
|
|
return 'Mini Black Hole';
|
|
case Unlockables.SPLICED_ENDLESS_MODE:
|
|
return `${gameModeNames[GameMode.SPLICED_ENDLESS]} Mode`;
|
|
}
|
|
} |