Today im planing to add some global random quest for food and water in what i call my "hardcoe make over mod (wip)". I'd like to add the possibility to trigger some random quest showing up to the player when they're out of food and/or water. I have a script prototype in place, some planing done and a dialogue tree for my food/water quest already which will mostly ask the player to search around for some various items to trade for food or water with the quest giver. Is it possible to scan the player inventory for any ingestible food or water ( i mean globally instead of having a huge if with tuns of || in it) ?
Thanks again!