Request item to take out of resource inventory

Godot 4.3

Hello, I am looking for someone who can help me.

I am currently working on a game that has “requests” the player needs to fill, and I am using a resource based inventory system. This is my first time working with a resource system

Following a guide my class name InvSlot contains the items and amounts in it with variables. How do I get an object to declare it wants those items, and will subtract them if the player meets the requirement?
Whether it be code or just explaining different functions to research, I would appreciate it all.

If anyone knows any visual guides that aren’t too confusing, those would be appreciated.

Can you show your inventory code? I am not quiet sure if I understood your question correctly. Do you want to have check if the player has certain items and remove if he has?