You can capture the item ids from lorebook mediawiki articles, or from the item event when u drag inventory item to a quickslot (forget event name offhand). You can call GetData on the quickslot shortcut (or maybe its the getitem method of quickslot.. I forget off top of my head) and keep track of those. Either way, you can create yourself a little database of the items you want prefab quickslots to. You can create the quickslot regardless of whether the item is in inventory. I use this for id analysis tool I use for Compendium development. If the item isn't in inventory the quickslot will be grayed out and not do much when clicked.
|