ProceduralDistributions
CrateEmptyMixed
Project Zomboid B42 loot table with 15 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
BeerBottleEmpty | 20 | |
BeerCanEmpty | Beer Can | 20 |
Pop2Empty | Pop Can | 20 |
Pop3Empty | Pop Can | 20 |
PopEmpty | Pop Can | 20 |
PopBottleEmpty | 10 | |
WaterBottleEmpty | 10 | |
PopBottleRareEmpty | 4 | |
GinEmpty | 1 | |
RumEmpty | 1 | |
TequilaEmpty | 1 | |
VodkaEmpty | 1 | |
WhiskeyEmpty | 1 | |
Wine2OpenEmpty | 1 | |
WineOpenEmpty | 1 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateEmptyMixed"]
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