RimWorld

RimWorld

Not enough ratings
Xenotype Patch Utils
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
239.100 KB
May 2 @ 9:54pm
May 8 @ 10:23pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Xenotype Patch Utils

Description
Xenotype Patch Utils (XPU) allows modders to define rules that change xenotype genes based on the presence of other mods, and edit genes to attain a desired metabolic efficiency value.

In simpler terms, xenotype mods can specify a desired metabolic efficiency range for each xenotype, alongside a list of potential gene additions, removals, and replacements. XPU will then process these rules until the xenotype's metabolic efficiency is within the range.

Some example use cases for XPU are:
  • Adding modded genes in a scalable way, such as replacing a xenotype's reduced pain gene (Vanilla) with "no pain" (Big and Small) or painless (Alpha Genes).
  • Fixing metabolic efficiency based on predefined rules, like "downgrading" drug immunity genes or adding poor aptitude genes.

If this functionality interests you, or if you'd like to see some more examples, head over to the wiki[github.com]

XPU is targeted towards xenotypes that may include genes from a variety of mods, you might be better off just writing patch operations if your xenotype doesn't do this.

If you are requiring XPU as a dependency in your mod, ensure it's loaded after your mod and any other mods that may modify genes and xenotypes, as XPU wants to work with the "latest" list of genes.

Source code on Github[github.com]