ProceduralDistributions
FridgeFarmStorage
Project Zomboid B42 loot table with 16 items and 2 rolls.
| ID | Name | Weight |
|---|---|---|
Butter | 50 | |
MilkBottle | 50 | |
EggCarton | 50 | |
Butter | 20 | |
MilkBottle | 20 | |
EggCarton | 20 | |
BeerCan | 20 | |
BeerBottle | 20 | |
BeerCan | 10 | |
BeerBottle | 10 | |
Pop | 8 | |
Pop2 | 8 | |
Pop3 | 8 | |
PopBottle | 4 | |
WaterBottle | 4 | |
PopBottleRare | 1 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["FridgeFarmStorage"]
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 → · All lists