ProceduralDistributions
LiquorStoreWine
Project Zomboid B42 loot table with 8 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Wine | White Wine | 20 |
Wine2 | Red Wine | 20 |
WineBox | Boxed Red Wine | 20 |
Wine | White Wine | 10 |
Wine2 | Red Wine | 10 |
WineBox | Boxed Red Wine | 10 |
WineRed_Boxed | Box of Red Wine | 4 |
WineWhite_Boxed | Box of White Wine | 4 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["LiquorStoreWine"]
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