Relation Settings - erdelf/AlienRaces GitHub Wiki
Relation Settings are used to alter the names or generation commonality of specific PawnRelations between members of your race.
Relation Settings should be defined inside the alienRace
tag of your ThingDef.ThingDef_AlienRace
<AlienRace.ThingDef_AlienRace>
<alienRace>
<relationSettings>
<!-- Relation settings go here -->
</relationSettings>
</alienRace>
</AlienRace.ThingDef_AlienRace>
All of these settings are optional unless otherwise specified.
Setting | Description |
---|---|
<relationChanceModifierLover>1</relationChanceModifierLover>
<relationChanceModifierExLover>1</relationChanceModifierExLover>
<relationChanceModifierFiance>1</relationChanceModifierFiance>
<relationChanceModifierSpouse>1</relationChanceModifierSpouse>
<relationChanceModifierExSpouse>1</relationChanceModifierExSpouse>
<relationChanceModifierParent>1</relationChanceModifierParent>
<relationChanceModifierChild>1</relationChanceModifierChild>
<relationChanceModifierSibling>1</relationChanceModifierSibling> |
These are the eight basic PawnRelationDefs that are used for randomly generated relationships.
All values default to 1 and any override provided here will be multiplied by the PawnRelationDef's
base generationChanceFactor . For example, using 2.0 will cause that relationship
to generate twice as often as it does for humans, and using 0 will cause it to never randomly
generate.
|
<renamer>
<li>
<relation>Parent</relation>
<label>Patron</label>
<femaleLabel>Matron</femaleLabel>
</li>
</renamer> |
This can be used to rename vanilla relationships when shown for members of your race. |