ProceduralDistributions
GroceryStandVegetables1
Project Zomboid B42 loot table with 10 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Carrots | Carrots | 20 |
Cucumber | Cucumber | 20 |
Leek | Leek | 20 |
Onion | Onion | 20 |
Potato | Potato | 20 |
Carrots | Carrots | 10 |
Cucumber | Cucumber | 10 |
Leek | Leek | 10 |
Onion | Onion | 10 |
Potato | Potato | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["GroceryStandVegetables1"]
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