WENOPAL

ProceduralDistributions

PrisonStorageGuns

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

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

IDNameWeight
HuntingRifleMSR788 Rifle20
RevolverPatrol Revolver20
ShotgunJS-2000 Shotgun20
HolsterSimple_BlackHolster20
HuntingRifleMSR788 Rifle10
JS14_RifleJS-14 Rifle10
RevolverPatrol Revolver10
ShotgunJS-2000 Shotgun10
HolsterSimple_BlackHolster10

junk rolls 1

A second roll with filler items.

IDNameWeight
CombinationPadlockCombination Padlock10
PadlockPadlock1

Add your item to this list

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