Maturing Alcohol - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
CompProperties_MaturingAlcohol is a copy of CompProperties_Rotable, with a few tweaks. Instead of destroying an item when it rots, this code will swap the item for a different one.
public float daysToRotStart = 2f;
public bool rotDestroys;
public float rotDamagePerDay = 40f;
public float daysToDessicated = 999f;
public float dessicatedDamagePerDay;
public bool disableIfHatcher;
public string maturingString;
public string maturingProperly;
public string maturingSlowly;
public string maturingStopped;
public string thingToTransformTo;
It is a comp class, so you just add it in XML in the <comps>
tag. For example, it is used with Vanilla Brewing Expanded Ambrosia mush to turn it into Ambrandy must.
<comps>
<li Class="VEF.Cooking.CompProperties_MaturingAlcohol">
<daysToRotStart>6</daysToRotStart>
<rotDestroys>true</rotDestroys>
<maturingString>VBE_MushRipening</maturingString>
<maturingProperly>VBE_MushDryingCorrectly</maturingProperly>
<maturingSlowly>VBE_MushCurrentlyRefrigerated</maturingSlowly>
<maturingStopped>VBE_MushCurrentlyFrozen</maturingStopped>
<thingToTransformTo>VBE_AmbrandyMust</thingToTransformTo>
</li>
</comps>