Light Bulb

From PZwiki
(Redirected from Light Bulb)
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Light Bulb
LightBulb Model.png
General
Category
Item
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Provide light
Crafting
Technical
Item ID

A light bulb is an electrical item used in crafting.

Usage

Light bulbs are primarily used as a source of light, either in a lamp, wall-mounted light or vehicle headlights and taillights. If a light bulb is missing from any of these objects, no light will be displayed.

To add a light bulb to a vehicle, the player must have a screwdriver in their main inventory.

Crafting

Obtaining

Product Ingredients Tools Requirements Workstation XP
Receiver.png
Receiver
Remote.png TV Remote ×1 Screwdriver.png
Screwdriver
none none 0.5 Electrical
ElectronicsParts.png
Scrap Electronics
One of:
Radio.png Valutech Radio ×1
Radio.png Premium Technologies Radio ×1
Screwdriver.png
Screwdriver
none none 0.5 Electrical
ElectronicsParts.png
Scrap Electronics
One of:
Television.png Antique Television ×1
Television.png ValuTech Television ×1
Television.png Premium Technologies Television ×1
Screwdriver.png
Screwdriver
none none 0.5 Electrical
ElectronicsParts.png
Scrap Electronics
One of:
HamRadioCivilian.png Premium Technologies Ham Radio ×1
HamRadioMilitary.png US Army Ham Radio ×1
Screwdriver.png
Screwdriver
none none 0.5 Electrical

What it can craft

Product Ingredients Tools Requirements Workstation XP
Radio.png
Makeshift Radio
ElectronicsScrap.png Scrap Electronics ×2
Amplifier.png Amplifier ×1
LightBulb.png Light Bulb ×1
RadioReceiver.png Radio Receiver ×1
ElectricWire.png Electric Wire ×1
Aluminum.png Aluminum ×2
Screwdriver.png
Screwdriver

MagazineElectronics01.png
Guerilla Radio vol.1
none none
WalkieTalkieBudget.png
Makeshift Walkie Talkie
ElectronicsScrap.png Scrap Electronics ×3
Amplifier.png Amplifier ×1
LightBulb.png Light Bulb ×1
LightBulbGreen.png Green Light Bulb ×1
RadioReceiver.png Radio Transmitter ×1
ElectricWire.png Electric Wire ×2
Aluminum.png Aluminum ×3
Screwdriver.png
Screwdriver

MagazineElectronics04.png
Guerilla Radio vol.2
none none
HamRadioCivilian.png
Makeshift Radio
ElectronicsScrap.png Scrap Electronics ×4
Amplifier.png Amplifier ×1
LightBulb.png Light Bulb ×1
LightBulbGreen.png Green Light Bulb ×1
RadioReceiver.png Radio Transmitter ×1
ElectricWire.png Electric Wire ×3
Aluminum.png Aluminum ×4
Screwdriver.png
Screwdriver

MagazineMechanics.png
Guerilla Radio vol.3
none none

Distribution

Light bulbs can be found in sheds, garages, houseware stores, kitchen counters and vehicle glove boxes.

A light bulb can be removed from any light or vehicle, requiring a screwdriver only when removed from a vehicle.

Lightbulb distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
LightBulbBlue distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.65%
electronicsstorage shelves 1.65%
electronicsstore counter 1.65%
electronicsstore shelves 1.65%
generalstore shelves 1.65%
generalstorestorage shelves 1.65%
gigamart shelves 1.65%
housewarestore shelves 1.65%
kitchen counter 1.65%
kitchenwares shelves 1.65%
livingroom counter 1.65%
LightBulbCyan distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.7%
electronicsstorage shelves 1.7%
electronicsstore counter 1.7%
electronicsstore shelves 1.7%
generalstore shelves 1.7%
generalstorestorage shelves 1.7%
gigamart shelves 1.7%
housewarestore shelves 1.7%
kitchen counter 1.7%
kitchenwares shelves 1.7%
livingroom counter 1.7%
LightBulbGreen distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Electrician crate 23.28%
Electrician metal_shelves 23.28%
closet crate 23.28%
departmentstorage metal_shelves 1.65%
electronicsstorage shelves 1.65%
electronicsstore counter 1.65%
electronicsstore shelves 1.65%
garagestorage crate 23.28%
generalstore shelves 1.65%
generalstorestorage shelves 1.65%
gigamart shelves 1.65%
housewarestore shelves 1.65%
kitchen counter 1.65%
kitchenwares shelves 1.65%
livingroom counter 1.65%
radiofactory crate 23.28%
radiofactory metal_shelves 23.28%
radioshipping crate 23.28%
radioshipping metal_shelves 23.28%
radiostorage crate 23.28%
radiostorage metal_shelves 23.28%
storageunit crate 23.28%
LightBulbMagenta distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.65%
electronicsstorage shelves 1.65%
electronicsstore counter 1.65%
electronicsstore shelves 1.65%
generalstore shelves 1.65%
generalstorestorage shelves 1.65%
gigamart shelves 1.65%
housewarestore shelves 1.65%
kitchen counter 1.65%
kitchenwares shelves 1.65%
livingroom counter 1.65%
LightBulbOrange distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.64%
electronicsstorage shelves 1.64%
electronicsstore counter 1.64%
electronicsstore shelves 1.64%
generalstore shelves 1.64%
generalstorestorage shelves 1.64%
gigamart shelves 1.64%
housewarestore shelves 1.64%
kitchen counter 1.64%
kitchenwares shelves 1.64%
livingroom counter 1.64%
LightBulbPink distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.63%
electronicsstorage shelves 1.63%
electronicsstore counter 1.63%
electronicsstore shelves 1.63%
generalstore shelves 1.63%
generalstorestorage shelves 1.63%
gigamart shelves 1.63%
housewarestore shelves 1.63%
kitchen counter 1.63%
kitchenwares shelves 1.63%
livingroom counter 1.63%
LightBulbPurple distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.64%
electronicsstorage shelves 1.64%
electronicsstore counter 1.64%
electronicsstore shelves 1.64%
generalstore shelves 1.64%
generalstorestorage shelves 1.64%
gigamart shelves 1.64%
housewarestore shelves 1.64%
kitchen counter 1.64%
kitchenwares shelves 1.64%
livingroom counter 1.64%
LightBulbRed distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Electrician crate 23.28%
Electrician metal_shelves 23.28%
closet crate 23.28%
departmentstorage metal_shelves 1.65%
electronicsstorage shelves 1.65%
electronicsstore counter 1.65%
electronicsstore shelves 1.65%
garagestorage crate 23.28%
generalstore shelves 1.65%
generalstorestorage shelves 1.65%
gigamart shelves 1.65%
housewarestore shelves 1.65%
kitchen counter 1.65%
kitchenwares shelves 1.65%
livingroom counter 1.65%
radiofactory crate 23.28%
radiofactory metal_shelves 23.28%
radioshipping crate 23.28%
radioshipping metal_shelves 23.28%
radiostorage crate 23.28%
radiostorage metal_shelves 23.28%
storageunit crate 23.28%
LightBulbYellow distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
departmentstorage metal_shelves 1.77%
electronicsstorage shelves 1.77%
electronicsstore counter 1.77%
electronicsstore shelves 1.77%
generalstore shelves 1.77%
generalstorestorage shelves 1.77%
gigamart shelves 1.77%
housewarestore shelves 1.77%
kitchen counter 1.77%
kitchenwares shelves 1.77%
livingroom counter 1.77%

