TRADER_AVOID flag is applied inconsistently #22743
Labels
Items / Item Actions / Item Qualities
Items and how they work and interact
NPC / Factions
NPCs, AI, Speech, Factions, Ownership
Game version: 0.C-7052
Operating system: Windows XP SP3 x86
Tiles or curses: tiles
Mods active: default only
Expected behavior
Items with
TRADER_AVOID
flag shouldn't appear as a viable option in player inventory when trading with NPCs.Actual behavior
Sometimes items with
TRADER_AVOID
flag indeed doesn't appear as a possible trade item, sometimes they do. One can't choose tinfoil hat to trade, but can choose heavy crossbow, both have the aforementioned flag.Steps to reproduce the behavior
Wish for some items with the flag (tinfoil hat and heavy crossbow, or active emp grenade and lit Louisville Slaughterer, for example) and try to trade them with some NPC.
The text was updated successfully, but these errors were encountered: