WENOPAL

ProceduralDistributions

BakeryDoughnuts

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

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

IDNameWeight
DoughnutChocolateChocolate Donut20
DoughnutFrostedFrosted Donut20
DoughnutJellyJelly Donut20
DoughnutPlainDonut20
DoughnutChocolateChocolate Donut10
DoughnutFrostedFrosted Donut10
DoughnutJellyJelly Donut10
DoughnutPlainDonut10

Add your item to this list

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