public static bool CheckAutonomousGenderPreference(SimDescription a, SimDescription b) { if (a.CanAutonomouslyBeRomanticWithGender(b.Gender) && b.CanAutonomouslyBeRomanticWithGender(a.Gender)) { return true; } else if (a.NotOpposedToRomanceWithGender(b.Gender) && b.NotOpposedToRomanceWithGender(a.Gender)) { return true; } return false; }