since the title was too short for me to describe it, and i literally have no idea how to describe it in general, i have plenty of space here
So what I'm essentially trying to doing is create a cooking addon. For instance, when a player wants to create something called a "Fruit Salad," they put in a bowl 5 strawberries and 5 blueberries minimum. When they have enough, they will receive a Fruit Salad that will add a minimum of %15 to a player's hunger bar, and each additional ingredient will add %1 extra hunger point to a player. But how do I check if the player can actually make the recipe?
I was also planning to also create a registerRecipe function with the args (%name, %thirst, %hunger, %difficulty, %preparation, %ingredients), so how could I make it work with the function that actually checks if a valid recipe could be made?
Sorry if this was hard to convey through your mind, I can't explain anything well :P (I apologize for grammer mistakes too)