Enhanced Animal System

This script adjusts nine points:

1. animals no longer get only one animal as offspring, but specifically many for the respective animal species (with scattering).
2. stables can be overcrowded by the offspring, but this has an effect on the health of the animals. Alternatively, animals that no longer fit in the barn can be sold directly. This can be set in the animal menu.
3. animals that are too old will be removed randomly
4. animals with 0% health will be removed
5. animals offspring can be male or female
6. animals can be reproduced now by a veterinarian
7. reproduction attempts of the animals by the veterinarian can fail.
8. feed consumption of female animals increases shortly after birth
9. milk yield is dependent on the last birth

More detailed explanation:

To 1.)
By default, the following values are set for offspring.

Cows:
0 animals -> probability with 1%
1 animal -> probability with 98
2 animals -> probability with 1%

Pigs:
8 animals -> probability with 20%
9 animals -> probability with 20%
10 animals -> probability with 20%
11 animals -> probability with 20%
12 animals -> probability with 20%

Sheep:
0 animals -> probability with 1%
1 animal -> probability with 59
2 animals -> probability with 30%
3 animals -> probability with 10%

Horses:
0 animals -> probability with 1%
1 animal -> probability with 98%
2 animals -> probability with 1%

Chickens:
9 animals -> probability with 20%
10 animals -> probability with 20%
11 animals -> probability with 20%
12 animals -> probability with 20%
13 animals -> probability with 20%

To 2.)
There are two modes which can be set in the stable menu.

Mode 1.)
If a stable is full and new animals are born, these are sold directly. Here the normal animal price from the game/map is taken minus 25% transport costs. It is important to note that chickens are worth 0€ if they have just been born.

Mode 2.)
Allow overcrowding in a barn. This is possible by default up to 100%. Means a stable with 100 places can take 200 animals. However, this is only possible through births and not through the purchase of new animals! This mode is intended for the fact that one can distribute the new animals then even in other stables. If a stable should have an overcrowding, this has effects on the health of the animals. Health decreases depending on the overcrowding every hour if the barn is overcrowded for more than 12 hours. This goes from 0 to 5%. Means if a minimum overcrowding is present only the health stagnates. In the worst case it decreases by 5% per hour. If there is also a lack of food, the health can drop even more.

To 3.)
Old animals will be removed with a probability of 5%. This is calculated once per month when the animal reaches its maximum age. The default values are set as follows.

Cows 300 months or 25 years
Pigs 180 months or 15 years
Sheep 144 months or 12 years
Horses 360 months or 30 years
Chickens 180 months or 15 years

To 4.)
Animals with 0% health can be removed if this setting is enabled in the menu.

To 5.)
The animals can now have male or female offspring. The probability of which gender it will be is 50:50.

To 6.)
In the animal menu, the stable can now be switched from automatic reproduction to manual. This allows individual groups of animals, should they have the minimum age, to be reproduced manually. Both automatic and manual reproduction costs a fixed amount per animal (Can be set in the settings xml). If there is a male animal of this species with sufficient age in the stable, the reproduction will take place automatically (free of charge).

To 7.)
The veterinary reproduction of single animals can fail. This causes the reproduction to stop at 0%. The reproduction must then be attempted again.

Re 8.)
The feed consumption of the female animals depends on the last birth. Thus, feed consumption is first reduced shortly after birth. Then it rises, so that it is slightly increased, until it returns to the normal level.

To 9.)
The milk yield of cows and goats depends on the last birth. Here, the animals give no more milk from a repdouction of 80% (dry-off). From birth on, the milk yield increases up to 1.2 times, until it slowly decreases again. If no new reproduction takes place, the milk yield drops to 0%. The months since the last birth are displayed in the animal menu for the corresponding animals.

Important hints:
– Chickens, Sheeps and Goats now produce manure if the coop itself has manure.
– Goats produce goat milk and not wool. For this, however, the barn must have goat milk obstructed (Instruction included: GoatMilkInstruction.txt) or use the sheep barns with goat milk support from T4xs (Modname: FS22_husbandryGoatMilk).
– If modders do not want to have their Animals xml overwritten, they can now add the key doNotOverrideAnimals to their Animal xml of the map.

Credits:
Farmer_Andy/lsfarming-mods.com and wingi Thanks a lot for the animal visuals!

Many thanks to the following person for translation:
P_E_T_O (czech), Jankus (polish), Pericops (spanish)

Author:

Chi el


0,0
Rated 0,0 out of 5
0,0 out of 5 stars (based on 0 reviews)
Świetny0%
Dobry0%
Średni0%
Słaby0%
Straszny0%
Tagged , ,

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *