Ideology Compatibility - erdelf/AlienRaces GitHub Wiki

The following are options and features for compatibility with the Ideology DLC.

Races

No special compatibility is required at a race level for Ideology.

PawnKinds

No special compatibility is required at a PawnKind level for Ideology.

Factions and Cultures

NPC factions can be customized with required or disallowed memes and precepts:

<FactionDef>
  <defName>MyCustomFaction</defName>

  <!-- ideoligion customization fields go here -->

</FactionDef>

Note that all references to MemeDefs and PreceptDefs should use MayRequire, otherwise they will generate reference errors if the player does not have Ideology loaded:

Setting Description
<requiredMemes>
  <li MayRequire="Ludeon.RimWorld.Ideology">Individualist</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">Loyalist</li>
</requiredMemes>
(Optional) Sets memes that are required for this faction.
<allowedMemes>
  <li MayRequire="Ludeon.RimWorld.Ideology">Transhumanist</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">Proselytizer</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">HumanPrimacy</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">NaturePrimacy</li>
</allowedMemes>
(Optional) If set, then only memes on this list can be randomly selected. Note that requiredMemes will bypass this list, so they do not have to be duplicated across both lists.
<disallowedMemes>
  <li MayRequire="Ludeon.RimWorld.Ideology">Supremacist</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">PainIsVirtue</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">Nudism</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">Raider</li>
</disallowedMemes>
(Optional) Sets memes that should not be used for this faction. Note that this list overrides both requiredMemes and allowedMemes; if you specify a meme here and in one of those two lists, then it will still be excluded.
<disallowedPrecepts>
  <li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Strong_Subordinate</li>
  <li MayRequire="Ludeon.RimWorld.Ideology">ApparelDesired_Soft_Subordinate</li>
</disallowedPrecepts>
(Optional) Sets precepts that should not be used for this faction.
<structureMemeWeights>
  <Structure_Animist MayRequire="Ludeon.RimWorld.Ideology">4</Structure_Animist>
  <Structure_TheistEmbodied MayRequire="Ludeon.RimWorld.Ideology">1</Structure_TheistEmbodied>
  <Structure_TheistAbstract MayRequire="Ludeon.RimWorld.Ideology">1</Structure_TheistAbstract>
  <Structure_Archist MayRequire="Ludeon.RimWorld.Ideology">1</Structure_Archist>
</structureMemeWeights>
(Optional) If set, only allows the specified structure memes and sets the relative weight of the structure meme. The given weight is multiplied into the MemeDef's randomizationSelectionWeightFactor, which defaults to 1.0.
⚠️ **GitHub.com Fallback** ⚠️