ProceduralDistributions
FridgeBottles
Project Zomboid B42 loot table with 9 items and 2 rolls.
| ID | Name | Weight |
|---|---|---|
WaterBottle | Water Bottle | 20 |
WaterBottle | Water Bottle | 20 |
PopBottle | Orange Soda | 20 |
PopBottle | Orange Soda | 20 |
WaterBottle | Water Bottle | 10 |
WaterBottle | Water Bottle | 10 |
PopBottle | Orange Soda | 10 |
PopBottle | Orange Soda | 10 |
PopBottleRare | Bottle | 8 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["FridgeBottles"]
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