Cooking Comp Classes - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
The Cooking module of the framework has four comp classes that can be added to any item to provide special behaviours:
- Ingested Thought From Quality: Allows you to specify different ingested thoughts depending on the quality of the ingested item
- Maturing Alcohol: copied from CompProperties_Rotable, with a few tweaks. Instead of destroying an item when it rots, this code will swap the item for a different one.
- Stack By Quality: A comp class to make items only stack if their qualities are the same.
- Temperature Transforms: A comp class to make an item transform into a different one if a certain temperature is reached.
They are all comp classes, so you just add them in XML in the <comps>
tag. Check any of the examples to see.