ProceduralDistributions
MusicStoreCDs
Project Zomboid B42 loot table with 9 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Disc_Retail | CD | 50 |
CDplayer | CD Player | 20 |
Disc_Retail | CD | 20 |
Disc_Retail | CD | 20 |
CDplayer | CD Player | 10 |
Disc_Retail | CD | 10 |
Disc_Retail | CD | 10 |
Earbuds | Earbuds | 10 |
Headphones | Headphones | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["MusicStoreCDs"]
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