Hey all, I am trying to create an inventory system but wondering how is the best way to go about this, I was trying to structure blueprints but I can’t find a way to polymorph them. basically I want a blueprint ‘Inventory’ that has 40 slots, so will have an array of 40 ‘Inventory Slot’ blueprints which contain 2 variables, int quantity and 1 ‘Item’. this is where I am not sure what to do, I want ‘Item’ to be a class / struct / blueprint with variables and functions as an abstract that other items will implement. such as If I have 10 sticks in my inventory it will be structures like… Inventory location will be an InventorySlot with Stick as the Item object and 10 as the qty, and Stick inherits Item.
what blueprint should I use for the Inventory and Inventory Slots, and how should I do the polymorphism relationship between Item and Stick?