Light Bulb: Difference between revisions

From PZwiki
m (Removed Navbox(es) and added Navbox items)
m (Automated Formatting)
Line 12: Line 12:
|item_id=[[#Item_IDs|Item IDs]]
|item_id=[[#Item_IDs|Item IDs]]
}}
}}
A '''light bulb''' is an [[electrical]] [[Items|item]] used in [[crafting]].
A '''light bulb''' is an [[electrical]] [[Items|item]] used in [[crafting]].


Line 50: Line 49:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| empty  
| empty
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|}
|}
Line 65: Line 64:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.01
| 0.01
|}
|}
Line 90: Line 89:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.03
| 0.03
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.03
| 0.03
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.03
| 0.03
|}
|}
Line 115: Line 114:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| closet  
| closet
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| radiofactory  
| radiofactory
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|}
|}
Line 150: Line 149:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.01
| 0.01
|}
|}
Line 175: Line 174:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.006
| 0.006
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.006
| 0.006
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.006
| 0.006
|}
|}
Line 200: Line 199:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.001
| 0.001
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.001
| 0.001
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.001
| 0.001
|}
|}
Line 225: Line 224:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.003
| 0.003
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.003
| 0.003
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.003
| 0.003
|}
|}
Line 250: Line 249:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| closet  
| closet
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.01
| 0.01
|-
|-
| radiofactory  
| radiofactory
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|}
|}
Line 285: Line 284:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| departmentstorage  
| departmentstorage
| [[metal_shelves]]  
| [[metal_shelves]]
| 4  
| 4
| 0.06
| 0.06
|-
|-
| electronicsstorage  
| electronicsstorage
| [[shelves]]  
| [[shelves]]
| 4  
| 4
| 0.06
| 0.06
|-
|-
| kitchen  
| kitchen
| [[counter]]  
| [[counter]]
| 4  
| 4
| 0.06
| 0.06
|}
|}
Line 358: Line 357:
         ConditionMax = 100,
         ConditionMax = 100,
         WorldStaticModel = LightBulb,
         WorldStaticModel = LightBulb,
     }  
     }
}}
}}


Line 381: Line 380:
         ColorBlue = 0,
         ColorBlue = 0,
         WorldStaticModel = LightBulbRed,
         WorldStaticModel = LightBulbRed,
     }  
     }
}}
}}


Line 404: Line 403:
         ColorBlue = 0,
         ColorBlue = 0,
         WorldStaticModel = LightBulbGreen,
         WorldStaticModel = LightBulbGreen,
     }  
     }
}}
}}


Line 427: Line 426:
         ColorBlue = 255,
         ColorBlue = 255,
         WorldStaticModel = LightBulbBlue,
         WorldStaticModel = LightBulbBlue,
     }  
     }
}}
}}


Line 450: Line 449:
         ColorBlue = 0,
         ColorBlue = 0,
         WorldStaticModel = LightBulbYellow,
         WorldStaticModel = LightBulbYellow,
     }  
     }
}}
}}


Line 473: Line 472:
         ColorBlue = 255,
         ColorBlue = 255,
         WorldStaticModel = LightBulbCyan,
         WorldStaticModel = LightBulbCyan,
     }  
     }
}}
}}


Line 496: Line 495:
         ColorBlue = 255,
         ColorBlue = 255,
         WorldStaticModel = LightBulbMagenta,
         WorldStaticModel = LightBulbMagenta,
     }  
     }
}}
}}


Line 519: Line 518:
         ColorBlue = 0,
         ColorBlue = 0,
         WorldStaticModel = LightBulbOrange,
         WorldStaticModel = LightBulbOrange,
     }  
     }
}}
}}


Line 542: Line 541:
         ColorBlue = 255,
         ColorBlue = 255,
         WorldStaticModel = LightBulbPurple,
         WorldStaticModel = LightBulbPurple,
     }  
     }
}}
}}


Line 565: Line 564:
         ColorBlue = 147,
         ColorBlue = 147,
         WorldStaticModel = LightBulbPink,
         WorldStaticModel = LightBulbPink,
     }  
     }
}}
}}
}}
}}

Revision as of 09:44, 14 April 2024

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