ProceduralDistributions
GroceryStandFruits1
Project Zomboid B42 loot table with 10 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Apple | Apple | 20 |
Banana | Banana | 20 |
Peach | Peach | 20 |
Pear | Pear | 20 |
Apple | Apple | 10 |
Banana | Banana | 10 |
Peach | Peach | 10 |
Pear | Pear | 10 |
Pineapple | Pineapple | 8 |
Watermelon | Watermelon | 4 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["GroceryStandFruits1"]
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