ProceduralDistributions
CafeteriaFruit
Project Zomboid B42 loot table with 14 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Apple | Apple | 8 |
Banana | Banana | 8 |
BerryBlue | Berries | 8 |
Cherry | Cherry | 8 |
Strewberrie | Strawberries | 8 |
GranolaBar | Granola Bar | 8 |
Yoghurt | Yogurt | 8 |
Grapefruit | Grapefruit | 4 |
Grapes | Grapes | 4 |
Mango | Mango | 4 |
Orange | Orange | 4 |
Peach | Peach | 4 |
Pear | Pear | 4 |
WatermelonSliced | Watermelon Slice | 2 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CafeteriaFruit"]
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