Thread:Campinator/@comment-27219153-20170113230759/@comment-25565811-20170116212553

''Sinthorion wrote: ... Here is the decompiled code ...''

Thanks a lot, Sinthorion. So it's
 * still 0.7 .. 1.3
 * at least 1 (which is unnecessary, if the average price is at least 1, as 0.7 is rounded to 1)
 * for enchanted items add half of the price
 * then rounded to integer
 * at least 1 (which should be unnecessary again, as we started with at least 0.7)

I worked the values and the enchanted bonus into the template:bar. Here is the resulting list: