Lamp: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Distribution table update) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Tiles|Lighting tiles}} | ||
{{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 | ||
}} | }} | ||
A '''lamp''' is a [[Lighting|light source]] [[Tiles|tile]]. | A '''lamp''' is a [[Lighting|light source]] [[Tiles|tile]]. | ||
Line 40: | Line 40: | ||
==Distribution== | ==Distribution== | ||
A lamp can be found in various places, including bedrooms, or on shelves in electronics stores. | The loot distributions can be found in the table(s) below. | ||
<!--BOT FLAG|Mov_Lamp1|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Mov_Lamp1 distribution | |||
<span class="mw-customtoggle-togglebox-Mov_Lamp1" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Mov_Lamp1"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| departmentstorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 6.0 | |||
|- | |||
| electronicsstorage | |||
| {{ll|shelves}} | |||
| 1 | |||
| 50.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Mov_Lamp1" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Mov_Lamp1|41.78.16--> | |||
<!--BOT FLAG|Mov_Lamp2|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Mov_Lamp2 distribution | |||
<span class="mw-customtoggle-togglebox-Mov_Lamp2" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Mov_Lamp2"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| departmentstorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 6.0 | |||
|- | |||
| electronicsstorage | |||
| {{ll|shelves}} | |||
| 1 | |||
| 50.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Mov_Lamp2" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Mov_Lamp2|41.78.16-->A | |||
lamp can be found in various places, including bedrooms, or on shelves in electronics stores. | |||
==Variants== | ==Variants== | ||
Line 90: | Line 149: | ||
| 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 104: | Line 163: | ||
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 110: | Line 169: | ||
| 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 124: | Line 183: | ||
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 130: | Line 189: | ||
| 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 144: | Line 203: | ||
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 150: | Line 209: | ||
| 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 164: | Line 223: | ||
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 170: | Line 229: | ||
| 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 184: | Line 243: | ||
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 190: | Line 249: | ||
| 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 204: | Line 263: | ||
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 215: | Line 274: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Lamp | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 225: | Line 284: | ||
OBSOLETE = TRUE, | OBSOLETE = TRUE, | ||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 15:52, 24 April 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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
departmentstorage | metal_shelves | 4 | 6.0 |
electronicsstorage | shelves | 1 | 50.0 |
Building / Room | Container | Rolls | Chance |
---|---|---|---|
departmentstorage | metal_shelves | 4 | 6.0 |
electronicsstorage | shelves | 1 | 50.0 |
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,
}