You could do it with several different APIs. ChatSetAttr would let you manage an attribute for whatever resources you want. I might prefer using 2 infinite card decks, one for food and one for water. You couldn’t associate that with a character directly, but if each of your players only had one character, it’s a nice way to go.