Template:Faction Xenotype Chance/doc

From RimWorld Wiki
Jump to navigation Jump to search

Takes the Faction and the Xenotype and returns the pre-ideoligion, pre-pawnkind chance for that xenotype to occur in that xenotype.

Unless/Until we make the faction subtypes have their own pages, this is the closest we can get to keeping a central location for the data and updating them all from one place.

Variables

First variable is the faction in question, second variable is the xenotype.

Faction

The faction name. Case doesn't matter but it must be the specific name of the faction type. Valid examples will be listed below when template is complete

Xenotype

The xenotype name. Case doesn't matter but it must be the specific name of the xenotype.

Supported
Xenotypes
Dirtmole
Genie
Highmate
Hussar
Impid
Neanderthal
Pigskin
Sanguophage
Waster
Yttakin
Baseliner

Examples

{{Faction Xenotype Chance|Savage tribe|Baseliner}}

Results in: 1

{{%|{{Faction Xenotype Chance|Shattered EMPIRE|GeNiE}} }}

Results in: 10%

Impids make up {{%|{{Faction Xenotype Chance|Waster pirates|Impid}} }} of the population of Waster pirates.

Results in: Impids make up 2.5% of the population of Waster pirates.