[DiscordArchive] Most vendors have their entire inventories set with slot = 0, the core does
[DiscordArchive] Most vendors have their entire inventories set with slot = 0, the core does
Archived author: MaloW • Posted: 2020-05-31T09:11:48.644000+00:00
Original source
Most vendors have their entire inventories set with slot = 0, the core does
"SELECT entry, item, maxcount, incrtime, ExtendedCost FROM npc_vendor ORDER BY entry, slot ASC"
So if both entry and slot are the same I guess it sorts by the primary key which is (entry, item, ExtendedCost), which I guess means that if you copy one vendor's inventory the ordering should in theory stay the same?