love the game, ex coder and may try to mod it soon.
I've been scanning current mods and have been trying to understand how some of the scripting works. makes sense.
The lua files do to, but with this new item distribution, I cant find jack online for the syntax of that code... for example:
table.insert(ProceduralDistributions["list"]["WardrobeMan"].junk.items, "myitem.something");
table.insert(ProceduralDistributions["list"]["WardrobeMan"].junk.items, 0.001);
I get that this should place an item in the lists to be spawned, but that second line, with the "0.001" before terminating the line, what is that number? A modder mentioned its the chance to spawn, is that right? When lowering it, and testing in game.. it doesn't seem so.
Anyway, I'm just trying to make items rare, but dont know what some of this code means.