Ejemplo n.º 1
0
        public static int CountSatisfiedQuirks(Pawn pawn, Pawn partner, xxx.rjwSextype sexType, bool violent)
        {
            var props     = new SexProps(pawn, partner, sexType, violent);
            var satisfies = All.Where(quirk =>
                                      quirk.SexSatisfiesFunc != null &&
                                      pawn.Has(quirk) &&
                                      quirk.SexSatisfiesFunc(props));

            return(satisfies.Count());
        }
Ejemplo n.º 2
0
        public static bool SatisfiesExhibitionist(SexProps sexProps)
        {
            var zoo = xxx.is_zoophile(sexProps.Pawn);

            return(sexProps.Pawn.Map.mapPawns.AllPawnsSpawned.Any(x =>
                                                                  x != sexProps.Pawn &&
                                                                  x != sexProps.Partner &&
                                                                  !x.Dead &&
                                                                  (zoo || !xxx.is_animal(x)) &&
                                                                  x.CanSee(sexProps.Pawn)));
        }