Template:Faction Xenotype Chance

From RimWorld Wiki
Revision as of 02:11, 13 February 2023 by Harakoni (talk | contribs)
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

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.

See also:

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.

Supported
Factions
Faction Type Alternate
Gentle tribe Tribes -
Fierce tribe Tribes -
Savage tribe Tribes -
Cannibal tribe Tribes -
Nudist tribe Tribes -
Fierce neanderthal tribe Tribes -
Savage impid tribe Tribes -
Civil outlander union Outlanders -
Rough outlander union Outlanders -
Rough pig union Outlanders -
Pirate gang Pirates Pirates
Cannibal pirate gang Pirates -
Yttakin pirates Pirates -
Waster pirates Pirates -
Shattered empire Empire Empire
Beggars Minor faction -
Pilgrims Minor faction -
Outlander refugee group Minor faction -

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: Expression error: Missing operand for *.%

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

Results in: Impids make up Expression error: Missing operand for *.% of the population of Waster pirates.