Fallout-style Random Vendor

I've already tried Simple Random Shop v. 1.0 and it didn't work how I wanted. It chose blocks of items from the database instead of choosing items individually, so you had the same shop combinations extremely often.

I'd like to have vendors in the style of the 3d fallout games, where you can designate what item type goes into what slot and is configurable with ranges and as many slots as you want. You can choose a type of slot like item, weapon, armor, etc. You can also define a database range where it would randomly choose a number for each slot. It would also be nice if this changed based on a global variable or something.

Example:
<Item 1-20>
<Item 1-20>
<Item 20-40>
<weapon 1-10>
<weapon 1-10>
<weapon 20-25>

This could translate to:

Spoiler
Screenshot (184).png
Bump

Original thread: https://forums.rpgmakerweb.com/threads/fallout-style-random-vendor.131180/