ProceduralDistributions
CratePottery
Project Zomboid B42 loot table with 11 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Claybag | 50 | |
Brush | 20 | |
Claybag | 20 | |
ClayTool | 20 | |
Brush | 10 | |
ClayTool | 10 | |
BookPottery1 | 2 | |
BookPottery2 | 1 | |
BookPottery3 | 0.5 | |
BookPottery4 | 0.1 | |
BookPottery5 | 0.05 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CratePottery"]
if dist and dist.items then
table.insert(dist.items, "MiMod.MiItem")
table.insert(dist.items, 2)
endGoes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide → · All lists