Cuisine Basics - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

Most of the code in the cuisine mods (Cooking, Brewing, Plants and Fishing) is very specific to the mods, so we haven't included it in the framework, but there are a bunch of things that we think could be useful for other people:

  • Cuisine Comp Classes, several classes that can be accessed through XML to give certain behaviours to items
  • Hediff causing Thought, a system to make ingredients produce a thought, and then that thought immediately cause a hediff in the pawn
  • Hediff while having Thought, a Hediff comp class that checks the pawn every 10 seconds to see if it has a Thought, and when the Thought ends, destroys the Hediff
  • Cuisine Graphic Classes: custom graphic classes for different purposes

How do I use this code?

Most of the code in this module is structured in comp classes, so you just add them in XML in the <comps> tag. Examples are provided in each section.

Inside the framework, the namespace to access all the Cuisine classes is "VanillaCookingExpanded"

⚠️ **GitHub.com Fallback** ⚠️