Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Auto-pick up feature doesn't work for NPC

Open phelieros opened this issue 1 year ago • 0 comments

Describe the bug

Auto-pick up seems to be broken for NPC. They do not pick up items when auto-pick up is enabled in game options, they have available inventory space, are told to pick up items through dialogue and their auto-pick up filters are configured. When they walk over items that match their specified filters, they do not pick them up.

For ease of testing I've set up the same filters for both player char and npc and then disabled them for PC so he doesn't immediately pick everything up, but when you do verify that the feature doesn't work for npc, you can enable the same filters for player char and see the difference - the feature works for him.

Relevant screens:

Auto-pick up is enabled in game options: auto-pick up options

Npc has available inventory space: npc inventory space

NPC is told to pick up items: npc behavior

Filters for both npc and player char: npc pick up rules

All 4 of those items are in a pile right nearby.

Attach save file

Hosston-trimmed.tar.gz

Steps to reproduce

Load attached save, let NPC walk over nearby pile and check if he picks up items from his pick up list. After doing so can open auto pick up manager screen for player, enable the same filters and walk over the pile again to see if auto pick up works for him.

Expected behavior

NPC do pick up items you specified in their pick up filters.

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.3570 (22H2)
  • Game Version: c6ba9a2 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [ Dark Days Ahead [dda], Portal Storms Ignore NPCs [personal_portal_storms] ]

Additional context

No response

phelieros avatar Sep 12 '24 09:09 phelieros