示例#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));
        }
示例#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));
 }
示例#3
0
 protected internal bool AttemptSecondaryKnockUp(double knockupChance, StandardSpawnType type)
 {
     return(secondaryNormalPregnancy.attemptKnockUp(knockupChance, type));
 }
示例#4
0
 protected virtual bool AllowEggFertilization(StandardSpawnType fertilizeType)
 {
     return(fertilizeType.canFertilizeAnEggPregnancy);
 }