Locket: Difference between revisions
VaileasysBot (talk | contribs) 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 | ||
| | | model = <!-- model image to go here: Locket_Model.png --> | ||
| icon = Locket.png | |||
| | | category = Junk | ||
| | |||
| 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= | {{Retrieved|version=41|incver=78.16}} | ||
<pre> | <pre> | ||
item Locket | item Locket | ||
Weight | { | ||
Type | DisplayCategory = Junk, | ||
DisplayName | Weight = 0.5, | ||
Icon | Type = Normal, | ||
MetalValue | DisplayName = Locket, | ||
Icon = Locket, | |||
MetalValue = 10, | |||
WorldStaticModel = Locket, | |||
} | |||
</pre> | </pre> | ||
Revision as of 06:56, 24 September 2023
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, }