WENOPAL

ProceduralDistributions

FridgeBeer

Project Zomboid B42 loot table with 10 items and 2 rolls.

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

IDNameWeight
BeerCanBeer Can20
BeerCanBeer Can20
BeerBottleBeer Bottle20
BeerBottleBeer Bottle20
BeerCanBeer Can10
BeerCanBeer Can10
BeerBottleBeer Bottle10
BeerBottleBeer Bottle10
BeerCanPackPack of Beer Cans0.1
BeerPackPack of Beer Bottles0.1

Add your item to this list

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