dog breeding - kmfisk/workdog GitHub Wiki
- When breeding dogs, each parent factors 50% into a breeding.
- 30% of that 50% is the parent’s SHOWN COAT.
- 20% is the parent's carried coat(s).
- When breeding dogs with LONG AND SHORT COATS (German shepherds and Border collies), long is a simulated recessive:
- Long x Long should always produce long coated puppies (100%)
- Long x Short is 25% long
- Short x Short is 8% long
- All breedings have a 1% chance to create either albinistic or melanistic pup equally.
- Parent inheritance is the same, so an albinisitc or melanistic parent is more likely to have matching pups according to regular breeding rules.
- Mixed breedings should work and should still use these rules.
- Purebred breedings have a 2% chance of randomly generating another breed within the parents’ work group. (Currently only akitas and pits share a work group)
- Mixed breedings have a 5% chance of a random dog from either parent’s group. Randomly generated dogs use “spawning” mechanics and generate with a random coat.
- Wolves and dogs can crossbreed:
- Wolf x Wolf will be 95% WOLF, and 5% BIOME-BASED DOG BREED
- Wolf x Dog will be 45% PARENT DOG, 5% RANDOM BREED IN DOG PARENT GROUP, 45% WOLF and 5% BIOME-BASED DOG BREED
Female dogs go into heat automatically. Female dogs in heat become pregnant when the first intact male dog touches them.
Gestation should take 72000 ticks (configurable), and once there are less than 10% pregnancy ticks left until birth, the mother dog will lay down and refuse to move.
Females track the amount of litters they have (updated after birth) and after 5 litters there is a 25% chance (50% in pedigree mode) the female becomes infertile.
Litters can be 1-4 puppies. There is a 10% chance for a false pregnancy, where the female goes into a heat cooldown instead of pregnancy. Male and female puppies are equally as likely to be born.
Neutering is permanently sterilizing a dog to prevent unwanted puppies and hormonal behavior.
Dogs can be neutered with a Potion of Sterility.
Once neutered, female dogs will no longer enter heat, and male dogs can no longer get females pregnant. Sterilization is not reversible, and should be considered carefully.
Neutering dogs that are not going to be used for breeding has several advantages. It prevents all unwanted litters, and allows male and female dogs to be housed together without risk. While it doesn't solve all aggression, it can significantly reduce expression of dog aggression and potential injuries or deaths: neutered male dogs will not fight over females in heat, and neither sex will display alert behavior towards dogs of the same sex.
All dogs that spawn naturally in shelter structures are already neutered. Stray dogs may also randomly spawn neutered.
Lethal genes are coat colors that, in real life, are known to be overbred, unnatural, or associated with severe health issues that would impact the working ability of a dog. While health issues associated with recessive genes may not be fatal in real life, recessive coat colors which are associated with deafness, blindness, bone and muscle or digestive issues are considered lethal, as well as dogs who would throw lethal homozygous pups.
Breeding together two dogs with a lethal marker means there is a 75% chance their puppies will be stillborn. These puppies are never born at all, and simply do not ever appear when the birth timer is up. Remaining puppies from a litter with two lethal colored parents will always be born neutered.
All white dogs are considered lethal variants, as well as merle and some diluted coats. Other off-standard coats may be considered lethal. Albino is also always considered lethal.
Lethal coat colors are defined per-breed, but crossbreeding cannot prevent lethal gene stillbirths. The only way to prevent lethal gene stillbirths is to pick parents carefully, and pick non-lethal coat colors to cross white or merle dogs with.
Which variants are lethal, and which are normal, are listed on the breed page.