Hmmm, this is doable. With a little tweaking the code could add X number of items each time it's run.I vote not max values, I personally prefer options for incremental increases.
Example: Upon first running it, your inventory is filled with 100x of each item. Then the variable that sets the quantity is increased another 100 or 50 or whatever. The next time the code is run, it sets them to that new quantity. The only downside to this is if you only want to replenish items you're running low on, you need to restart the game to reset the quantity counter. Though I may be able to add a reset to that too but I don't want to make it too complex.