Hide Inactive - KonradHeinser/EBSGFramework GitHub Wiki
This addition to the EBSG Extension allows you to hide individual genes when they are inactive, or make xenotypes hide their inactive genes, either in bulk or just the hair and/or skin color genes. In either case, you're going to want to attach the EBSGExtension to the gene or xenotype in question, which will look similar to below:
<modExtensions>
<li Class="EBSGFramework.EBSGExtension">
</li>
</modExtensions>
The options you have available within that extension are going to depend on if your hiding individual genes, or hiding everything related to a xenotype. For genes, there's only one tag available for use:
- hideInGeneTabWhenInactive : Default (False) : When true, this gene will be hidden from the player while it's inactive for any reason
For xenotypes you have three options, one global and one for each hair and skin color
- hideAllInactiveGenesForXenotype : Default (False) : When true, this hides all inactive genes
- hideAllInactiveSkinColorGenesForXenotype : Default (False) : When true, this hides all inactive genes that use skinColorOverride
- hideAllInactiveHairColorGenesForXenotype : Default (False) : When true, this hides all inactive genes that use the HairColor endogeneCategory
One of the settings for the EBSG Framework hide inactive hair color genes by adding this extension to the base GeneDef when the setting is enabled:
<modExtensions>
<li Class="EBSGFramework.EBSGExtension">
<hideInGeneTabWhenInactive>True</hideInGeneTabWhenInactive>
</li>
</modExtensions>