Lamp: Difference between revisions

From PZwiki
(→‎Code: CodeBox update)
(→‎Code: Update codebox to B41)
Line 25: Line 25:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 1986
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 43
   | code =
   | code =
item Lamp
item Lamp
{
{
  Weight             = 0.2,
    DisplayCategory = Household,
  Type               = Normal,
        Weight = 0.2,
  DisplayName         = Lamp,
        Type = Normal,
  Icon               = Lamp,
        DisplayName = Lamp,
  MetalValue         = 12,
        Icon = Lamp,
}
        MetalValue = 12,
        OBSOLETE = TRUE,
    }
   }}
   }}
}}
}}

Revision as of 08:53, 2 February 2024

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
BoxSmall.png
This item has been removed from the game in build 41.
It has been replaced by Lighting.
Lamp
Lamp.png
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Technical
Item ID
Base.Lamp
PlushSpiffo.pngThis article is about the item found in stores. For the furniture item, see Lighting.

A lamp was a useless item, and often considered as junk.

Usage

This lamp had no use, being added purely for the purpose of clutter, creating more realism for the player when looting. It was replaced by findable movable items in build 41.

Distribution

The lamp could be found in houseware and electrical stores.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Lamp
	{
	    DisplayCategory = Household,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Lamp,
        Icon	=	Lamp,
        MetalValue = 12,
        OBSOLETE = TRUE,
    }

See also