PokemonRequirements - Provismet/Gimme-That-Gimmick GitHub Wiki
Describes a predicate against a Pokemon. Each field is a condition that the Pokemon must fulfil for the predicate to pass.
Fields
Field | Type | Default | Description |
---|---|---|---|
speciesShowdownIds |
List of Strings | Optional | If present, the Pokemon's species Showdown id must be be in this list. |
formShowdownIds |
List of Strings | Optional | If present, the Pokemon's form Showdown id must be be in this list. |
requiredAspects |
List of Strings | Optional | If present, the Pokemon must contain all aspects in this list. |
blacklistedAspects |
List of Strings | Optional | If present, the Pokemon cannot contain any of the aspects in this list. |
[!NOTE] Showdown ids are defined as the name of the Pokemon or form, all lowercase letters with no numbers or special characters. This is commonly just the name of the species file.
Examples
Accept any Pokemon with the alolan
aspect:
"requirements": {
"requiredAspects": ["alolan"]
}
Accept only the standard (Kanto) form of Meowth:
"requirements": {
"speciesShowdownIds": ["meowth"],
"formShowdownIds": ["normal"]
}
Accept any regional variant:
"requirements": {
"formShowdownIds": [
"alola",
"galar",
"hisui"
]
}