Merchants and other NPC's that stock many different items, usually have multiple inventories, most of which are inaccessible (I saw a player opening one in Broken Hills once, in the internet, but it's an exploit, it's not supposed to be opened by players).
The NPC script takes the items from a...