Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Don't Xeno my Baby

Makes Xenotype Spawn Control not affect newborns. Otherwise, you get nonsensical offspring, or if you have the player faction set to spawn Baseliners it will still override the xenotype with baseliner (but genes will be correct) Theoretically if a newborn is generated by means other then childbirth this will stop it from getting a xenotype but whatever, I don't know of a way that can happen. The entire source code (pretty much): [HarmonyPatch(typeof(XenotypeSpawnControl.HarmonyPatches.PawnGenerator_GenerateGenes), nameof(XenotypeSpawnControl.HarmonyPatches.PawnGenerator_GenerateGenes.Prefix))] static class ThePatch { static bool Prefix(ref PawnGenerationRequest request) { return request.AllowedDevelopmentalStages != DevelopmentalStage.Newborn; }}