ProceduralDistributions
GroceryStandVegetables4
Project Zomboid B42 loot table with 10 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Broccoli | Broccoli | 20 |
BrusselSprouts | Brussels Sprouts | 20 |
Cabbage | Cabbage | 20 |
Spinach | Spinach | 20 |
Eggplant | Eggplant | 20 |
Broccoli | Broccoli | 10 |
BrusselSprouts | Brussels Sprouts | 10 |
Cabbage | Cabbage | 10 |
Spinach | Spinach | 10 |
Eggplant | Eggplant | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["GroceryStandVegetables4"]
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