WENOPAL

ProceduralDistributions

CrateEmptyMixed

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

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

IDNameWeight
BeerBottleEmpty20
BeerCanEmptyBeer Can20
Pop2EmptyPop Can20
Pop3EmptyPop Can20
PopEmptyPop Can20
PopBottleEmpty10
WaterBottleEmpty10
PopBottleRareEmpty4
GinEmpty1
RumEmpty1
TequilaEmpty1
VodkaEmpty1
WhiskeyEmpty1
Wine2OpenEmpty1
WineOpenEmpty1

Add your item to this list

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