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.

White bulb

Containers
Building/Room Container Rolls Chance
empty crate 4 1

Blue bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.01
electronicsstorage shelves 4 0.01
kitchen counter 4 0.01

Cyan bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.03
electronicsstorage shelves 4 0.03
kitchen counter 4 0.03

Green bulb

Containers
Building/Room Container Rolls Chance
closet crate 4 1
departmentstorage metal_shelves 4 0.01
electronicsstorage shelves 4 0.01
kitchen counter 4 0.01
radiofactory crate 4 1

Magenta bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.01
electronicsstorage shelves 4 0.01
kitchen counter 4 0.01

Orange bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.006
electronicsstorage shelves 4 0.006
kitchen counter 4 0.006

Pink bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.001
electronicsstorage shelves 4 0.001
kitchen counter 4 0.001

Purple bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.003
electronicsstorage shelves 4 0.003
kitchen counter 4 0.003

Red bulb

Containers
Building/Room Container Rolls Chance
closet crate 4 1
departmentstorage metal_shelves 4 0.01
electronicsstorage shelves 4 0.01
kitchen counter 4 0.01
radiofactory crate 4 1

Yellow bulb

Containers
Building/Room Container Rolls Chance
departmentstorage metal_shelves 4 0.06
electronicsstorage shelves 4 0.06
kitchen counter 4 0.06

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