Trait Extension - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

TraitExtension adds a couple fields to add pain factor to traits, and traits that are linked to apparel:

public float painFactor;
public bool apparelExclusiveTrait;

How to use this code?

Here is an example of the Warcasket trait in VFE - Pirates:

<modExtensions>
        <li Class="VEF.Pawns.TraitExtension">
                <painFactor>0</painFactor>
                <apparelExclusiveTrait>true</apparelExclusiveTrait>
        </li>
</modExtensions>
⚠️ **GitHub.com Fallback** ⚠️