private bool CanBreed(Mobile from) { bool gender; bool can = false; for (int i = 0; i < from.Stabled.Count; i++) { BaseCreature c = ((BaseCreature)from.Stabled[i]); gender = ((BaseCreature)from.Stabled[i]).Female; for (int j = 0; j < from.Stabled.Count; j++) { BaseCreature x = ((BaseCreature)from.Stabled[j]); if (x.Equals(c) && (x.Female != gender)) { can = true; } } } return(can); }