Lamp: Difference between revisions
(Automated distribution table) |
m (Automatic formatting) |
||
Line 2: | Line 2: | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
|name = Lamp | |name=Lamp | ||
|icon = Lamp Striped.png | |icon=Lamp Striped.png | ||
|icon_name = Striped Lamp | |icon_name=Striped Lamp | ||
|icon2 = Lamp Black.png | |icon2=Lamp Black.png | ||
|icon_name2 = Black Lamp | |icon_name2=Black Lamp | ||
|icon3 = Lamp Red.png | |icon3=Lamp Red.png | ||
|icon_name3 = Red Lamp | |icon_name3=Red Lamp | ||
|icon4 = Lamp Grey.png | |icon4=Lamp Grey.png | ||
|icon_name4 = Gray Lamp | |icon_name4=Gray Lamp | ||
|icon5 = Lamp Blue.png | |icon5=Lamp Blue.png | ||
|icon_name5 = Blue Lamp | |icon_name5=Blue Lamp | ||
|icon6 = Lamp White.png | |icon6=Lamp White.png | ||
|icon_name6 = White Lamp | |icon_name6=White Lamp | ||
|category = Furniture | |category=Furniture | ||
|weight = 2 | |weight=2 | ||
|size=1 | |size=1 | ||
|energy=[[Electricity]] | |energy=[[Electricity]] | ||
|item_id = Base.Mov_Lamp1 | |item_id=Base.Mov_Lamp1 | ||
|item_id2 = Base.Mov_Lamp2 | |item_id2=Base.Mov_Lamp2 | ||
|item_id3 = Base.Mov_Lamp3 | |item_id3=Base.Mov_Lamp3 | ||
|item_id4 = Base.Mov_Lamp4 | |item_id4=Base.Mov_Lamp4 | ||
|item_id5 = Base.Mov_Lamp5 | |item_id5=Base.Mov_Lamp5 | ||
|item_id6 = Base.Mov_Lamp6 | |item_id6=Base.Mov_Lamp6 | ||
|item_id_more = Variants | |item_id_more=Variants | ||
|tile_id = lighting_indoor_01_8 | |tile_id=lighting_indoor_01_8 | ||
|tile_id2 = lighting_indoor_01_9 | |tile_id2=lighting_indoor_01_9 | ||
|tile_id3 = lighting_indoor_01_10 | |tile_id3=lighting_indoor_01_10 | ||
|tile_id4 = lighting_indoor_01_11 | |tile_id4=lighting_indoor_01_11 | ||
|tile_id5 = lighting_indoor_01_12 | |tile_id5=lighting_indoor_01_12 | ||
|tile_id6 = lighting_indoor_01_13 | |tile_id6=lighting_indoor_01_13 | ||
|tile_id_more = Variants | |tile_id_more=Variants | ||
}} | }} | ||
Revision as of 16:55, 25 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,
}