WENOPAL

ProceduralDistributions

GigamartLightbulb

Project Zomboid B42 loot table with 17 items and 4 rolls.

Data taken from the game files: Project Zomboid 42.21.0 · updated on

IDNameWeight
LightBulbBoxBox of Light Bulbs20
LightBulbBoxBox of Light Bulbs10
LightBulbBlueLight Bulb - Blue8
LightBulbCyanLight Bulb - Cyan8
LightBulbGreenLight Bulb - Green8
LightBulbMagentaLight Bulb - Magenta8
LightBulbOrangeLight Bulb - Orange8
LightBulbPinkLight Bulb - Pink8
LightBulbPurpleLight Bulb - Purple8
LightBulbRedLight Bulb - Red8
LightBulbYellowLight Bulb - Yellow8
Mov_Lamp1Lamp4
Mov_Lamp2Lamp4
Mov_Lamp3Lamp4
Mov_Lamp4Lamp4
Mov_Lamp5Lamp4
Mov_Lamp6Lamp4

junk rolls 1

A second roll with filler items.

IDNameWeight
Mov_Lamp1Lamp8
Mov_Lamp2Lamp8
Mov_Lamp3Lamp8
Mov_Lamp4Lamp8
Mov_Lamp5Lamp8
Mov_Lamp6Lamp8

Add your item to this list

lua
local dist = ProceduralDistributions.list["GigamartLightbulb"]
if dist and dist.items then
    table.insert(dist.items, "MiMod.MiItem")
    table.insert(dist.items, 2)
end

Goes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide (Spanish) → · All lists