mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Update for the RJW function changes. Again.
This commit is contained in:
parent
7eee57709d
commit
5a17c0e72f
3 changed files with 5 additions and 9 deletions
Binary file not shown.
|
@ -10,7 +10,7 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
public class Hediff_MultiplePregnancy : Hediff_BasePregnancy
|
public class Hediff_MultiplePregnancy : Hediff_BasePregnancy
|
||||||
{
|
{
|
||||||
protected Dictionary<Pawn, Pawn> enzygoticSiblings; // Each pawn and who they split from
|
protected Dictionary<Pawn, Pawn> enzygoticSiblings = new Dictionary<Pawn, Pawn>(); // Each pawn and who they split from
|
||||||
|
|
||||||
public override void DiscoverPregnancy()
|
public override void DiscoverPregnancy()
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,7 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
father = Trytogetfather(ref pawn);
|
father = Trytogetfather(ref pawn);
|
||||||
}
|
}
|
||||||
Initialize(pawn, father);
|
Initialize(pawn, father, SelectDnaGivingParent(pawn, father));
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (Pawn baby in babies)
|
foreach (Pawn baby in babies)
|
||||||
|
@ -356,7 +356,7 @@ namespace RJW_Menstruation
|
||||||
Scribe_Collections.Look(ref enzygoticSiblings, "enzygoticSiblings", keyLookMode: LookMode.Reference, valueLookMode: LookMode.Reference);
|
Scribe_Collections.Look(ref enzygoticSiblings, "enzygoticSiblings", keyLookMode: LookMode.Reference, valueLookMode: LookMode.Reference);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void GenerateBabies()
|
protected override void GenerateBabies(DnaGivingParent _)
|
||||||
{
|
{
|
||||||
AddNewBaby(pawn, father);
|
AddNewBaby(pawn, father);
|
||||||
}
|
}
|
||||||
|
@ -755,12 +755,6 @@ namespace RJW_Menstruation
|
||||||
pawn.story.traits.allTraits = selectedTraits;
|
pawn.story.traits.allTraits = selectedTraits;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Initialize(Pawn mother, Pawn dad)
|
|
||||||
{
|
|
||||||
enzygoticSiblings = new Dictionary<Pawn, Pawn>();
|
|
||||||
base.Initialize(mother, dad);
|
|
||||||
}
|
|
||||||
|
|
||||||
public string DueDate()
|
public string DueDate()
|
||||||
{
|
{
|
||||||
if (pawn.Tile == -1) return "";
|
if (pawn.Tile == -1) return "";
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
Version 1.0.8.3
|
Version 1.0.8.3
|
||||||
|
- Compatibility update for RJW 5.3.0.9
|
||||||
|
- Requires RJW 5.3.0.9
|
||||||
- Re-added support for Animal Genetics (Continued).
|
- Re-added support for Animal Genetics (Continued).
|
||||||
|
|
||||||
Version 1.0.8.2
|
Version 1.0.8.2
|
||||||
|
|
Loading…
Reference in a new issue