Lamp: Difference between revisions
m (Automated CodeBox update) |
m (Distribution table update) |
||
(One intermediate revision by the same user not shown) | |||
Line 34: | Line 34: | ||
|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 43: | Line 42: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Mov_Lamp1|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
! Building/Room | <div>Mov_Lamp1 distribution | ||
! Container | <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> | ||
! style=" | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Mov_Lamp1"> | ||
! style="width: | <div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | ||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|departmentstorage | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
|6 | ! Rolls | ||
|}A lamp can be found in various places, including bedrooms, or on shelves in electronics stores. | ! 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 118: | Line 162: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_8, | WorldObjectSprite = lighting_indoor_01_8, | ||
} | } | ||
}} | }} | ||
Line 138: | Line 182: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_9, | WorldObjectSprite = lighting_indoor_01_9, | ||
} | } | ||
}} | }} | ||
Line 158: | Line 202: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_10, | WorldObjectSprite = lighting_indoor_01_10, | ||
} | } | ||
}} | }} | ||
Line 178: | Line 222: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_11, | WorldObjectSprite = lighting_indoor_01_11, | ||
} | } | ||
}} | }} | ||
Line 198: | Line 242: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_12, | WorldObjectSprite = lighting_indoor_01_12, | ||
} | } | ||
}} | }} | ||
Line 218: | Line 262: | ||
DisplayName = Moveable, | DisplayName = Moveable, | ||
WorldObjectSprite = lighting_indoor_01_13, | WorldObjectSprite = lighting_indoor_01_13, | ||
} | } | ||
}} | }} | ||
Line 239: | Line 283: | ||
MetalValue = 12, | MetalValue = 12, | ||
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,
}