// Management · RimWorld Mod
Mutated Pawn
Allow any pawn a chance to have random genes with the following configurations: 3 different chances to have mutations, each with its own max mutation number and chance.
Allow any pawn a chance to have random genes with the following configurations:
- 3 different chances to have mutations, each with its own max mutation number and chance.
- Chance to develop a random mutation for a pawn with a growing carcinoma. Check every 5000 ticks (a day has 60k ticks). Set to 0% to disable this. Thanks Jdalt40 for the suggestion.
- Chance to develop a random mutation for a pawn with moderate (or worse) toxic buildup. Check every 5000 ticks (a day has 60k ticks). Set to 0% to disable this. Thanks CrackaJack for the suggestion.
- From 1.6, white list and black list mechanism can be used to control the list of available genes for mutation. I have troubles create a good UX for these options. I have to resort to text field input. Sorry guys! You can find the name for the genes if you use the included options to print them all to dev console log.
- For white and black listing, wildcard can be used. For example, "hair" means any gene that contains "hair" in its defName or LabelShortAdj. White list overides black list.
- Mutated genes can be endogene or xenogene.
- Allow archite genes.
- The minimum metabolic efficiency allowed, used ONLY by this mod, when deciding a mutation can happen or not. Thank 沙坡村大师 for the suggestion.
Mutated genes have yellow border. Thanks to erdelf for suggestions about using ThingComp.
It can be safely added mid-game and should not conflict with any mods. If added mid-game, it does not affected existing pawns.
I used HugsLib to handle settings windows. Many thanks to UnlimitedHugs (RimworldHugsLib), Jaxe (Interaction Bubble) and cbrintnall (EzOutfit) and for their codes and hard works!
If you like this mod, maybe check out my other one:
Permanent Injury Letter https://steamcommunity.com/sharedfiles/filedetails/?id=2592535960
More Biotech Letters https://steamcommunity.com/sharedfiles/filedetails/?id=2889303626
Billed Deep Drill https://steamcommunity.com/sharedfiles/filedetails/?id=2593197871
It would be great to receive feedback, suggestions or pointers on how to improve. Hope these mods help!
Github: https://github.com/WarBuggy/RimworldMod.MutatedPawn.git
Cheers!
Version history
v0.10
- Add compatibility for 1.6.
- Remove HugsLib dependency. All previous mod settings are lost. Please visit the new settings.
- Black/white listing entries are treated as wildcard. "hair" will include any gene that has "hair" (case-insensitive) in defName or LabelShortAdj.
- White list will override black list. For example, you can black list anything with "hair", then white list "Hair_InkBlack".
- Add custom tick time for both growing carcinoma and toxic build up mutation. Default is still 5k. Thanks Arthur GC for the suggestion.
v0.9
- Add compatibility for 1.5. Happy horror hunting!
- Add github link.
v0.81
- Handle null comp properly. Many thanks to Taemaly_UA!
v0.8
- Do not check for toxic buildup or carcinoma mutation if a pawn is in crytosleep. Thanks fruitcake662!
v0.7
- Slightly improve the process of choosing random genes.
v0.6
- Allow mutation for a pawn with moderate (or worse) toxic buildup.
- Allow white list and black list mechanism.
- Move carcinoma mutation to the mod comp class.
- Depends on HugsLib for setting windows.
v0.5
- Draw yellow border around mutated genes.
- Fix a bug where the same gene are chosen multiple times for mutation, which leads to fail pawn generation.
v0.4
- Allow mutation for a pawn with a growing carcinoma.
v0.3
- Break mutation process into 3 different groups, each with its own max mutation and chance.
v0.2
- Expand the option to allow flexible minimum allowed metabolic efficiency.
v0.1
- Initial release.