Item IDs

The light bulb can come in 10 different colors.

Variant Class name
Normal Base.LightBulb
Red Base.LightBulbRed
Green Base.LightBulbGreen
Blue Base.LightBulbBlue
Yellow Base.LightBulbYellow
Cyan Base.LightBulbCyan
Magenta Base.LightBulbMagenta
Orange Base.LightBulbOrange
Purple Base.LightBulbPurple
Pink Base.LightBulbPink

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

LightBulb.png Base.LightBulb
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulb
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Light Bulb,
        Icon	=	LightBulb,
        ConditionMax = 100,
        WorldStaticModel = LightBulb,
    }

LightBulbRed.png Base.LightBulbRed
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbRed
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Red Light Bulb,
        Icon	=	LightBulb,
        ColorRed = 255,
        ColorGreen = 0,
        ColorBlue = 0,
        WorldStaticModel = LightBulbRed,
    }

LightBulbGreen.png Base.LightBulbGreen
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbGreen
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Green Light Bulb,
        Icon	=	LightBulb,
        ColorRed = 0,
        ColorGreen = 255,
        ColorBlue = 0,
        WorldStaticModel = LightBulbGreen,
    }

LightBulbBlue.png Base.LightBulbBlue
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbBlue
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Blue Light Bulb,
        Icon	= LightBulb,
        ColorRed = 0,
        ColorGreen = 0,
        ColorBlue = 255,
        WorldStaticModel = LightBulbBlue,
    }

LightBulbYellow.png Base.LightBulbYellow
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbYellow
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Yellow Light Bulb,
        Icon	= LightBulb,
        ColorRed = 255,
        ColorGreen = 255,
        ColorBlue = 0,
        WorldStaticModel = LightBulbYellow,
    }

LightBulbCyan.png Base.LightBulbCyan
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbCyan
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Cyan Light Bulb,
        Icon	= LightBulb,
        ColorRed = 0,
        ColorGreen = 255,
        ColorBlue = 255,
        WorldStaticModel = LightBulbCyan,
    }

LightBulbMagenta.png Base.LightBulbMagenta
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbMagenta
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Magenta Light Bulb,
        Icon	= LightBulb,
        ColorRed = 255,
        ColorGreen = 0,
        ColorBlue = 255,
        WorldStaticModel = LightBulbMagenta,
    }

LightBulbOrange.png Base.LightBulbOrange
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbOrange
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Orange Light Bulb,
        Icon	= LightBulb,
        ColorRed = 255,
        ColorGreen = 128,
        ColorBlue = 0,
        WorldStaticModel = LightBulbOrange,
    }

LightBulbPurple.png Base.LightBulbPurple
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbPurple
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Purple Light Bulb,
        Icon	= LightBulb,
        ColorRed = 128,
        ColorGreen = 0,
        ColorBlue = 255,
        WorldStaticModel = LightBulbPurple,
    }

LightBulbPink.png Base.LightBulbPink
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item LightBulbPink
    {
        DisplayCategory = Electronics,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	= Pink Light Bulb,
        Icon	= LightBulb,
        ColorRed = 255,
        ColorGreen = 20,
        ColorBlue = 147,
        WorldStaticModel = LightBulbPink,
    }

See also