Light Bulb: Difference between revisions

From PZwiki
(Add distribution tables, version bump)
m (Automated Formatting)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Materials}}
{{Header|Project Zomboid|Items|Materials|Electrical materials}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Light Bulb
|name=Light Bulb
|model=LightBulb Model.png
|model=LightBulb_Model.png
|icon=LightBulb.png
|icon=LightBulb.png
|icon_name=Light Bulb
|icon_name=Light Bulb
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]].


==Usage==
==Usage==
Light bulbs are primarily used as a source of light, either in a lamp, wall mounted light or [[Vehicles|vehicle]] headlights and taillights. If a light bulb is missing from any of these objects, no light will be displayed.
Light bulbs are primarily used as a source of light, either in a lamp, wall-mounted light or [[Vehicles|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.
To add a light bulb to a vehicle, the player must have a [[screwdriver]] in their main inventory.


==Crafting==
==Crafting==
===Obtaining===
===Obtaining===
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting electrical|005|ing=2}}
|receiver
{{Crafting electrical|006|ing=2}}
|scrap_electronics3
{{Crafting electrical|007|ing=2}}
|scrap_electronics4
{{Crafting electrical|008|ing=2}}
|scrap_electronics5
|}
}}


===What it can craft===
===What it can craft===
{{Crafting header|ing=9}}
{{Crafting/sandbox2
{{Crafting electrical|201|ing=9}}
|makeshift_radio
{{Crafting electrical|202|ing=9}}
|makeshift_walkie_talkie
{{Crafting electrical|203|ing=9}}
|makeshift_ham_radio
|}
}}


==Distribution==
==Distribution==
Line 51: Line 49:
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" |Chance
|-
|-
| empty  
| empty
| [[crate]]  
| [[crate]]
| 4  
| 4
| 1
| 1
|}
|}
Line 66: 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 91: 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 116: 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 151: 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 176: 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 201: 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 226: 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 251: 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 286: 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 350: Line 348:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulb
item LightBulb
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 360: Line 358:
         WorldStaticModel = LightBulb,
         WorldStaticModel = LightBulb,
     }
     }
  }}
}}


[[File:LightBulbRed.png]] {{ID|Base.LightBulbRed}}<br>
[[File:LightBulbRed.png]] {{ID|Base.LightBulbRed}}<br>
Line 371: Line 369:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbRed
item LightBulbRed
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 383: Line 381:
         WorldStaticModel = LightBulbRed,
         WorldStaticModel = LightBulbRed,
     }
     }
  }}
}}


[[File:LightBulbGreen.png]] {{ID|Base.LightBulbGreen}}<br>
[[File:LightBulbGreen.png]] {{ID|Base.LightBulbGreen}}<br>
Line 394: Line 392:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbGreen
item LightBulbGreen
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 406: Line 404:
         WorldStaticModel = LightBulbGreen,
         WorldStaticModel = LightBulbGreen,
     }
     }
  }}
}}


[[File:LightBulbBlue.png]] {{ID|Base.LightBulbBlue}}<br>
[[File:LightBulbBlue.png]] {{ID|Base.LightBulbBlue}}<br>
Line 417: Line 415:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbBlue
item LightBulbBlue
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 429: Line 427:
         WorldStaticModel = LightBulbBlue,
         WorldStaticModel = LightBulbBlue,
     }
     }
  }}
}}


[[File:LightBulbYellow.png]] {{ID|Base.LightBulbYellow}}<br>
[[File:LightBulbYellow.png]] {{ID|Base.LightBulbYellow}}<br>
Line 440: Line 438:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbYellow
item LightBulbYellow
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 452: Line 450:
         WorldStaticModel = LightBulbYellow,
         WorldStaticModel = LightBulbYellow,
     }
     }
  }}
}}


[[File:LightBulbCyan.png]] {{ID|Base.LightBulbCyan}}<br>
[[File:LightBulbCyan.png]] {{ID|Base.LightBulbCyan}}<br>
Line 463: Line 461:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbCyan
item LightBulbCyan
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 475: Line 473:
         WorldStaticModel = LightBulbCyan,
         WorldStaticModel = LightBulbCyan,
     }
     }
  }}
}}


[[File:LightBulbMagenta.png]] {{ID|Base.LightBulbMagenta}}<br>
[[File:LightBulbMagenta.png]] {{ID|Base.LightBulbMagenta}}<br>
Line 486: Line 484:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbMagenta
item LightBulbMagenta
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 498: Line 496:
         WorldStaticModel = LightBulbMagenta,
         WorldStaticModel = LightBulbMagenta,
     }
     }
  }}
}}


[[File:LightBulbOrange.png]] {{ID|Base.LightBulbOrange}}<br>
[[File:LightBulbOrange.png]] {{ID|Base.LightBulbOrange}}<br>
Line 509: Line 507:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbOrange
item LightBulbOrange
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 521: Line 519:
         WorldStaticModel = LightBulbOrange,
         WorldStaticModel = LightBulbOrange,
     }
     }
  }}
}}


[[File:LightBulbPurple.png]] {{ID|Base.LightBulbPurple}}<br>
[[File:LightBulbPurple.png]] {{ID|Base.LightBulbPurple}}<br>
Line 532: Line 530:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbPurple
item LightBulbPurple
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 544: Line 542:
         WorldStaticModel = LightBulbPurple,
         WorldStaticModel = LightBulbPurple,
     }
     }
  }}
}}


[[File:LightBulbPink.png]] {{ID|Base.LightBulbPink}}<br>
[[File:LightBulbPink.png]] {{ID|Base.LightBulbPink}}<br>
Line 555: Line 553:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item LightBulbPink
item LightBulbPink
     {
     {
         DisplayCategory = Electronics,
         DisplayCategory = Electronics,
Line 567: Line 565:
         WorldStaticModel = LightBulbPink,
         WorldStaticModel = LightBulbPink,
     }
     }
  }}
}}
}}
}}


Line 574: Line 572:
*[[Vehicles]]
*[[Vehicles]]


{{Navbox equipment}}
{{Navbox items|electrical_materials}}
 


[[Category:Materials]]
[[Category:Materials]]
[[Category:Vehicle parts]]
[[Category:Vehicle parts]]
[[Category:Electricals and Transmission (Project)]]
[[Category:Electricals and Transmission (Project)]]

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