ProceduralDistributions
CrateCannedFoodSpoiled
Project Zomboid B42 loot table with 12 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
TinCanEmpty | Tin Can | 10 |
TinCanEmpty | Tin Can | 10 |
TinCanEmpty | Tin Can | 10 |
TinCanEmpty | Tin Can | 10 |
Cockroach | Cockroach | 6 |
Cockroach | Cockroach | 6 |
WaterBottleEmpty | 6 | |
WaterBottleEmpty | 6 | |
DeadRat | Dead Rat | 4 |
DentedCan | Dented Unlabeled Can of Food | 4 |
DeadMouse | Dead Mouse | 2 |
MysteryCan | Unlabeled Can of Food | 2 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateCannedFoodSpoiled"]
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