ProceduralDistributions
ArtStorePen
Project Zomboid B42 loot table with 12 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Pencil | Pencil | 20 |
Eraser | Eraser | 20 |
BluePen | Pen - Blue | 20 |
RedPen | Pen - Red | 20 |
Pen | Pen - Black | 20 |
Crayons | Crayons | 20 |
Pencil | Pencil | 10 |
Eraser | Eraser | 10 |
BluePen | Pen - Blue | 10 |
RedPen | Pen - Red | 10 |
Pen | Pen - Black | 10 |
Crayons | Crayons | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["ArtStorePen"]
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 (Spanish) → · All lists