Skill with alternative skill cost

Hi there.

I was wondering if someone out there can help me on this.

I'm using VS plugins and I was wondering if is possible to have a skill with two or many possible costs: Imagine u have some kind of item/s tagged (dunno if it's possible to do it tbh) as "food" and a skill that uses food so you can use one or another as long as they are considered "food".
I tired some things on the VS skill cost but I can't figure out how to make the plugin understand that it can use an item OR another. Is there any way to do it with the plugin or should I let it go?

Thanks for the time.
I haven't used the plugin, but the documentation shows the plugin parameters have JavaScript entries for how to calculate and pay with the custom resources.

So you should be able to put code in there that tallies items in your inventory with the <Food> tag.

The slightly trickier question is how you tell it to pay - in order of Item ID? What the player has the most of? etc. There's not a way to pull up some kind of UI to choose which of the food items they pay with.
I can see what you mean and yeh, it can't choose what item to pay the cost (I'm not a coder nor an expert tho). Tbh, I don't care if it "eats" a food or another but I can''t even figure out how to put that tag into the plugin parameters so it understand me.
I tried with the items and the "or" operator in the cost calculations. It doesn't explode, but it doesn't work neither. Do you have any clue or lead?

Original thread: https://forums.rpgmakerweb.com/threads/skill-with-alternative-skill-cost.166569/