Move TrainerPoolTier enum to its own file

This commit is contained in:
Sirz Benjie 2025-03-28 19:06:41 -05:00
parent f2e3eafefc
commit e8f79d47ac
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
3 changed files with 9 additions and 9 deletions

View File

@ -25,6 +25,7 @@ import { Gender } from "#app/data/gender";
import { signatureSpecies } from "../balance/signature-species"; import { signatureSpecies } from "../balance/signature-species";
import { Abilities } from "#enums/abilities"; import { Abilities } from "#enums/abilities";
import { TeraAIMode } from "#enums/tera-ai-mode"; import { TeraAIMode } from "#enums/tera-ai-mode";
import { TrainerPoolTier } from "#enums/trainer-pool-tier";
/** Minimum BST for Pokemon generated onto the Elite Four's teams */ /** Minimum BST for Pokemon generated onto the Elite Four's teams */
const ELITE_FOUR_MINIMUM_BST = 460; const ELITE_FOUR_MINIMUM_BST = 460;
@ -32,14 +33,6 @@ const ELITE_FOUR_MINIMUM_BST = 460;
/** The wave at which (non-Paldean) Gym Leaders start having Tera mons*/ /** The wave at which (non-Paldean) Gym Leaders start having Tera mons*/
const GYM_LEADER_TERA_WAVE = 100; const GYM_LEADER_TERA_WAVE = 100;
export enum TrainerPoolTier {
COMMON,
UNCOMMON,
RARE,
SUPER_RARE,
ULTRA_RARE,
}
export interface TrainerTierPools { export interface TrainerTierPools {
[key: number]: Species[]; [key: number]: Species[];
} }

View File

@ -0,0 +1,7 @@
export enum TrainerPoolTier {
COMMON,
UNCOMMON,
RARE,
SUPER_RARE,
ULTRA_RARE
}

View File

@ -5,11 +5,11 @@ import { getPokemonSpecies } from "#app/data/pokemon-species";
import type { TrainerConfig, TrainerPartyTemplate } from "#app/data/trainers/trainer-config"; import type { TrainerConfig, TrainerPartyTemplate } from "#app/data/trainers/trainer-config";
import { import {
TrainerPartyCompoundTemplate, TrainerPartyCompoundTemplate,
TrainerPoolTier,
TrainerSlot, TrainerSlot,
trainerConfigs, trainerConfigs,
trainerPartyTemplates, trainerPartyTemplates,
} from "#app/data/trainers/trainer-config"; } from "#app/data/trainers/trainer-config";
import { TrainerPoolTier } from "#enums/trainer-pool-tier";
import { TeraAIMode } from "#enums/tera-ai-mode"; import { TeraAIMode } from "#enums/tera-ai-mode";
import type { EnemyPokemon } from "#app/field/pokemon"; import type { EnemyPokemon } from "#app/field/pokemon";
import * as Utils from "#app/utils"; import * as Utils from "#app/utils";