Genetic Romance Chance - KonradHeinser/EBSGFramework GitHub Wiki

The Genetic Romance Chance extension allows you to cause pawns to become better or worse at romancing others based on certain stats. The original purpose of this was to cause pawns to be able to romance other pawns more easily when psychically sensitive, but the extension technically accepts and stat. It's recommended to only use stats that have a default value of 1, and that are normally represented by a percentage. This extension can be added to any normal gene, regardless of class.

Basic extension for the gene:

        <modExtensions>
            <li Class="EBSGFramework.GRCExtension">
            </li>
        </modExtensions>

Options available:

  • carrierStat : Stat on the carrier that multiplies the chance of successful romancing
  • carrierStats : A list of stats on the carrier that multiply the chance of successful romancing
  • carrierReq : If set to Higher or Lower, then the stat carrier stat(s) must be higher/lower than their default value to apply. If not included, then the stat(s) Always apply
  • otherStat : Stat on the target pawn that multiplies the chance of successful romancing
  • otherStats : A list of stats on the target pawn that multiply the chance of successful romancing
  • otherReq : If set to Higher or Lower, then the stat carrier stat(s) must be higher/lower than their default value to apply. If not included, then the stat(s) Always apply

Adapted example from Superhero Genes, Psionic Seducer. This gene made it so the pawn could only romance others while both were psychically sensitive, changed in strength when the carrier had heightened or lowered psychic sensitivity, and only included the other pawn's sensitivity if they were deaf or some degree of dull.

        <modExtensions>
            <li Class="EBSGFramework.GRCExtension">
                <carrierStat>PsychicSensitivity</carrierStat>
                <otherStat>PsychicSensitivity</otherStat>
                <otherReq>Lower</otherReq>
            </li>
        </modExtensions>
⚠️ **GitHub.com Fallback** ⚠️