Beispiel #1
0
        protected override bool HandleNewKnockupAttempt(StandardSpawnType type, out StandardSpawnType newType)
        {
            if (type.canFertilizeAnEggPregnancy && AllowEggFertilization(type))
            {
                newType = type;
                return(true);
            }

            return(base.HandleNewKnockupAttempt(type, out newType));
        }
Beispiel #2
0
 //note: allows standard spawn type for sake of convenience, however, if a spawn type does not derive SpawnTypeIncludeAnal, this will always fail.
 protected internal bool AttemptAnalKnockUp(double knockupChance, StandardSpawnType type)
 {
     return(analPregnancy.attemptKnockUp(knockupChance, type));
 }
Beispiel #3
0
 protected internal bool AttemptSecondaryKnockUp(double knockupChance, StandardSpawnType type)
 {
     return(secondaryNormalPregnancy.attemptKnockUp(knockupChance, type));
 }
Beispiel #4
0
 protected virtual bool AllowEggFertilization(StandardSpawnType fertilizeType)
 {
     return(fertilizeType.canFertilizeAnEggPregnancy);
 }