Open maarxx opened 1 year ago
That's not a bug. Predators have a special behavior, if they can't find food "normally" they switch to "hunting" mode that doesn't care what it is as long as it walks, and obviously it doesn't care about restrictions. The actual bug there is that predators going to hunt would be forbidden animals, not eating corpses after hunting them down. Are you sure you want me to fix that?
Huh? I'm not quite sure I follow. I can see it's probably not a "Bug", so I've changed it to "Enhancement". Otherwise, I'll take it from the top with what I know.
A series of weather events have collapsed the food chain on my tile and I've had to caravan out all the animals. Notably, like 120 wargs. None of their food is preserved, so now I've gotta keep hitting encounter tiles on the world map and keep finding them food. This is actually kinda fun to play, as long as the management doesn't get too tedious. This is how I got here.
By the time we get to each encounter tile, the wargs are starving, and immediately run to hunt, kill, and eat the wildlife. They shouldn't actually eat the corpses unbutchered, because it feeds fewer wargs that way. I need to butcher the corpses before the wargs eat. I don't care too much who kills the animals, but time is a factor. Getting this done quickly and moving on would be nice.
Because they are intelligent animals that are able to be zoned to an Allowed Area, I think I have complete control over what they do:
Therefore I basically have complete control over them, even in pure vanilla, but it takes some micro management.
I start with an Area that is the whole map, except for corpse Stockpile, and let them go hunt. When they kill it and start to eat it, I remove that corpse from their Area, and toggle their Area back-and-forth to interrupt them. This way, they will basically go kill everything on the map, but not eat anything. I can do this, even in pure vanilla, but it's tedious.
It becomes extra-tedious if Haulers get interrupted while moving a corpse and put it down in an unexpected spot, because all the wargs run for it, and I also have to remove that spot from their Area and interrupt them by toggling their Area again.
I added this mod to my game, and assigned the Wargs to a Food Restriction that has only Raw Meat and not Corpses.
This is 90% of what I needed, right away. Wargs will no longer run to eat corpses that are already on the ground, no matter where they are located, so I don't need to manage this in their Allowed Area anymore.
They will still go hunt and kill the wildlife, which is fine. Hey, desirable, even, because they're helping me get it done faster.
But right after killing the animal, they start eating it, as (I think) a continuation of their hunting job (technically speaking).
I can still control this, but I'm back to micro managing it. I have to watch them hunting, and as soon as they finish killing the animal and start to eat it, I just have to interrupt them by toggling their Allowed Area to (anything) else and back again. Then this mod takes over, and they don't try to eat the corpses anymore.
I'm not asking the mod to influence or control which animals they go hunt. That behavior seems fair to leave as-is.
But after they finish hunting an animal, and right as their job switches from attacking it to eating it, I would ask this mod to check their Food Restriction, and interrupt them if it isn't allowed.
Then, at least in my case, their natural behavior will align with optimal play behavior -- the starving wargs will run all over the tile and murder everything but not eat any of it.
Yeah, I understood you the first time. Look, what you're asking for is something for a hunting mod, not for food restriction mod. To keep the mod faithful to vanilla and to the purpose of this mod, I should forbid predators from hunting animals that they WILL NOT eat, because there is no reason for predators to hunt them otherwise (per vanilla only reason for predators to hunt is to eat the target). And instead of making a half-measure I would rather make something more focused on what I ACTUALLY want - predators go hunting and bringing back the game, and don't have to starve to do it. But mod like that already exists. Why invent a bicycle?
Ahhhh, okay, well I understood you better this time. 😀 If that is where you want to draw the line that is fine of course.
Personally I like to draw the line around "make it easier to automate the things that vanilla would let you micro, but not add new behaviors" and my thoughts are more about mechanics than pawn motivations.
Thanks for the mod and good luck on the rim!
Well you see, vanilla doesn't allow to restrict animals in the first place, that's why hunting behavior doesn't have it, too. Hunting is exclusive to animals, when "looking for food" isn't, it's shared with all food eating creatures, including humans. This mod doesn't actually create anything new (doesn't patch or hack into functions) to make animals obey restrictions, it's all vanilla. Mod only said "please apply restrictions to animals, too". But it doesn't work for hunting, because it doesn't have the code that applies restrictions. So if it "did" it probably would say animals not to hunt stuff they're not allowed to eat, That's why I said it's probably a bug that predators hunt at all, and not that they eat a corpse after finishing the prey even if it's restricted.
Enhancement: Starving Tamed Predator That Kills Wildlife Will Eat Corpse Regardless of Restriction
Even on a food restriction with corpses restricted, after killing wildlife, they will eat the corpse.
I was hoping they would kill it and not eat it, moving on to kill another.
You can micro this even in pure vanilla by changing their allowed area after the kill, and it is game-time-efficient but real-time-tedious and so I was hoping this mod would automate that.