Light Bulb: Difference between revisions
VibranceBot (talk | contribs) m (pztable -> wikitable theme-red) |
(→Code: Codebox Update) |
||
Line 77: | Line 77: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 40 | |||
| incver = 5 | |||
| code = | |||
item LightBulb | |||
{ | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Light Bulb, | |||
Icon = LightBulb, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:49, 8 January 2024
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Receiver |
0.5 Electrical | none | Screwdriver (keep) |
TV Remote (consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
One of: Toys-R-Mine Walkie Talkie ValuTech Walkie Talkie Premium Technologies Walkie Talkie Tactical Walkie Talkie US Army Walkie Talkie (consumed) |
What it can craft
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 | Ingredient 5 | Ingredient 6 | Ingredient 7 | Ingredient 8 | Ingredient 9 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Makeshift Radio |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x2 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Radio Receiver (consumed) |
Electric Wire (consumed) |
Aluminum x2 (consumed) |
|||
Makeshift Walkie Talkie |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x3 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Green Light Bulb (consumed) |
Radio Receiver (consumed) |
Radio Transmitter (consumed) |
Electric Wire x2 (consumed) |
Aluminum x3 (consumed) | |
Makeshift Ham Radio |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x4 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Green Light Bulb (consumed) |
Radio Receiver (consumed) |
Radio Transmitter (consumed) |
Electric Wire x3 (consumed) |
Aluminum x4 (consumed) |
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.
Item IDs
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
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulb
{
Weight = 0.1,
Type = Normal,
DisplayName = Light Bulb,
Icon = LightBulb,
}