WENOPAL

ProceduralDistributions

ElectronicStoreMusic

Project Zomboid B42 loot table with 9 items and 4 rolls.

Data taken from the game files: Project Zomboid 42.21.0 · updated on

IDNameWeight
Disc_RetailCD50
Disc_RetailCD20
Mov_GuitarAmplifierGuitar Amplifier20
HeadphonesHeadphones20
Magazine_Music_NewMagazine10
HeadphonesHeadphones10
MicrophoneMicrophone10
Mov_BlackSpeakerCabinetBlack Speaker Cabinet4
Mov_WoodSpeakerCabinetWood Speaker Cabinet4

Add your item to this list

lua
local dist = ProceduralDistributions.list["ElectronicStoreMusic"]
if dist and dist.items then
    table.insert(dist.items, "MiMod.MiItem")
    table.insert(dist.items, 2)
end

Goes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide (Spanish) → · All lists