Talk:Breeding Calculator/@comment-8247142-20130417003828/@comment-4830404-20130417202715

Oh, that clears things up a lot.

The "parents" variable there is done in a similar way that I did to implement the Passion Dragon. Basically it's a special variable that the code looks for, which if it exists, applies specific rules based on what's inside. Otherwise other previously-defined rules for that color type apply. Special interactions with Diamond happen if the conditions are right, and this stuff is also in the code (not the data).

You'll notice that Passion has "parents":[{"id":2020},{      "id":2021}] where 2020 is LeftHeart and 2021 is RightHeart. So for their parents special variable, there are two kinds right now: id (for Passion) and color (for dragons like Virtue, Peacock, etc.).

So to answer my earlier question, yes, all the special pures including Magic have the special rule. And no, their hybrids do not seem to be affected by this rule. Medusa, Deep, etc. do not seem to have the "parents" field.

All the diamond interaction rules, pure color pool rules, or even standard color pool combination rules etc. are done in the code, so you will not see that in the data. The code also finds the "parents" variable in the data if it exists and then applies special rules to dragons that have this property.