Hello,

I was wondering how I can add a new item to a player's inventory if I have not previously created it in ORK. I know this is how you do it via the API
ORK.Game.ActiveGroup.Leader.Inventory.Add(new ItemShortcut(id, quantity), true, true, true);

But this requires an id, meaning having created the item beforehand
  • Well, yeah - an item needs to have a setup, otherwise it'll not work.
    The ID is just the ID/index of the item in the editor to get it's settings.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.