Item

constructor(id: Int, name: String, cost: Int, flingPower: Int?, flingEffect: Handle.Named<ItemFlingEffect>?, attributes: List<Handle.Named<ItemAttribute>>, category: Handle.Named<ItemCategory>, effectEntries: List<VerboseEffect>, flavorTextEntries: List<VersionGroupFlavorText>, gameIndices: List<GenerationGameIndex>, names: List<Name>, heldByPokemon: List<ItemHolderPokemon>, babyTriggerFor: Handle.Unnamed<EvolutionChain>?, sprites: ItemSprites, machines: List<MachineVersionDetail>)(source)

Parameters

id

The identifier for this resource.

name

The name for this resource.

cost

The price of this item in stores.

flingPower

The power of the move Fling when used with this item.

flingEffect

The effect of the move Fling when used with this item.

attributes

A list of attributes this item has.

category

The category of items this item falls into.

effectEntries

The effect of this item listed in different languages.

flavorTextEntries

The flavor text of this item listed in different languages.

gameIndices

A list of game indices relevent to this item by generation.

names

The name of this item listed in different languages.

heldByPokemon

A list of Pokémon that might be found in the wild holding this item.

babyTriggerFor

An evolution chain this item requires to produce a baby during mating.

sprites

A set of sprites used to depict this item in the game.

machines

A list of the machines related to this item.