WENOPAL

ProceduralDistributions

StoreShelfSpices

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

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

IDNameWeight
PepperPepper20
SaltSalt20
SeasoningSaltSeasoning Salt20
PepperPepper10
SaltSalt10
SeasoningSaltSeasoning Salt10
PowderedGarlicGarlic (Powdered)8
PowderedOnionOnion (Powdered)8
Seasoning_BasilBasil (Dried)4
Seasoning_ChivesChives (Dried)4
Seasoning_CilantroCilantro (Dried)4
Seasoning_OreganoOregano (Dried)4
Seasoning_ParsleyParsley (Dried)4
Seasoning_RosemaryRosemary (Dried)4
Seasoning_SageSage (Dried)4
Seasoning_ThymeThyme (Dried)4

Add your item to this list

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