ProceduralDistributions
CrateIndustrialDye
Project Zomboid B42 loot table with 4 items and 8 rolls.
| ID | Name | Weight |
|---|---|---|
IndustrialDye | Industrial Dye | 50 |
IndustrialDye | Industrial Dye | 20 |
IndustrialDye | Industrial Dye | 20 |
IndustrialDye | Industrial Dye | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateIndustrialDye"]
if dist and dist.items then
table.insert(dist.items, "MiMod.MiItem")
table.insert(dist.items, 2)
endGoes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide (Spanish) → · All lists