Light Bulb: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Update codebox to B41) |
||
Line 77: | Line 77: | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox|[[File:LightBulb.png]] {{ID|Base.LightBulb}}<br> | ||
{{CodeSnip | |||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 463 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = | | version = 41.78.16 | ||
| code = | | code = | ||
item LightBulb | item LightBulb | ||
{ | { | ||
Weight | DisplayCategory = Electronics, | ||
Type | Weight = 0.1, | ||
DisplayName = Light Bulb, | Type = Normal, | ||
Icon | DisplayName = Light Bulb, | ||
} | Icon = LightBulb, | ||
ConditionMax = 100, | |||
WorldStaticModel = LightBulb, | |||
} | |||
}} | |||
[[File:LightBulbRed.png]] {{ID|Base.LightBulbRed}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 474 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbRed | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Red Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 255, | |||
ColorGreen = 0, | |||
ColorBlue = 0, | |||
WorldStaticModel = LightBulbRed, | |||
} | |||
}} | |||
[[File:LightBulbGreen.png]] {{ID|Base.LightBulbGreen}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 486 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbGreen | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Green Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 0, | |||
ColorGreen = 255, | |||
ColorBlue = 0, | |||
WorldStaticModel = LightBulbGreen, | |||
} | |||
}} | |||
[[File:LightBulbBlue.png]] {{ID|Base.LightBulbBlue}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 498 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbBlue | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Blue Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 0, | |||
ColorGreen = 0, | |||
ColorBlue = 255, | |||
WorldStaticModel = LightBulbBlue, | |||
} | |||
}} | |||
[[File:LightBulbYellow.png]] {{ID|Base.LightBulbYellow}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 510 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbYellow | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Yellow Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 255, | |||
ColorGreen = 255, | |||
ColorBlue = 0, | |||
WorldStaticModel = LightBulbYellow, | |||
} | |||
}} | |||
[[File:LightBulbCyan.png]] {{ID|Base.LightBulbCyan}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 522 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbCyan | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Cyan Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 0, | |||
ColorGreen = 255, | |||
ColorBlue = 255, | |||
WorldStaticModel = LightBulbCyan, | |||
} | |||
}} | |||
[[File:LightBulbMagenta.png]] {{ID|Base.LightBulbMagenta}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 534 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbMagenta | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Magenta Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 255, | |||
ColorGreen = 0, | |||
ColorBlue = 255, | |||
WorldStaticModel = LightBulbMagenta, | |||
} | |||
}} | |||
[[File:LightBulbOrange.png]] {{ID|Base.LightBulbOrange}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 546 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbOrange | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Orange Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 255, | |||
ColorGreen = 128, | |||
ColorBlue = 0, | |||
WorldStaticModel = LightBulbOrange, | |||
} | |||
}} | |||
[[File:LightBulbPurple.png]] {{ID|Base.LightBulbPurple}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 558 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbPurple | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Purple Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 128, | |||
ColorGreen = 0, | |||
ColorBlue = 255, | |||
WorldStaticModel = LightBulbPurple, | |||
} | |||
}} | |||
[[File:LightBulbPink.png]] {{ID|Base.LightBulbPink}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 570 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item LightBulbPink | |||
{ | |||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Pink Light Bulb, | |||
Icon = LightBulb, | |||
ColorRed = 255, | |||
ColorGreen = 20, | |||
ColorBlue = 147, | |||
WorldStaticModel = LightBulbPink, | |||
} | |||
}} | }} | ||
}} | }} |
Revision as of 08:33, 2 February 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
Base.LightBulb
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulb
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Light Bulb,
Icon = LightBulb,
ConditionMax = 100,
WorldStaticModel = LightBulb,
}
Base.LightBulbRed
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbRed
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Red Light Bulb,
Icon = LightBulb,
ColorRed = 255,
ColorGreen = 0,
ColorBlue = 0,
WorldStaticModel = LightBulbRed,
}
Base.LightBulbGreen
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbGreen
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Green Light Bulb,
Icon = LightBulb,
ColorRed = 0,
ColorGreen = 255,
ColorBlue = 0,
WorldStaticModel = LightBulbGreen,
}
Base.LightBulbBlue
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbBlue
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Blue Light Bulb,
Icon = LightBulb,
ColorRed = 0,
ColorGreen = 0,
ColorBlue = 255,
WorldStaticModel = LightBulbBlue,
}
Base.LightBulbYellow
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbYellow
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Yellow Light Bulb,
Icon = LightBulb,
ColorRed = 255,
ColorGreen = 255,
ColorBlue = 0,
WorldStaticModel = LightBulbYellow,
}
Base.LightBulbCyan
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbCyan
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Cyan Light Bulb,
Icon = LightBulb,
ColorRed = 0,
ColorGreen = 255,
ColorBlue = 255,
WorldStaticModel = LightBulbCyan,
}
Base.LightBulbMagenta
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbMagenta
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Magenta Light Bulb,
Icon = LightBulb,
ColorRed = 255,
ColorGreen = 0,
ColorBlue = 255,
WorldStaticModel = LightBulbMagenta,
}
Base.LightBulbOrange
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbOrange
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Orange Light Bulb,
Icon = LightBulb,
ColorRed = 255,
ColorGreen = 128,
ColorBlue = 0,
WorldStaticModel = LightBulbOrange,
}
Base.LightBulbPurple
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbPurple
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Purple Light Bulb,
Icon = LightBulb,
ColorRed = 128,
ColorGreen = 0,
ColorBlue = 255,
WorldStaticModel = LightBulbPurple,
}
Base.LightBulbPink
Source: ProjectZomboid\media\scripts\newitems.txt
item LightBulbPink
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Normal,
DisplayName = Pink Light Bulb,
Icon = LightBulb,
ColorRed = 255,
ColorGreen = 20,
ColorBlue = 147,
WorldStaticModel = LightBulbPink,
}