ProceduralDistributions
CrateCharcoal
Project Zomboid B42 loot table with 5 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Charcoal | Charcoal | 50 |
Charcoal | Charcoal | 20 |
Charcoal | Charcoal | 20 |
Charcoal | Charcoal | 10 |
Charcoal | Charcoal | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateCharcoal"]
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