WENOPAL

ProceduralDistributions

GunStoreRifles

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

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

IDNameWeight
HuntingRifleMSR788 Rifle10
L92_CarbineL92 Carbine10
L94_RifleL94 Rifle10
VarmintRifleMSR700 Rifle10
AmmoStrap_BulletsBullets Bandolier10
JS14_RifleJS-14 Rifle8
TrapperCarbineTrapper Carbine8
x2Scopex2 Scope8
RecoilPadRecoil Pad6
x4Scopex4 Scope6
x8Scopex8 Scope4
CarKeyVehicle Key2
KeyRing_BassKey Ring - Bass2
KeyRing_EagleFlagKey Ring - American Eagle2
KeyRing_PineTreeKey Ring - Pine Tree2
KeyRing_PrayingHandsKey Ring - Praying Hands2
AssaultRifle2M1A Rifle2
Key1Key0.5
Key1Key0.5
Key1Key0.5

Add your item to this list

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