Skip to content

SynastriaCoreLib ‐ ResourceBank

Jonas Söderberg edited this page Jul 13, 2024 · 3 revisions

The ResourceBank module contains all functions related to the resource bank.

GetResources

SynastriaCoreLib.ResourceBank.GetResources() -> table

Returns a table containing all resources in the Resource Bank, sorted by type, subType, and count.

Field Type Description
itemId int The item's ID
itemName string The name of the item, without formatting
itemLink string The item link
count int How many of this item is in the resource bank
itemType int The item's main type
itemSubType int The item's subtype