How to add a type to an item

So, I've been looking at Notetags and stuff, trying to figure out what it does and because of my lack of knowledge on programming I'm having a really hard time.

So, my main goal is to have my items [which are food] have two attributes each. [There are nine attributes in total.] Like, sweet, spicy, fruity etc. And when the player gives that item to someone, I want to check the attribute of that item. I'd then choose if the item is rejected or accepted.

Is there any easy way to do this?
Notetags are used to give database objects custom properties that aren't already in the database, like your sweet, spicy, etc. They aren't that difficult to use but do need a little scripting

The script to check if an item notetag for sweet exists would be
Code:
$dataItems[ITEMIDHERE].meta.sweet
or check the demo and plugin [here] to add types (for select window menu).
or check the demo and plugin [here] to add types (for select window menu).
That too. If someone already made a system that works no need to reinvent it.
there are ways to check it differently, the way you said without plugins.

there are some methods, depending complexity, using select window or not,
or by plugin (more advanced) is PKD_TriggerByItem to have its own look.

limited for free, more with paid. free offers the most basic of amount needed.
but it's also a complex plugin, so there are options for easy, complex,
awesomeness.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-a-type-to-an-item.176542/