📑000 - ShopName
Shop — General Format
Defines the items sold by an NPC. This is the format used by all files in this folder — each file represents an NPC's shop, linked by the number at the beginning of the filename to the corresponding Index in ShopManager.txt (e.g., 000 - Hanzo the Blacksmith.txt is the shop for Index 0).
Column
Accepted Values
Description
Sect
Number (item group)
Combined with Type, it forms the ID of the item being sold.
Type
Number (item index within the group)
See Sect.
Level
Number
Level (+value) of the item for sale.
Dur
Number, or 0
Item durability. 0 = automatically uses the default maximum durability of that item.
Skill
Number
Item Skill option.
Luck
Number
Item Luck option.
Option
Number
Additional option (the percentage damage/defense bonus) of the item.
ExcOp
Number, in bits (0 to 63)
Excellent options of the item. 0 = none.
SetOp
Number
Ancient/set option of the item. 0 = none.
JoH
Number
Jewel of Harmony bonus of the item (same format as JewelOfHarmonyOption.txt: one half indicates which bonus, the other half indicates its level). 0 = none.
OEx
Number
Special "380" option of the item (see 380ItemOption.txt). 0 = none.
Socket1 – Socket5
Number, or 255
Option for each of the item's sockets, in order. 255 = empty socket. Only has an effect if the item actually supports that socket (see SocketItemType.txt).
Bonus
Number, or 255
Special socket combination bonus of the item (see block 1/2 of SocketItemOption.txt). 255 = none.
Comment
Text after //
Name of the item, for editor identification purposes only — it is not read by the game.
Notes
All items in a shop come with fixed options defined line by line — nothing here is randomized like it is with items that drop from monsters.
If the item does not support sockets (is not in
SocketItemType.txt), the values inSocket1–Socket5are ignored.The order of the lines in the file is the order in which the items fill the shop slots, from top to bottom and left to right — if a larger item does not fit in the current position, it skips to the next available one.
Last updated