Overview
This file controls how each town NPC manipulates their store prices
Any column field name starting with “*” is considered a comment field and is not used by the game
Data Fields
npc – Points to the matching “Id” value in the monstats.txt file. This should not be changed.
buy mult – Used to calculate the item’s price when it is bought by the NPC from the player. This number is a fraction of 1024 in the following formula: [cost] * [buy mult] / 1024
sell mult – Used to calculate the item’s price when it is sold by the NPC to the player. This number is a fraction of 1024 in the following formula: [cost] * [sell mult] / 1024
rep mult – Used to calculate the cost to repair an item. This number is a fraction of 1024 in the following formula: [cost] * [rep mult] / 1024. This is then used to influence the repair cost based on the item durability and charges.
questflag A (to questflag C) – If the player has this quest flag progress, then apply the relative additional price calculations
Code | Quest Progress |
0 | Act 1 Prologue Seen |
1 | Den of Evil Completed |
2 | Sisters’ Burial Grounds Completed |
3 | Tools of the Trade Completed |
4 | The Search for Cain Completed |
5 | The Forgotten Tower Completed |
6 | Sisters to the Slaughter Completed |
7 | Act 1 Traversed |
8 | Act 2 Prologue Seen |
9 | Radament’s Lair Completed |
10 | The Horadric Staff Completed |
11 | Tainted Sun Completed |
12 | Arcane Sanctuary Completed |
13 | The Summoner Completed |
14 | The Seven Tombs Completed |
15 | Act 2 Traversed |
16 | Act 3 Prologue Seen |
17 | Lam Esen’s Tome Completed |
18 | Khalim’s Will Completed |
19 | Blade of the Old Religion Completed |
20 | The Golden Bird Completed |
21 | The Blackened Temple Completed |
22 | The Guardian Completed |
23 | Act 3 Traversed |
24 | Act 4 Prologue Seen |
25 | The Fallen Angel Completed |
26 | Terror’s End Completed |
27 | Hell’s Forge Completed |
28 | Act 4 Traversed |
29 | Rogue Warning Complete |
30 | Guard in Town Warning Complete |
31 | Guard in Desert Warning Complete |
32 | Dark Wanderer Seen |
33 | Angel Warning Complete |
34 | Act 5 Prologue Seen |
35 | Siege on Harrogath Completed |
36 | Rescue on Mount Arreat Completed |
37 | Prison of Ice Completed |
38 | Betrayal of Harrogath Completed |
39 | Rite of Passage Completed |
40 | Eve of Destruction Completed |
41 | Respecialization from Akara is Completed |
questbuymult A (to questbuymult C) – Same functionality as the “buy mult” field, except this relies on the “questflag” field and applies after the “buy mult” field calculation
questsellmult A (to questsellmult C) – Same functionality as the “sell mult” field, except this relies on the “questflag” field and applies after the “sell mult” field calculation
questrepmult A (to questrepmult C) – Same functionality as the “rep mult” field, except this relies on the “questflag” field and applies after the “rep mult” field calculation
max buy & max buy (N) & max buy (H) – Sets the maximum price that the NPC will pay, when the player sells an item in Normal Difficulty, Nightmare Difficulty, and Hell Difficulty, respectively