Revert "Remove unused Egg() constructor"

Rimworld might be using it after all

This reverts commit 9c9e120b92.
This commit is contained in:
lutepickle 2022-07-07 11:15:07 -07:00
parent 258f68a88d
commit 16bb69372c

View file

@ -1817,7 +1817,15 @@ namespace RJW_Menstruation
public int lifespanhrs; public int lifespanhrs;
public Pawn fertilizer; public Pawn fertilizer;
public int position; public int position;
public int fertstage; public int fertstage = 0;
public Egg()
{
fertilized = false;
lifespanhrs = (int)(96 * Configurations.EggLifespanMultiplier);
fertilizer = null;
position = 0;
}
public Egg(int lifespanhrs) public Egg(int lifespanhrs)
{ {
@ -1825,7 +1833,6 @@ namespace RJW_Menstruation
this.lifespanhrs = (int)(lifespanhrs * Configurations.EggLifespanMultiplier); this.lifespanhrs = (int)(lifespanhrs * Configurations.EggLifespanMultiplier);
fertilizer = null; fertilizer = null;
position = 0; position = 0;
fertstage = 0;
} }
public void ExposeData() public void ExposeData()