ProceduralDistributions
GroceryStorageCrate2
Project Zomboid B42 loot table with 10 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
CannedCarrots2 | Canned Carrots | 10 |
CannedCorn | Canned Corn | 10 |
CannedPeas | Canned Peas | 10 |
CannedPotato2 | Canned Potato | 10 |
CannedTomato2 | Canned Tomato | 10 |
CannedCarrots_Box | Box of Canned Carrots | 0.1 |
CannedCorn_Box | Box of Canned Corn | 0.1 |
CannedPeas_Box | Box of Canned Peas | 0.1 |
CannedPotato_Box | Box of Canned Potato | 0.1 |
CannedTomato_Box | Box of Canned Tomato | 0.1 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["GroceryStorageCrate2"]
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