Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Stuff commonality extension

Taranchuk edited this page Sep 6, 2021 · 3 revisions

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.

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Apparel

Cuisine

Furniture

Plants

Clone this wiki locally