branchrust_reboot/main/livestock_potentialcancel
4 Commits over 0 Days - Infinitycph!
Cap potential if the animal has no mother (found in wild/bought from vendor)
You will only be able to sell the subsequent generation of animals
Configurable with livestock.potentialUnbredCap
Modified potential so it slowly increases and decreases based on if the current happiness is higher or lower than potential
Takes 10 minutes to go from 0->100 if happiness is 100
Takes 15 minutes to go from 100 -> 0 if happiness is 0
New stat for animals - potential
Starts at 0 and and can only be modified while an animal is a child
Potential is the average happiness over time of an animal, gets locked in once they become and adult
Wild and purchased animals have 0 potential
Vendor sales are multiplied by potential, animals with potential of 0 cannot be sold