Value is what is described as the monetary worth of an item. If sold by an NPC, it will also be the price the NPC sells that item for. When selling, items are always sold for
20*1/5 (20%) of the purchase price, rounded down. The rounding can lead to confusion about the exact price of items. Existing modifiers can also change an item's value.
A Musket Ball has a value of 7.
- Selling a single Musket Ball will return 1. One Musket Ball has a value of 7 and 7 / 5 = 1.4. After rounding, the result is 1.
- Desktop 188.8.131.52: Changed the way the value of stacked items is rounded to fix selling/buyback inconsistencies.