Fusion - Provismet/Gimme-That-Gimmick GitHub Wiki
A data component used exclusively by data-driven fusion items (id gimme-that-gimmick:data_driven_fusion
).
It describes the rules for a fusion between two Pokemon.
Data Component Id
gimme-that-gimmick:fusion
Fields
Field | Type | Default | Description |
---|---|---|---|
recipient |
PokemonRequirements | The Pokemon that can receive the form change. | |
inputPokemon |
List of PokemonRequirements | List of predicates for Pokemon that can be absorbed. The order of this list matters. | |
inputFeatures |
List of PokemonFeatures | List of features to apply to the recipient for each fusion partner. The order of this list matters. | |
defaultFeatures |
PokemonFeatures | The default features to apply to the recipient Pokemon when unfusing. | |
fuseEffect |
Identifier | Optional | The id of the EffectsData to play when fusing Pokemon. |
defuseEffect |
Identifier | Optional | The id of the EffectsData to play when defusing Pokemon. |
The order of inputPokemon
and inputFeatures
is important because they are connected. If the Pokemon to be absorbed matches the first predicate in inputPokemon
then the recipient will receive the first set of features from inputFeatures
.
[!NOTE] The
inputPokemon
field is checked in order. For example, if a Pokemon matches both index 2 and index 3, then index 2 is used. Therefore the features described in index 2 will be used.
Examples
This example recreates the DNA Splicers item.
"fusion": {
"defaultFeatures": {
"absofusion": "none"
},
"inputFeatures": [
{
"absofusion": "white"
},
{
"absofusion": "black"
}
],
"inputPokemon": [
{
"speciesShowdownIds": [
"reshiram"
]
},
{
"speciesShowdownIds": [
"zekrom"
]
}
],
"recipient": {
"speciesShowdownIds": [
"kyurem"
]
}
}