pokemon-showdown/data/mods/letsgo
Guangcong Luo 9b5217ab70
Split up dex-data into more files (#7634)
* Split up dex-data over individual files

This commit introduces:
- `dex-abilities.ts`
- `dex-conditions.ts`
- `dex-formats.ts`
- `dex-items.ts`
- `dex-moves.ts`
- `dex-species.ts`

These files centralize definitions from `dex-data` and `global-types`.

* Inherit ItemData from Item etc

Previously, Condition inherited from ConditionData. Now, ConditionData
inherits from Condition. The advantage of the new approach is that now,
Condition and DataCondition no longer need to be separate types, and
there should be much less duplication of type definitions in general.

This has also been done for

- ItemData/Item/DataItem
- AbilityData/Ability/DataAbility
- FormatData/Format/DataFormat

Species and DataSpecies was already merged, but this also reverses
their inheritance (saving a lot of duplicated definitions in the
process!)

The only one left is MoveData, which is just super complicated and
will need its own commit.
2020-11-05 05:00:13 -08:00
..
formats-data.ts Remove "Battle" prefix from data exports (#7039) 2020-07-24 12:42:26 -07:00
learnsets.ts Remove "Battle" prefix from data exports (#7039) 2020-07-24 12:42:26 -07:00
moves.ts Split up dex-data into more files (#7634) 2020-11-05 05:00:13 -08:00
pokedex.ts Remove "Battle" prefix from data exports (#7039) 2020-07-24 12:42:26 -07:00
random-teams.ts
scripts.ts Calculate natures with 16-bit truncation (#7540) 2020-10-25 16:54:43 -07:00