Locket: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(changes to infobox and code)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}{{Infobox item
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}{{Infobox item
| display_name = Locket
| display_name = Locket
| name_colour =
| model = <!-- model image to go here: Locket_Model.png -->
| name_text_colour =  
| icon = Locket.png
| model = Locket.png
| category = Junk
| model_width = 128px
| weight = 0.5
| weight = 0.5
| function = ''None''
| function = ''None''
| material = Metal
| material_value = 10
| class_name = Base.Locket
| class_name = Base.Locket
}}A '''locket''' is currently a useless {{T|item}}, and often considered as ''junk''.
}}A '''locket''' is currently a useless {{T|item}}, and often considered as ''junk''.
Line 18: Line 19:
==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
item Locket
item Locket
Weight = 0.5,
{
Type = Normal,
    DisplayCategory = Junk,
DisplayName = Locket,
Weight = 0.5,
Icon = Locket,
Type = Normal,
MetalValue = 10,
DisplayName = Locket,
Icon = Locket,
MetalValue = 10,
WorldStaticModel = Locket,
}
</pre>
</pre>



Revision as of 06:56, 24 September 2023

Locket
[[File:||200px|class=pixelart]]
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Function
None
Properties
Material
Metal
Metal quantity
10
Technical
Item ID
Base.Locket

A locket is currently a useless item, and often considered as junk.

Usage

A locket is a jewelry item and has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

A locket can be found on corpses, in purses and in some stores.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.78.16

	item Locket
	{
	    DisplayCategory = Junk,
		Weight	=	0.5,
		Type	=	Normal,
		DisplayName	=	Locket,
		Icon	=	Locket,
		MetalValue = 10,
		WorldStaticModel = Locket,
	}

See also