WENOPAL

ProceduralDistributions

CrateInstruments

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

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

IDNameWeight
DrumstickDrumstick20
DrumstickDrumstick10
HarmonicaHarmonica8
BanjoBanjo6
KeytarKeytar6
FluteFlute4
GuitarAcousticAcoustic Guitar4
GuitarElectricBassElectric Bass4
GuitarElectricElectric Guitar4
SaxophoneSaxophone4
TrumpetTrumpet4
ViolinViolin4

Add your item to this list

lua
local dist = ProceduralDistributions.list["CrateInstruments"]
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