WENOPAL

ProceduralDistributions

ClothingStoresHeadwear

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

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

IDNameWeight
Hat_BaseballCapTINTBaseball Cap10
Hat_BonnieHatBoonie Hat10
Hat_SweatbandSweatband10
Hat_BonnieHat_CamoGreenBoonie Hat8
Hat_Visor_WhiteTINTVisor8
Hat_BaseballCapBaseball Cap6
Hat_BaseballCapBlueBaseball Cap6
Hat_BaseballCapGreenBaseball Cap6
Hat_BaseballCapRedBaseball Cap6
Hat_BeanyBeanie6
Hat_BeanyBeanie6
Hat_BeretBeret6
Hat_BeretBeret6
Hat_BucketHatBucket Hat6
Hat_BucketHatBucket Hat6
Hat_GolfHatGolf Cap6
Hat_GolfHatTINTGolf Cap6
Hat_VisorBlackVisor6
Hat_VisorRedVisor6
Hat_BaseballCapKYBaseball Cap - Kentucky4
Hat_BaseballCapKY_RedBaseball Cap - Kentucky4
Hat_CowboyCowboy Hat4
Hat_FedoraFedora4
Hat_SummerHatSummer Hat4
Hat_SummerHatSummer Hat4
Hat_Fedora_DelmonteFedora2

Add your item to this list

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