Class "ItemConfig::Config"
Last updated
Was this helpful?
Last updated
Was this helpful?
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
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!)
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.
???+ bug "Bugs" The Vector/Table returned by this function is always empty!
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.
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .static .tooltip .badge } {: .abp .tooltip .badge }
{: .static .tooltip .badge } {: .abp .tooltip .badge }