WENOPAL

ProceduralDistributions

GunStoreShotguns

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

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

IDNameWeight
DoubleBarrelShotgunDouble Barrel Shotgun20
ShotgunJS-2000 Shotgun20
AmmoStrap_ShellsShells Bandolier10
ChokeTubeFullChoke Tube - Full6
ChokeTubeImprovedChoke Tube - Improved6
RecoilPadRecoil Pad6
JS3T_ShotgunJS-3T Tactical Shotgun4
CarKeyVehicle Key2
KeyRing_BassKey Ring - Bass2
KeyRing_EagleFlagKey Ring - American Eagle2
KeyRing_PineTreeKey Ring - Pine Tree2
KeyRing_PrayingHandsKey Ring - Praying Hands2
Key1Key0.5
Key1Key0.5
Key1Key0.5

Add your item to this list

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