
If I can't store this as metadata on the food, that means I need a "single source of truth" on a script somewhere.

For instance, a bread loaf might turn into two bread pieces. We need to take an original food, and based on it, convert it to a portioned food, of some quantity. That means I need to take a different approach. In Last Seed, I've attempted to take a very hands-off approach to the food records themselves, in order to ensure maximum compatibility (including with CACO itself). It gets to do that because it actually makes edits to the foods. CACO implements its food portioning using magic effects on the foods. (LS defaults to using CACO's system instead of its own if both are installed, but that's neither here nor there.) You eat a big food, and it splits into smaller foods. In Last Seed, there is a food portioning mechanic, similar to what you see in Complete Alchemy and Cooking Overhaul.

So, a primer of what I've been dealing with. A wise man once told me that "If all progress were forced to look like progress was being made, nobody would make any progress." That rings doubly true for me right now.
