WENOPAL

ProceduralDistributions

ClothingStorageHeadwear

Project Zomboid B42 loot table with 22 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_Visor_WhiteTINTVisor10
Hat_BonnieHat_CamoGreenBoonie Hat8
Hat_GolfHatGolf Cap8
Hat_GolfHatTINTGolf Cap8
Hat_VisorBlackVisor8
Hat_VisorRedVisor8
Hat_BaseballCapBaseball Cap6
Hat_BaseballCapBlueBaseball Cap6
Hat_BaseballCapGreenBaseball Cap6
Hat_BaseballCapRedBaseball Cap6
Hat_BeanyBeanie6
Hat_BeretBeret6
Hat_BucketHatBucket Hat6
Hat_BaseballCapKYBaseball Cap - Kentucky4
Hat_BaseballCapKY_RedBaseball Cap - Kentucky4
Hat_CowboyCowboy Hat4
Hat_FedoraFedora4
Hat_SummerHatSummer Hat4
Hat_Fedora_DelmonteFedora2

Add your item to this list

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