Thread:Reddieeddie/@comment-27219153-20170112215430/@comment-30079501-20170113020202

MilkMC wrote: I noticed your edit to the Dalish Merchant page. I am wondering how you acquired the price ranges for each trade. Did you just spawn a bunch and use the two most extreme values for each item or did you find something in the code that indicates the range? If the latter, I would be highly interested in knowing how to do this.

I've just been spawning a bunch, but I know one can check trader prices in the mod files. From what I've gathered, every trader has an "average price" for each item, which is a single number. The actual price of an item can then be within a certain range of that number. For example, an item with an average price of 3 will have a range from 2 to 4. This holds true in every case that I've seen, from buying arrows/bolts to selling iron, copper, tin, and bronze ingots.

As I said, this number can definitely be found in the mod files, I just don't have the techy know-how to find it. You might want to talk to Campinator, as he gave me some assistance in this matter a few weeks back.

The NEI plugin designed by Malvegil also used to include this info for traders. Sadly, that feature was removed a couple updates ago, and has not been added back in.