ProceduralDistributions
CarSupplyMagazines
Project Zomboid B42 loot table with 7 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Magazine_Car_New | 20 | |
Magazine_Car_New | 20 | |
Magazine_Car_New | 10 | |
Magazine_Car_New | 10 | |
MechanicMag1 | 8 | |
MechanicMag2 | 8 | |
MechanicMag3 | 8 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CarSupplyMagazines"]
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