ProceduralDistributions
ProduceStorageRottenFruit
Project Zomboid B42 loot table with 9 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Cherry | Cherry | 50 |
Strewberrie | Strawberries | 50 |
Apple | Apple | 20 |
Cherry | Cherry | 20 |
Grapes | Grapes | 20 |
Peach | Peach | 20 |
Pear | Pear | 20 |
Strewberrie | Strawberries | 20 |
Watermelon | Watermelon | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["ProduceStorageRottenFruit"]
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