ProceduralDistributions
JunkBin
Project Zomboid B42 loot table with 15 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
ElectricWire | Electrical Wire | 10 |
ElectronicsScrap | Scrap Electronics | 10 |
Receipt | Receipt | 10 |
ScrapMetal | Scrap Metal | 10 |
Twine | Twine | 10 |
UnusableMetal | Sheet Metal Scrap | 10 |
UnusableWood | Scrap Wood | 10 |
Wire | Wire | 10 |
SheetMetal | Steel Sheet | 8 |
SmallSheetMetal | Steel Sheet - Small | 8 |
MetalPipe | Iron Pipe | 6 |
Pipe | Plastic Pipe | 6 |
CopperScrap | Copper Scrap | 4 |
ScratchTicket | Scratch Ticket | 4 |
BarbedWire | Barbed Wire | 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 (Spanish) → · All lists