NPCs autoequip new clothing with the same price
This may seem trivial, but here is the situation.
Irgola is wearing a "common_shirt_04_b" initially. I sold a "common_shirt_01" to him. He instantly wears the sold "common_shirt_01".
The quality(common) is the same but the visuals are different, common_shirt_04_b is better looking than the sack-like "common_shirt_01" which is better suited for peasants and paupers. Irgola is supposedly a successful merchant, it looks strange for him to swap the worst shirt for the better looking one.
This also applies to pants.
And some extra information, if I sell "common_shirt_04_b" to him(the one he wears initially), he swaps that shirt again for the previously sold "common_shirt_01". Irgola seems to be trolling us here..
I understand the engine determines the quality of clothes base on the value of it. So this issue is expected since the afromentioned clothes are of the same value. I was thinking about making a mod that changes the value of the same quality clothes a bit to differentiate them, so that this issue can be solved in openmw.
Note: This is issue is absent in the morrowind engine.
(RM-4165 from redmine: created on 2017-10-19 by Randy Davin, , closed on 2017-10-21 by nobody)