Unable to complete trades with allied NPCs if only giving them items from my storage. #52088
Labels
NPC / Factions
NPCs, AI, Speech, Factions, Ownership
(S1 - Need confirmation)
Report waiting on confirmation of reproducibility
Describe the bug
Formerly I could trade with an allied (my faction) NPC and give them an item from my storage (blue color on trade screen), the trade would complete. Now it cannot complete, they show a negative volume on the trade in red. Suggesting that's the reason the trade fails.
Steps To Reproduce
Test_NPC_Trade.zip
Included save is for convenience. It's a new world/game manipulated (with debug and save-scum) to get them to join up.
NOTE: Items worn also fail to trade, that isn't new however.
Expected behavior
That the trade completes, assuming the NPC can carry the item.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth]
]
Additional context
If it weren't for an NPC having an asthma attack I might not have noticed... well they also wouldn't take seeds having nearly empty cargo pants (1 item) but I worked around that without thinking.
While preparing to bisect I observed my test scenario was not specific enough. What used to work is that trades would complete if the item being given was blue, though I was testing with an item my character was wearing. Turns out the distinction is important as having gone back about a month in commits items worn fail to trade. It's blue items that DO work that far back. Something recently causes blue items NOT to trade to NPCs.
Some workarounds for the time being. One of which I've almost never used before so I don't know how it interacts with say telling them to drop items they aren't using...
workaround 1 - Hold onto this for me will you?
workaround 2a - Let me put something in your bag for you....
Workaround 2b (variation) - take off that bag and hand it over so I can put something in it...
(benefit over 2a, the stuff stored in the bag is kept in the bag rather than merging with your inventory.)
Workaround 3 - Read this book, no wait, let me have the book, you take this thing...
Variations on a theme...
If you've got multiple items you want the NPC to use temporarily, stuff them in a bag and have them hang onto the bag. Got a bunch of seeds to plant? stuff them in a plastic bottle and then give them that. I could see this as handy to have items you'd like the NPC to have situationally stashed away somewhere.
There might be more but those are the ones I considered/tried, mostly in reverse order... Also yes I've just recently noticed that NPCs will plant seeds you've placed in a zone marked for seeds even without a faction camp.
The text was updated successfully, but these errors were encountered: