FANDOM


(adding new invisible comments)
(more invisible instructions)
Line 255: Line 255:
 
};
 
};
   
In the past, the Infinity and Passion dragons would produce the Fire Dragon as default offspring. This is what the list might look like if that were still the case (note that each id is separated by variables):
+
In the past, the Infinity and Passion dragons would produce the Fire Dragon as default offspring. This is what the list might look like if that were still the case (note that each id is separated by commas at the end of the line):
   
 
default_offspring_explanations = {
 
default_offspring_explanations = {
Line 265: Line 265:
 
***
 
***
   
It is also possible to add new types to the data that exhibit previously-implemented behaviors. Several variables will need to be updated for this:
+
It is also possible to add new types to the data that exhibit previously-implemented behaviors. Several variables will need to be updated for this. They are located somewhere below the long list of breed data.
   
  +
--- complex_type_components: ---
   
  +
This variable contains a list of types that are made up of components. For example, if there are only three types - purple, which has components of red and blue; black, which has components of blue and purple; and zodiac, which has components of yellow and black - the complex_type_components would look like the following:
  +
  +
complex_type_components =
  +
{
  +
purple: ["red", "blue"],
  +
black: ["blue", "purple"],
  +
zodiac: ["yellow", "black"]
  +
};
  +
  +
--- complex_types: ---
  +
  +
This variable contains a list of types that have an implemented behavior. This is a description of the current behaviors:
  +
  +
*minor*
  +
  +
A type that splits into its component types.
  +
  +
*recessive*
  +
  +
A type that does not contribute to the breeding pool but can emerge from certain combinations in breeding.
  +
  +
*counted*
  +
  +
A type that is created by the combination of a given amount of colors.
  +
  +
*unmixable*
  +
  +
A type that should never contribute to or surface from a breeding pool of any kind.
  +
  +
This is an example of what the complex_types variable can look like:
  +
  +
complex_types =
  +
{
  +
pink: "minor",
  +
black: "minor",
  +
valentine: "recessive",
  +
diamond: "counted",
  +
gold: "unmixable"
  +
};
  +
  +
--- type_count_requirements: ---
  +
  +
This variable is only relevant to any types with the "counted" behavior. It lists the type along with the number of distinct types required for this type to surface. This is an example of what it should look like:
  +
  +
type_count_requirements =
  +
{
  +
diamond: 4
  +
};
  +
  +
--- level_requirements ---
  +
  +
This variable holds the default values of level availability for a type. It lists the type along with the default level for that type. This is an example of what it should look like:
  +
  +
level_requirements =
  +
{
  +
red: 1,
  +
green: 1,
  +
yellow: 2,
  +
blue: 7
  +
}
  +
  +
--- all_types ---
  +
  +
This is a list of all types. It should include every single type, sorted by the priority with which types should be displayed (red comes before blue, gold and diamond go last, etc.) The order is somewhat arbitrary, so use an order that looks best. Here is what the list can look like:
  +
  +
all_types = ["valentine", "red", "green", "yellow", "blue", "purple", "white", "pink", "black", "mythic", "cosmic", "stone", "fairytale", "dino", "rainbow", "gemstone", "zodiac", "iceage", "abominable", "blizzard", "tropic", "royal", "gold", "diamond"];
  +
  +
--- prismatic_types ---
  +
  +
This list should include every type that can be a result of a pure Diamond pairing. No other types should be included in this list. Here is what the list can look like:
  +
  +
prismatic_types = ["red", "green", "yellow", "blue", "purple", "white", "pink", "black", "mythic", "cosmic", "stone", "fairytale", "dino", "rainbow", "gemstone", "zodiac", "tropic", "royal", "diamond"];
  +
  +
--- arctic_types ---
  +
  +
This list should include types that are native to the Arctic Isles. Example:
  +
  +
arctic_types = ["iceage", "abominable", "blizzard"];
  +
  +
--- type_image_url ---
  +
  +
This is a list of the type images as they will be displayed in the breeding results. The name of the type should be included along with the correct link to the image. Example:
  +
  +
type_image_url = {
  +
red: "http://images.wikia.com/dragon-story/images/9/9a/Red30px.png",
  +
green: "http://images.wikia.com/dragon-story/images/3/3d/Green30px.png",
  +
yellow: "http://images.wikia.com/dragon-story/images/7/70/Yellow30px.png",
  +
blue: "http://images.wikia.com/dragon-story/images/f/f1/Blue30px.png",
  +
purple: "http://images.wikia.com/dragon-story/images/3/3c/Purple30px.png"
  +
};
   
 
***
 
***

Revision as of 23:55, September 6, 2013


Having issues using the calculator?

  • Check that Javascript is enabled for the browser that you are using to visit this site.
  • Make sure that you are viewing the page using the full site option. Wikia's mobile skin disables a lot of HTML and javascript features, which will make a lot of the site unusable on your iDevice. You may find the full site option by scrolling all the way to the bottom of the page and then clicking the link in the wikia menu.
  • Confirm that you're up-to-date with your device's operating system. Ignoring updates for too long can cause all sorts of compatibility issues. It is your responsibility to keep your device updated!
  • Try downloading a different browser. Some browsers are unstable or have oddities that do not work well with the code.
  • Try clearing your cache. The method for clearing your cache depends upon your browser (Firefox, Chrome, Safari, etc.). If you're unsure about how to clear your cache, do a quick online search for how to clear the cache of your particular browser. Your browsers will correctly clear your cache for you after a certain amount of time (usually a day).

If you are still experiencing issues, you can try Hyper ch's external breeding tool.

DISCLAIMER: The Breeding Calculator is a player-updated tool. While we try our best to keep it up-to-date, TeamLava makes constant changes to the breeding rules, which can sometimes be implemented quickly, but other times they require a complete restructure of the code. If something happens in the game that doesn't match the results shown by the tool and the unexpected behavior continues AFTER you have cleared your cache, please report it.

Because things change from time to time, remember to clear your cache to get the updated code before you attempt to report an error. We appreciate your patience and cooperation. Thank you.

***ATTENTION*** Arctic Isles content is still not finalized. Different players are reporting different breeding times and gold costs for the same dragons, and it seems as if TeamLava is in the middle of testing different values on us. We are not sure when they will stabilize the values, but we will update them as soon as possible. For now, we have arbitrarily decided to list all Arctic Isles dragons as 8 hour times, but keep in mind that your game might have 4, 8, or 12 hour times. The same time will be used for all of your Arctic Isles dragons.

Breeding Outcomes

See what happens when you breed two dragons here.

* For players without the new timer system, dragons with incubation times of longer than 24 hours will inaccurately show a time rounded up to the next whole day when you first breed them (Ex: 25 hours gets rounded to 2 days). To determine how many hours the incubation will take, check the initial gold cost.


Breeding Possibilities

See which dragons you can use to breed your desired dragon here.

* Dragon level, order, and species do not affect the probability of getting a rare dragon. To breed a desired dragon, you simply need the correct parents and enough patience while we confirm the rules and update the tool.



Community content is available under CC-BY-SA unless otherwise noted.