Rising World

Rising World

Does turning off the NPC hunger system prevent animals from getting pregnant?
We don't really want to use the NPC hunger system, but we do still want our animals to breed.

So my question is:

Does setting

Settings_NpcHungerEnabled=False

currently prevent animals from becoming pregnant?

We have tried hand-feeding both the male and female animals, but since disabling NPC hunger we haven't seen any pregnancies happen at all.

The main reason we turned hunger off is that we find the system a bit stressful. We don't really enjoy constantly checking whether the animals need food, and seeing them turn into the thin/underfed model makes us feel like we have to keep worrying about them.

We would much rather have hunger disabled, but still be able to feed animals manually when we want to breed them.

Is breeding still supposed to work with NPC hunger disabled, or does hunger currently need to be enabled for pregnancy to happen?
< >
Showing 1-5 of 5 comments
Sep 22 @ 7:48am 
Basically it should still be possible to feed animals if hunger is disabled (and breeding should also work)... for breeding, the animal must not be hungry (which shouldn't be a problem if hunger is disabled), must have spent at least a little time with the player (petting the animal also helps) and must have been fed within the last 30 minutes.

However, there is also another limitation (unrelated to hunger): animals don't get pregnant if there are already more than 12 family members nearby. But it seems the game counts all animals of the same type (that's unintended) oO Are there perhaps more than 12 animals in the same pen?
thank you for the Answer Red, we will go try :) but i also know you still working in the kitchen with pathfinding and other good stuff you planning :)
Oh sorry Red1, we just had a follow up question to your answer

so with that being said having 15 chickens, they should not prevent sheep pregnancy?

my girlfriend has 4 sheep in a corral , 1 ram, 3 female.

she had them tamed and spend hours around them.

she pets and feeds everything.

we do sit near a point that spawns wild animals like sheep to roam on and of the property , could that prevent things? like the (if more of the same family type are around) ?

and thus its for sure not a bug that prevents an animal from getting "FULL" like the FULL system somehow still affects the pregnancy mechanic? not saying i dont believe your word you are the dev, but something seems of, before the last patch we went like omg babies again.. and now it just looks like nothing gets pregnant,

oh and colors don't matter right? black ram + white female sheep etc?
Sep 25 @ 5:55am 
Sorry for my late response, but yes, the chickens should not prevent sheep pregnancy. Basically the 4 sheep (1 ram, 3 female) should still get pregnant.

These are all technical requirements for pregnancy (everything marked with a * has changed with the update or is new):
1. Player needs to be in proximity (< 64 blocks away)
2. A male is in proximity (< 24 blocks)
3. Male and female require player interaction like feeding or petting (this is new: with the old update, it was sufficient if you just spent a bit of time around the female)
4. Male and female need to be hand fed (this is new)
5. Hunger needs to be above 50%, which is usually the case after feeding the animal 1-2 times (this is also new)
6. There are less than 12 family-members in proximity (< 32 blocks) (this is also new)
7. After giving birth, there is a cooldown of ~40,000 seconds (before the update, it was 20,000 seconds)

There is also another change which affects how often an npc gets pregnant: if all requirements are met, there is an internal value which is incremented every tick. After 15 minutes, the animal becomes pregnant. If the male goes away or the animal becomes hungry in the meantime, the value decreases (before the update, the value never decreased).

Originally posted by Requiem:
we do sit near a point that spawns wild animals like sheep to roam on and of the property , could that prevent things? like the (if more of the same family type are around) ?
Yes, as long as they're the same type (i.e. sheeps). The range is 32 blocks. This is something I definitely want to change (so wild animals no longer affect your animals, or maybe consider only the mother's offspring) :)

Originally posted by Requiem:
not saying i dont believe your word you are the dev, but something seems of, before the last patch we went like omg babies again.. and now it just looks like nothing gets pregnant,
Oh, there is of course always a chance that there is a bug. Even if I check the code and can't find anything, there is still a chance that there is a less obvious bug...

Originally posted by Requiem:
oh and colors don't matter right? black ram + white female sheep etc?
Well, yes and no. Currently the childs always have the same variant as the mother (so the color of the male animal does not play a role) ^^
I wonder if it might be a bug situation like;
The animals were hungry and then they deactivated the hunger action. But, the animals last state was 'hungry' and it sort of stuck that way. So, then they won't breed... even though the hunger system was disabled.

To test this, a person could re-activate the hunger system, feed all the animals up good and then, deactivate the hunger system again. Check to see if, after some time, animals are breeding again... like they're supposed to when all conditions met.
< >
Showing 1-5 of 5 comments
Per page: 1530 50