Taming & breeding study

New Valheim update

I recently came back and realized that there's been a change with how animals feed and breed so I did a little digging because I was having issues getting my boar to feed and with Lox it's even more wild. I'll get straight to the point.
Note: Some of this data is taken from the actual game script, other from my own experience.

  • Animals take exactly 30min to tame (assuming no interruption). (from script)
  • Animals require roughly 4 pieces of food to tame (with zero or minimum interruption).
  • The food they eat is as follows:
    Boar: Mushrooms, Carrots, Turnips, Raspberries and Blueberries.
    Wolf: Boar meat.
    Lox: Cloudberries.
    As per wiki; Boar apparently now also eat Onions, Wolves eat Deer meat, Neck meat, Fish, Lox meat and Sausages. Lox also eat Barley and Flax.

  • Breeding can only occur once every 10seconds. (from script)

  • Pregnancy occurs when an animal breeds 4 times. (from script)

  • Pregnancy lasts 10seconds before producing an offspring. (from script)

  • The offspring produced has a 50% chance of being the same Star tier as either parent.

So this is pretty basic info that most people already know, but now with the new AI, there have been some changes, particularly with breeding and feeding.

  • The maximum amount of animals within a 10meter radius (of the same type) is 4+1 (Boar: 5, Wolves: 4, Lox: 4 as per wiki). Note that the script has a value assigned to this variable that claims the maximum is 4 across all animals. I knew that Boar have a limit of 5 so I made a quick assumption that it must mean 4 other Boar without counting itself. I haven't done enough digging to check what might modify this value or use it otherwise.
  • Animals will not feed in an enclosure smaller than 3meters. This is an anomaly that I tested and didn't find much info online about. Tested with Boar. Regardless: For Wolves and Boar you need a 4meter enclosure. It doesn't have to be square, it can be 3×4 but you'll have more consistent breeding with a square enclosure of 4×4). I don't know why the 3×4 worked for me sometimes, maybe it was a fluke.
  • Lox are not properly configured. They use the same script to breed as other animals but because of their size, they have difficulty entering the breeding phase. To seek a partner for breeding, both animals need to be within 3 meters of each other. That is, 3 meters from the center of their body to the potential breeding partner. You can see the problem. Because the Lox are so big, they need to be essentially rubbing against each others bellies in order to breed.

One last note: The problem right now with the animal AI is really just the feeding. If you can feed your animals, they will breed (if you didn't reach the maximum limit of animals). There are no new restrictions for breeding. Only for feeding. So if you build an enclosure and they don't feed, you'll know it's too small.


I hope this clears up some confusion as to why your animals refuse to eat or breed.

For anyone that likes to build "meat factories" as I like to call them, just make sure that you have the required enclosure size and it will work. I ran a test and built a 4×4 about 12meters above ground, with a 2×2 tile in the middle and 1×1 tiles on each side, leaving the corners open for offspring to fall through. It works well. They don't breed as fast as before but it's fast enough. It worked for both Boar and Wolves. You might be able to do one for Lox, larger of course but for me it wasn't worth the hassle of even testing it. The idea of having a Lox meat factory alone is just crazy to me, especially since they love to walk on top of each other.


Edit: Some of you have taken this rather personally so I'm going to stop here and say that this was by no means supposed to be a full comprehensive guide on taming & breeding, it was a study to discuss AI behavior. So if I missed a few foods, it's not the end of the world. There are sources out there that can fill that gap of information but I've added the missing food and changed the flair to Discussion to avoid confusion. What originally brought this to my attention, as I already mentioned, was the animals refusing to eat. I wanted to know why this was happening and why the Lox breed so inconsistently. It was pretty quick to figure out, but I wanted data. The wiki was pretty bare-bones back in the day and lacked a lot of vital info, that's why you had so many people making taming guides even though only a few actually knew how taming worked internally. I guess it makes sense that over time the wiki would be updated to higher standards, it just never occurred to me to look at it as I expected the old lazy update to it with no detailed info on how the AI actually works. I don't want this to sound like an excuse, it was my mistake and I apologize. The points I made about the problems are valid however. If anything, this study is inconclusive but may still be helpful at least in explaining the main issue which is why animals are not eating despite being hungry and meeting all the other obvious required checkmarks.

Source: https://www.reddit.com/r/valheim/comments/spk9fc/taming_breeding_study/

leave a comment

Your email address will not be published. Required fields are marked *