Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Apr 4, 2020

Summary

SUMMARY: Bugfixes "No more floor items when trading with follower NPCs."

Purpose of change

Close #39232

Describe the solution

Add a check so that the loop that populates the trade window with nearby NPC-owned items only fires if said NPC is a shopkeeper.

Describe alternatives you've considered

None.

Testing

Implemented the above change and traded with a follower and a shopkeeper at the Refugee Center, nearby items only showed up for the shopkeeper.

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` NPC / Factions NPCs, AI, Speech, Factions, Ownership labels Apr 4, 2020
@ZhilkinSerg ZhilkinSerg merged commit ac0d129 into CleverRaven:master Apr 4, 2020
@ghost ghost deleted the npc_trade_floor_items_fix branch September 2, 2021 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting rid(somehow) of nearby items in NPC trade inventory
2 participants