ProceduralDistributions
CrateCanning
Project Zomboid B42 loot table with 9 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
EmptyJar | Jar | 20 |
EmptyJar | Jar | 20 |
JarLid | Jar Lid | 20 |
JarLid | Jar Lid | 20 |
EmptyJar | Jar | 10 |
EmptyJar | Jar | 10 |
JarLid | Jar Lid | 10 |
JarLid | Jar Lid | 10 |
BoxOfJars | Box of Jars | 4 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateCanning"]
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