Sorry to ask so many questions, but PHP is completely alien to me, I'm more used to HTML.
I need a more advanced version of breeding, and if its already available how do I set it up?
Here's some examples

First the main species, horses. My lv 0 image is a foal, lv 1 is a yearling and lv 3 is an adult. I need a lv 3 mare and a lv 3 stallion to produce a foal, but what I also need it to do is if I breed a black paint(black and white spotted) with a brown solid mare, I'd need the foals to have a chance to be: Black paint, brown paint, black solid, bown solid
Another species: Unicorn and pegasus
These species do not have foal images, but if you breed the two together you have a percent chance of an alicorn. Same additional specs as horse through, combining color chances and patterns