RimWorld

RimWorld

Not enough ratings
Better Crossbreeding
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
50.596 KB
8 Jul @ 6:36pm
21 Aug @ 12:31pm
9 Change Notes ( view )

Subscribe to download
Better Crossbreeding

Description
Improvements to RimWorld 1.6's crossbreeding mechanics. Example patch can be found at Example/Patches/Example.xml.

Allows animal crossbreeding to produce variable offspring (rather than always inheriting the mother's species), on a per-partner basis, using the following behaviours:

- Maternal: Inherits mother's species. Vanilla behaviour.
- Paternal: Inherits father's species.
- Random: Inherits either mother or father's species on a coin flip.
- Other: Child will be an entirely separate species, chosen at random from a list (with optional weighted distribution).

If crossbreeding behaviour is not defined for a pairing in the modExtension, it will default to vanilla behaviour for compatibility.

The code only checks the mother's ModExtension, so it must be defined for both species if you wish it to be mutual.

NOTE: Does nothing on its own. Only subscribe to this if you have another mod which depends on it.

GitHub[github.com]
4 Comments
Dizzy  [author] 10 Jul @ 3:42pm 
@Bobkiri I've added an option for a weighted list.
Tyrannidae 10 Jul @ 6:08am 
This is what I was hoping for from the crossbreeding mechanic, but was disappointed to see that wasn't the case. Thanks for making this mod!
Dizzy  [author] 9 Jul @ 11:18pm 
Not directly, no. The jank solution in the interim is to just add a bunch of duplicate entries. I'm gonna try to make another option for a weighted list, but currently each entry has an equal probability of appearing.
Bobkiri 9 Jul @ 11:15pm 
Is it possible to set the appearance probability for each species when using the OtherRandom mechanism?