Hi! If you're using RPG Maker MZ to create games, check out my new project - a plugin that dynamically generates loot (amount & type of gold / items / weapons / armor) in treasure chests throughout the game, based on user-defined parameters such as the party members' stats, the treasure chest's location, enemy threat evaluation (if an enemy troop is guarding the chest), the stats of the actor that is chosen to open the chest, etc. It's all FREE, of course, and awaiting your feedback!
https://cocomode.itch.io/customized-dynamically-generated-chest-loot-for-rpg-mak...