Class "ItemConfig::Config"
Functions
GetCard () {: aria-label='Functions' }
Card GetCard ( int ID ) {: .copyable aria-label='Functions' }
GetCards () {: aria-label='Functions' }
CardList GetCards ( ) {: .copyable aria-label='Functions' }
GetCollectible () {: aria-label='Functions' }
Item GetCollectible ( int ID ) {: .copyable aria-label='Functions' }
Returns the Itemobject of a given CollectibleID.
???- example "Example Code" This Code gets the highest possible collectibleid including modded items. It uses the Binary Search algorithm to do it. Using GetCollectible(): (recommended!)
GetCollectibles () {: aria-label='Functions' }
ItemList GetCollectibles ( ) {: .copyable aria-label='Functions' }
Returns the List of all Collectibles.
???- example "Example Code" This Code gets the highest possible collectibleid including modded items.
???+ bug "Bugs" The objects stored in the returned list cant be accessed correctly and are therefore useless.
GetCostumes () {: aria-label='Functions' }
CostumeList GetCostumes ( ) {: .copyable aria-label='Functions' }
???+ bug "Bugs" The Vector/Table returned by this function is always empty!
GetNullItem () {: aria-label='Functions' }
Item GetNullItem ( int ID ) {: .copyable aria-label='Functions' }
GetNullItems () {: aria-label='Functions' }
ItemList GetNullItems ( ) {: .copyable aria-label='Functions' }
GetPillEffect () {: aria-label='Functions' }
PillEffect GetPillEffect ( PillEffect PillEffectID ) {: .copyable aria-label='Functions' }
GetPillEffects () {: aria-label='Functions' }
PillList GetPillEffects ( ) {: .copyable aria-label='Functions' }
GetTrinket () {: aria-label='Functions' }
Item GetTrinket ( int ID ) {: .copyable aria-label='Functions' }
GetTrinkets () {: aria-label='Functions' }
ItemList GetTrinkets ( ) {: .copyable aria-label='Functions' }
IsValidCollectible () {: aria-label='Functions' }
{: .static .tooltip .badge } {: .abp .tooltip .badge }
static boolean IsValidCollectible ( CollectibleType ID ) {: .copyable aria-label='Functions' }
Function to check if a given item id is a valid collectible id (aka. this item exists). Returns True when it exists and False when it doesnt.
???- example "Example Code" This Code checks, if the item "Sad Onion" (ID: 1) exists.
???+ bug "Bugs" This function returns false for modded items! Use itemConfig:GetCollectible() instead.
ShouldAddCostumeOnPickup () {: aria-label='Functions' }
{: .static .tooltip .badge } {: .abp .tooltip .badge }
static boolean ShouldAddCostumeOnPickup ( Item Config ) {: .copyable aria-label='Functions' }
Last updated