View Issue Details

IDProjectCategoryView StatusLast Update
0013106Dwarf FortressCreaturespublic2025-02-20 05:42
Reporteramade Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status newResolutionopen 
PlatformPC (Steam)OSWin 10OS Version19045.5371
Product Version51.05 
Summary0013106: Wildlife creatures in a pack changes followed unit to newborn livestock
DescriptionUsing DFhack I've observed that the reason why wildlife will frequently get stuck unable to leave the map is because the unit they're following is not a member of their pack, Instead, one of the fortress' livestock, usually one that was recently born during the pack's stay on the map, has become the pack leader for at least one of the wildlife creatures. Because pack members follow one another in a chain, this leads to having the whole pack stuck on the map because the creature at the top of the chain is trying to follow a fortress creature.

So far I have not been able to directly observe exactly when and why creatures change the unit they're following.

In normal behavior, once the animal's leave_countdown runs out and it's not following any unit (i.e. it's at the top of the pack's chain), it will head for the map edge to leave. So after the leader at the top of the chain leaves or dies, the one following it will no longer have a unit to follow and proceed to leave the map, and the rest of the pack will follow suit one by one. Note: Pack leaders that are caught in cage traps will also strand the whole pack on the map until it is released or killed.
Steps To Reproduce1. Keep some livestock and breed them (egg-layers are easiest for high frequency and large numbers)
2. Wait for wild animals to appear in packs (e.g. reindeer) and note which units are following which in 'unit.following'
3. Get some new livestock to be born while wild animal is still on the map (either requires some luck in timing or DFhackery)
4. Observe any changes to 'unit.following' in any creatures in the pack still remaining on the map
Tagswildlife

Activities

There are no notes attached to this issue.

Add Note

Note

Issue History

Date Modified Username Field Change
2025-02-20 05:42 amade New Issue
2025-02-20 05:42 amade Tag Attached: wildlife