ProceduralDistributions
FridgeSoda
Project Zomboid B42 loot table with 10 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Pop | Diet Cola | 10 |
Pop2 | Cola | 10 |
Pop3 | Ginger Ale | 10 |
SodaCan | Can of Soda | 10 |
PopBottle | Orange Soda | 8 |
Pop | Diet Cola | 4 |
Pop2 | Cola | 4 |
Pop3 | Ginger Ale | 4 |
PopBottleRare | Bottle | 4 |
PopBottle | Orange Soda | 2 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["FridgeSoda"]
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