Lamp: Difference between revisions
m (Automatic formatting) |
m (Automated CodeBox update) |
||
Line 105: | Line 105: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4378 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp1 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 118: | Line 118: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_8, | WorldObjectSprite = lighting_indoor_01_8, | ||
} | } | ||
}} | |||
[[File:Lamp Black.png|32px]] ''Black Lamp''<br> | [[File:Lamp Black.png|32px]] ''Black Lamp''<br> | ||
Line 125: | Line 125: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4388 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp2 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 138: | Line 138: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_9, | WorldObjectSprite = lighting_indoor_01_9, | ||
} | } | ||
}} | |||
[[File:Lamp Red.png|32px]] ''Red Lamp''<br> | [[File:Lamp Red.png|32px]] ''Red Lamp''<br> | ||
Line 145: | Line 145: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4398 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp3 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 158: | Line 158: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_10, | WorldObjectSprite = lighting_indoor_01_10, | ||
} | } | ||
}} | |||
[[File:Lamp Grey.png|32px]] ''Gray Lamp''<br> | [[File:Lamp Grey.png|32px]] ''Gray Lamp''<br> | ||
Line 165: | Line 165: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4408 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp4 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 178: | Line 178: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_11, | WorldObjectSprite = lighting_indoor_01_11, | ||
} | } | ||
}} | |||
[[File:Lamp Blue.png|32px]] ''Blue Lamp''<br> | [[File:Lamp Blue.png|32px]] ''Blue Lamp''<br> | ||
Line 185: | Line 185: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4418 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp5 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 198: | Line 198: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_12, | WorldObjectSprite = lighting_indoor_01_12, | ||
} | } | ||
}} | |||
[[File:Lamp White.png|32px]] ''White Lamp''<br> | [[File:Lamp White.png|32px]] ''White Lamp''<br> | ||
Line 205: | Line 205: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4428 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Mov_Lamp6 | |||
{ | { | ||
DisplayCategory = Furniture, | DisplayCategory = Furniture, | ||
Line 218: | Line 218: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_13, | WorldObjectSprite = lighting_indoor_01_13, | ||
} | } | ||
}} | |||
[[File:Lamp.png|32px]] ''Lamp''{{sup|removed}}<br> | [[File:Lamp.png|32px]] ''Lamp''{{sup|removed}}<br> | ||
Line 230: | Line 230: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Lamp | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 239: | Line 239: | ||
MetalValue = 12, | MetalValue = 12, | ||
OBSOLETE = TRUE, | OBSOLETE = TRUE, | ||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 10:56, 26 March 2024
A lamp is a light source tile.
Usage
A lamp provides a source of light when placed. It can be turned on and off by left-clicking the tile.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
departmentstorage | metal_shelves | 4 | 6 |
A lamp can be found in various places, including bedrooms, or on shelves in electronics stores.
Variants
Trivia
- The lamp was previously only an item and could not be placed. It was removed in build 41 and replaced by the new moveables functionality. It had the following item ID:
Base.Lamp
.
Code
Important note: the item does not get all the values from this location. These values are overridden by the tile properties. The item ID will even be replaced by the tile ID as soon as it is placed, and is only used for item distribution.
Striped Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp1
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_8,
}
Black Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp2
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_9,
}
Red Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp3
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_10,
}
Gray Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp4
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_11,
}
Blue Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp5
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_12,
}
White Lamp
Source: ProjectZomboid\media\scripts\newitems.txt
item Mov_Lamp6
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = Moveable,
WorldObjectSprite = lighting_indoor_01_13,
}
LampRemoved
Source: ProjectZomboid\media\scripts\newitems.txt
item Lamp
{
DisplayCategory = Household,
Weight = 0.2,
Type = Normal,
DisplayName = Lamp,
Icon = Lamp,
MetalValue = 12,
OBSOLETE = TRUE,
}