mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Compare commits
3 commits
5a17c0e72f
...
c6fbab5974
Author | SHA1 | Date | |
---|---|---|---|
|
c6fbab5974 | ||
|
1b5e204795 | ||
|
8d0d980048 |
4 changed files with 8 additions and 4 deletions
Binary file not shown.
|
@ -398,7 +398,8 @@ namespace RJW_Menstruation
|
||||||
//fixedIdeo: mother.Ideo,
|
//fixedIdeo: mother.Ideo,
|
||||||
forbidAnyTitle: true,
|
forbidAnyTitle: true,
|
||||||
forceNoBackstory: true,
|
forceNoBackstory: true,
|
||||||
forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother)
|
forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother),
|
||||||
|
forcedXenotype: ModsConfig.BiotechActive ? XenotypeDefOf.Baseliner : null
|
||||||
);
|
);
|
||||||
|
|
||||||
int division = 1;
|
int division = 1;
|
||||||
|
@ -634,8 +635,8 @@ namespace RJW_Menstruation
|
||||||
}
|
}
|
||||||
XenotypeDef motherInheritableXenotype = mother?.genes?.Xenotype;
|
XenotypeDef motherInheritableXenotype = mother?.genes?.Xenotype;
|
||||||
XenotypeDef fatherInheritableXenotype = father?.genes?.Xenotype;
|
XenotypeDef fatherInheritableXenotype = father?.genes?.Xenotype;
|
||||||
if (!motherInheritableXenotype.inheritable) motherInheritableXenotype = null;
|
if (!(motherInheritableXenotype?.inheritable ?? false)) motherInheritableXenotype = null;
|
||||||
if (!fatherInheritableXenotype.inheritable) fatherInheritableXenotype = null;
|
if (!(fatherInheritableXenotype?.inheritable ?? false)) fatherInheritableXenotype = null;
|
||||||
|
|
||||||
// If they're the same (or both null)
|
// If they're the same (or both null)
|
||||||
if (motherInheritableXenotype == fatherInheritableXenotype)
|
if (motherInheritableXenotype == fatherInheritableXenotype)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<identifier>RJW Menstruation</identifier>
|
<identifier>RJW Menstruation</identifier>
|
||||||
<version>1.0.8.3</version>
|
<version>1.0.8.4</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<incompatibleWith />
|
<incompatibleWith />
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
Version 1.0.8.4
|
||||||
|
- Newborns should now be baseliners if there are no xenotypes to inherit.
|
||||||
|
|
||||||
Version 1.0.8.3
|
Version 1.0.8.3
|
||||||
- Compatibility update for RJW 5.3.0.9
|
- Compatibility update for RJW 5.3.0.9
|
||||||
- Requires RJW 5.3.0.9
|
- Requires RJW 5.3.0.9
|
||||||
|
|
Loading…
Reference in a new issue