WENOPAL

ProceduralDistributions

CratePetSupplies

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

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

IDNameWeight
DogfoodCanned Dog Food20
CatFoodBagDry Cat Food10
CatTreatsCat Treats10
DogfoodCanned Dog Food10
DogFoodBagDry Dog Food10
TennisBallTennis Ball8
CatToyMouse Toy6
DogChewDog Chew Toy6
LeashLeash4
RubberduckyRubber Duck4
WaterDishEmpty4
DogTag_PetDog Tag1

Add your item to this list

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