ProceduralDistributions
CarLightbars
Project Zomboid B42 loot table with 5 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
LightbarRed | Lightbar - Red | 20 |
LightbarYellow | Lightbar - Yellow | 20 |
LightbarRed | Lightbar - Red | 10 |
LightbarRedBlue | Lightbar - Red and Blue | 10 |
LightbarYellow | Lightbar - Yellow | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CarLightbars"]
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