More actions
lighting_indoor_01_32
lighting_indoor_01_40
lighting_indoor_01_48
145032
145040
145048
A striped lamp is a light source tile.
Usage
This tile uses the generic movable item when picked up. A striped lamp provides a source of light when placed. It can be turned on and off by left-clicking the tile. It is also possible to remove the light bulb by right-clicking it.
Crafting
The following table contains the materials that can drop when disassembling this tile.
Disassembly materials | |||
---|---|---|---|
Material | Amount of tries | Base chance | Maximum amount |
Nails | 4 | 50 | 4 |
Scrap Electronics | 1 | 80 | 1 |
Location
The loot distributions can be found in the table(s) below.
Effective chance calculations are based off of default 'apocalypse' loot settings, with no luck modifier, and average zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits. Duplicate entries do exist, but have been removed for clarity.
Building/Room | Container | Effective chance |
---|---|---|
departmentstorage | metal_shelves | 15.1% |
electronicsstorage | shelves | 30.41% |
electronicsstore | counter | 30.41% |
electronicsstore | shelves | 30.41% |
generalstore | shelves | 15.1% |
generalstorestorage | shelves | 15.1% |
gigamart | shelves | 15.1% |
housewarestore | shelves | 15.1% |
kitchenwares | shelves | 15.1% |
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.
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,
}
Source: ProjectZomboid\media\newtiledefinitions.tiles
{
"lighting_indoor_01_8": {
"name": "lighting_indoor_01_8",
"id": 145008,
"type": "lightswitch",
"tileSheetIndex": 8,
"properties": {
"generic": {
"BlocksPlacement": "",
"CanScrap": "",
"CustomName": "Lamp",
"Facing": "E",
"GroupName": "Striped",
"IsMoveAble": "",
"Material": "Electric",
"PickUpWeight": 20,
"Surface": "34",
"ScrapSize": "Small",
"IsSurfaceOffset": "",
"IsTableTop": "",
"lightB": "98",
"lightG": "128",
"lightR": "128",
"HasLightOnSprite": ""
}
}
}
}
Source: ProjectZomboid\media\newtiledefinitions.tiles
{
"lighting_indoor_01_32": {
"name": "lighting_indoor_01_32",
"id": 145032,
"type": "lightswitch",
"tileSheetIndex": 32,
"properties": {
"generic": {
"BlocksPlacement": "",
"CanScrap": "",
"CustomName": "Lamp",
"Facing": "S",
"GroupName": "Striped",
"IsMoveAble": "",
"Material": "Electric",
"PickUpWeight": 20,
"Surface": "34",
"ScrapSize": "Small",
"IsSurfaceOffset": "",
"IsTableTop": "",
"lightB": "99",
"lightG": "128",
"lightR": "128",
"HasLightOnSprite": ""
}
}
}
}
Source: ProjectZomboid\media\newtiledefinitions.tiles
{
"lighting_indoor_01_40": {
"name": "lighting_indoor_01_40",
"id": 145040,
"type": "lightswitch",
"tileSheetIndex": 40,
"properties": {
"generic": {
"BlocksPlacement": "",
"CanScrap": "",
"CustomName": "Lamp",
"Facing": "W",
"GroupName": "Striped",
"IsMoveAble": "",
"Material": "Electric",
"PickUpWeight": 20,
"Surface": "34",
"ScrapSize": "Small",
"IsSurfaceOffset": "",
"IsTableTop": "",
"lightB": "98",
"lightG": "128",
"lightR": "128",
"HasLightOnSprite": ""
}
}
}
}
Source: ProjectZomboid\media\newtiledefinitions.tiles
{
"lighting_indoor_01_48": {
"name": "lighting_indoor_01_48",
"id": 145048,
"type": "lightswitch",
"tileSheetIndex": 48,
"properties": {
"generic": {
"BlocksPlacement": "",
"CanScrap": "",
"CustomName": "Lamp",
"Facing": "N",
"GroupName": "Striped",
"IsMoveAble": "",
"Material": "Electric",
"PickUpWeight": 20,
"Surface": "34",
"ScrapSize": "Small",
"IsSurfaceOffset": "",
"IsTableTop": "",
"lightB": "98",
"lightG": "128",
"lightR": "128",
"HasLightOnSprite": ""
}
}
}
}