ProceduralDistributions
CrateGenerator
Project Zomboid B42 loot table with 7 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Screwdriver | Screwdriver | 10 |
ElectronicsMag4 | Magazine: How to Use Generators | 6 |
BookElectrician1 | Electrical I: "Basic Electronics" | 2 |
BookElectrician2 | Electrical II: "Kentucky AV Guide '93" | 1 |
BookElectrician3 | Electrical III: "Practical Wiring Guide" | 0.5 |
BookElectrician4 | Electrical IV: "Telecommunications in the 20th Century" | 0.1 |
BookElectrician5 | Electrical V: "Understanding Integrated Controls for Electronic Systems" | 0.05 |
junk rolls 20
A second roll with filler items.
| ID | Name | Weight |
|---|---|---|
Generator_Old | Generator - Old | 40 |
Generator | Generator - Lectromax | 10 |
Generator_Blue | Generator - ValuTech | 10 |
Generator_Yellow | Generator - Premium Technologies | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateGenerator"]
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