ProceduralDistributions
ProduceStorageEmptyBoxes
Project Zomboid B42 loot table with 4 items and 8 rolls.
| ID | Name | Weight |
|---|---|---|
ProduceBox_ExtraSmall | Produce Box - Extra Small | 50 |
ProduceBox_Small | Produce Box - Small | 50 |
ProduceBox_Medium | Produce Box - Medium | 20 |
ProduceBox_Large | Produce Box - Large | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["ProduceStorageEmptyBoxes"]
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