-
Notifications
You must be signed in to change notification settings - Fork 59
Stuff Extension
juanosarg edited this page Jul 16, 2025
·
2 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, StuffExtension:
public float? structureGenerationCommonalityFactor;
public float? weaponGenerationCommonalityFactor;
public float? apparelGenerationCommonalityFactor;
public float? structureGenerationCommonalityOffset;
public float? weaponGenerationCommonalityOffset;
public float? apparelGenerationCommonalityOffset;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.
For example, this removes some of the VE Genetics animal resources from being used in generation completely:
<modExtensions>
<li Class="VEF.Things.StuffExtension">
<structureGenerationCommonalityFactor>0</structureGenerationCommonalityFactor>
<weaponGenerationCommonalityFactor>0</weaponGenerationCommonalityFactor>
<apparelGenerationCommonalityFactor>0</apparelGenerationCommonalityFactor>
</li>
</modExtensions>- Abilities
- Aesthetic scaling
- Animal Behaviours
- Apparels
- Buildings
- Cooking
- Factions
- Genes
- Global
- Graphics
- Hediffs
- Maps
- Memes
- OptionalFeatures
- Pawns
- Planet
- Plants
- Storyteller
- Things
- Weapons
- Weathers
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Advanced Resource Processor
- Update to KCSG 2.0
- Exporting buildings
- Customizing symbols
- Debug helpers options
- Custom faction settlement
- Custom structure and scenarios
- Custom structure in quests
- Custom structure in WorldObjects
- Biome based structures
- Spawning world object(s) at world generation
- Prevent settlement spawning for nomadic factions