pokemon-showdown/data/mods
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
..
ccapm2 Rulesets: Fix crash in CCAPM2 (#7582) 2020-10-26 22:33:08 +04:00
gen1 Split up dex-data into more files (#7634) 2020-11-05 05:00:13 -08:00
gen2 Random Battle improvements 2020-11-03 19:43:57 +04:00
gen3 Revamp Gen 2 Random Battle (#7610) 2020-11-02 01:13:11 +04:00
gen4 Fix crashes from using moves with no target 2020-10-19 18:10:25 +01:00
gen5 Update to latest eslint 2020-09-29 15:28:08 -07:00
gen6 Abilities: Add isPermanent flag (#7614) 2020-11-03 10:31:11 -05:00
gen7 Random Battle improvements 2020-11-03 19:43:57 +04:00
gen8dlc1 Mark other Genesect formes as unreleased in DLC1 2020-11-01 15:25:53 -07:00
gennext Fix crashes from using moves with no target 2020-10-19 18:10:25 +01:00
letsgo Split up dex-data into more files (#7634) 2020-11-05 05:00:13 -08:00
mixandmega Remove sim/ and data/'s globals (#7091) 2020-08-07 06:44:15 -07:00
ssb Split up dex-data into more files (#7634) 2020-11-05 05:00:13 -08:00
stadium Fix Stadium Struggle vs Ghost-types (#7527) 2020-10-19 00:59:34 -07:00
vgc17 Rename FormatsData to FormatData 2020-09-07 19:35:14 -07:00
viabilities ViAbilities: Fix Vespiquen's moves 2020-10-03 20:26:36 -06:00