mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-10-20 20:15:50 +02:00
* Create Getters, Setters, and Types * Work on `pokemon.ts` * Adjust Types, Refactor `White Herb` Modifier * Migrate `TempBattleStat` Usage * Refactor `PokemonBaseStatModifier` Slightly * Remove `BattleStat`, Use "Stat Stages" & New Names * Address Phase `integers` * Finalize `BattleStat` Removal * Address Minor Manual NITs * Apply Own Review Suggestions * Fix Syntax Error * Add Docs * Overhaul X Items * Implement Guard and Power Split with Unit Tests * Add Several Unit Tests and Fixes * Implement Speed Swap with Unit Tests * Fix Keys in Summary Menu * Fix Starf Berry Raising EVA and ACC * Fix Contrary & Simple, Verify with Unit Tests * Implement Power & Guard Swap with Unit Tests * Add Move Effect Message to Speed Swap * Add Move Effect Message to Power & Guard Split * Add Localization Entries * Adjust Last X Item Unit Test * Overhaul X Items Unit Tests * Finish Missing Docs * Revamp Crit-Based Unit Tests & Dire Hit * Address Initial NITs * Apply NIT Batch Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Fix Moody Test * Address Multiple Messages for `ProtectStatAbAttr` * Change `ignoreOverride` to `bypassSummonData` * Adjust Italian Localization Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com> * Fix Moody --------- Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
94 lines
2.2 KiB
TypeScript
94 lines
2.2 KiB
TypeScript
export interface Localizable {
|
|
localize(): void;
|
|
}
|
|
|
|
export interface TranslationEntries {
|
|
[key: string]: string | { [key: string]: string }
|
|
}
|
|
export interface SimpleTranslationEntries {
|
|
[key: string]: string
|
|
}
|
|
|
|
export interface MoveTranslationEntry {
|
|
name: string,
|
|
effect: string
|
|
}
|
|
|
|
export interface MoveTranslationEntries {
|
|
[key: string]: MoveTranslationEntry
|
|
}
|
|
|
|
export interface AbilityTranslationEntry {
|
|
name: string,
|
|
description: string
|
|
}
|
|
|
|
export interface AbilityTranslationEntries {
|
|
[key: string]: AbilityTranslationEntry
|
|
}
|
|
|
|
export interface ModifierTypeTranslationEntry {
|
|
name?: string,
|
|
description?: string,
|
|
extra?: SimpleTranslationEntries
|
|
}
|
|
|
|
export interface ModifierTypeTranslationEntries {
|
|
ModifierType: { [key: string]: ModifierTypeTranslationEntry },
|
|
SpeciesBoosterItem: { [key: string]: ModifierTypeTranslationEntry },
|
|
AttackTypeBoosterItem: SimpleTranslationEntries,
|
|
TempStatStageBoosterItem: SimpleTranslationEntries,
|
|
BaseStatBoosterItem: SimpleTranslationEntries,
|
|
EvolutionItem: SimpleTranslationEntries,
|
|
FormChangeItem: SimpleTranslationEntries,
|
|
}
|
|
|
|
export interface PokemonInfoTranslationEntries {
|
|
Stat: SimpleTranslationEntries,
|
|
Type: SimpleTranslationEntries,
|
|
}
|
|
|
|
export interface BerryTranslationEntry {
|
|
name: string,
|
|
effect: string,
|
|
}
|
|
|
|
export interface BerryTranslationEntries {
|
|
[key: string]: BerryTranslationEntry
|
|
}
|
|
|
|
export interface StatusEffectTranslationEntries {
|
|
[key: string]: StatusEffectTranslationEntry
|
|
}
|
|
|
|
export interface StatusEffectTranslationEntry {
|
|
name: string,
|
|
obtain: string,
|
|
obtainSource: string,
|
|
activation: string,
|
|
overlap: string,
|
|
heal: string
|
|
description: string,
|
|
}
|
|
|
|
export interface AchievementTranslationEntry {
|
|
name?: string,
|
|
description?: string,
|
|
}
|
|
|
|
export interface AchievementTranslationEntries {
|
|
[key: string]: AchievementTranslationEntry;
|
|
}
|
|
|
|
export interface DialogueTranslationEntry {
|
|
[key: number]: string;
|
|
}
|
|
|
|
export interface DialogueTranslationCategory {
|
|
[category: string]: DialogueTranslationEntry;
|
|
}
|
|
|
|
export interface DialogueTranslationEntries {
|
|
[trainertype: string]: DialogueTranslationCategory;
|
|
}
|