Enum filter for Item system

I have an item system setup with a basic enum {weapon, consumable, quest}

I 'd like to have a filter on the inventory slot of say allowable item types. Then when you try to add an item, it checks against the filter and returns true/false.

My first thought was to use a List allowableTypes but that seems overkill. Is there a simpler solution? Like a few checkboxes you could check in the inspector.

@en4ian, you could use a bool like public bool isAllowed; then you could create a function that works from this bool perhaps. Maybe, I’m no good with enums and structs so I don’t know if you could implement that.