WENOPAL

ProceduralDistributions

ElectronicStoreCases

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

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

IDNameWeight
Bag_ProtectiveCaseSmallSmall Protective Case50
Bag_ProtectiveCaseProtective Case20
Bag_ProtectiveCaseSmallSmall Protective Case20
Bag_ProtectiveCaseProtective Case10
Bag_ProtectiveCaseBulkyBulky Protective Container10

Add your item to this list

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