ProceduralDistributions
CrateWine
Project Zomboid B42 loot table with 9 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Wine | White Wine | 20 |
Wine2 | Red Wine | 20 |
WineBox | Boxed Red Wine | 20 |
WineScrewtop | Cheap Red Wine | 20 |
Port | Port | 10 |
Sherry | Sherry | 10 |
Vermouth | Vermouth | 10 |
WineAged | Bottle of Fine Red Wine | 8 |
Champagne | Champagne | 4 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateWine"]
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