All in-game items are QuestItem. It's an axe you can find on a floor, or a bunch of sweets that you can endlessly take from any candy machine. All entities of QuestItem can be added to your inventory! That's a basic requirement.


Implementation in code

QuestItem is highest -Item parent.

Source

QuestItem.h QuestItem.cpp