You don't need to change any scripts: just read the end of module_scripts.py from the PW module system at version 4.4.0 (or whatever is current), and choose the number to put in Value 2 of the chest. For example, 3 would give a semi random collection of bread, cooked fish, cooked meat, meat pies, salted fish, or grapes; 13 would give various combinations of peasant clothes and tools; 18 would result in random "bandit" style equipment or precious metal bar; 99 would result in a random outfit of top tier armor and weapon... etc. The load outs included are mainly just as an example, for event hosters to copy for more specific requirements; but if a general scene maker wanted to include some more default load outs that seem useful, they might be added for the next official version.
You can read the code online here: https://github.com/vornne/pw_module_system/blob/pw/module_scripts.py#L12329 (might be slow to load).