I'm interested in making a mod that will add 4 custom items to the game, but there should be only 4 of them and they should only spawn in designated buildings like the prison for example.
Based on what I've read you can add items to the distribution list with code like the below, but I can't find any examples of only spawning at particular locations, or guaranteeing at lest one item will spawn. Is this possible?
table.insert(ProceduralDistributions["list"]["CampingStoreGear"].items, "Base.SleepingbagRolled");
table.insert(ProceduralDistributions["list"]["CampingStoreGear"].items, 3);