Stuff commonality extension - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

VEF Framework provides you with a way to manage commonality of stuff materials as you want for structure, weapon and apparel generations currently. It's done via a mod extension where you need to add it to the ThingDef of material you need to change. Example of usage:

<modExtensions>
		<li Class="VFECore.StuffExtension">
			<structureGenerationCommonalityOffset>100</structureGenerationCommonalityOffset>
			<weaponGenerationCommonalityOffset>100</weaponGenerationCommonalityOffset>
			<apparelGenerationCommonalityOffset>100</apparelGenerationCommonalityOffset>
			
			<structureGenerationCommonalityFactor>100</structureGenerationCommonalityFactor>
			<weaponGenerationCommonalityFactor>100</weaponGenerationCommonalityFactor>
			<apparelGenerationCommonalityFactor>100</apparelGenerationCommonalityFactor>
		</li>
</modExtensions>

Offset values allow you to offset the default commonality value that the game has for the given material. Factor fields are used to multiply on the default commonality value. You can combine both fields and offset values will be calculated first and then factor values.

All the provided fields are optional. You can omit any fields that you do not want to set.

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