ProceduralDistributions
JunkBin
Project Zomboid B42 loot table with 15 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
ElectricWire | 10 | |
ElectronicsScrap | 10 | |
Receipt | 10 | |
ScrapMetal | 10 | |
Twine | 10 | |
UnusableMetal | 10 | |
UnusableWood | 10 | |
Wire | 10 | |
SheetMetal | 8 | |
SmallSheetMetal | 8 | |
MetalPipe | 6 | |
Pipe | 6 | |
CopperScrap | 4 | |
ScratchTicket | 4 | |
BarbedWire | 2 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["JunkBin"]
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