Earrings: Difference between revisions

From PZwiki
(Created page)
 
(updated to build 41: new earrings, how to remove from world, reference to earrings prior to build 41)
Line 1: Line 1:
{{languages|Earrings}}
{{languages}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{header|The Game World|Items|Clothing|version=Version 41|incver=78.16}}
{{Infobox clothing
| display_name = Earrings
| display_name = Earrings
| name_colour =  
| name_colour = Clothing
| name_text_colour =  
| name_text_colour = Clothing
| image = Earrings.png
| image =  
| image_width = 120px
| image_width = 300px
| alternate_image = Earring_LoopLrg_Gold.png
| alternate_name = Large Gold Looped Earrings
| alternate_link =
| alternate_image2 = Earring_LoopMed_Silver.png
| alternate_name2 = Medium Silver Looped Earrings
| alternate_link2 =
| alternate_image3 = Earring_LoopSmall_Gold.png
| alternate_name3 = Small Gold Looped Earrings
| alternate_link3 =
<!-- gap to force earrings on different rows -->
| alternate_image9 = Earring_Stone_Sapphire.png
| alternate_name9 = Sapphire Stone Earrings
| alternate_link9 =
| alternate_image10 = Earring_Stud_Pearl.png
| alternate_name10 = Pearl Earrings
| alternate_link10 =
| alternate_image11 = Earring_Dangly_Emerald.png
| alternate_name11 = Dangly Emerald Earrings
| alternate_link11 =
<!-- General -->
| category = Clothing
| weight = 0.1
| weight = 0.1
| function = ''None''
| body_location = Ears<br>EarTop
| class_name = Base.Earrings}}'''Earrings''' are currently a useless {{T|item}}, and often considered as ''junk''.
| condition =
| capacity =
| weight_reduction =
| attachments_provided =
<!-- Technical details -->
| class_name = ''See [[#Variants|variants]]''
}}'''Earrings''' are a cosmetic item. They have no functionality.


==Usage==
__TOC__
Earrings are a jewelry item and have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
== Distribution ==
===Buildings===
{{See|Businesses}}
Earrings are often stored in homes and apartments around the map.
===NPCs===
{{see|NPC}}
[[Zombie]]s will sometimes be found wearing earrings.
===Remove from world===
As earrings can often create clutter on a [[multiplayer]] server, they can be removed by editing the <code>SandboxVars.lua</code> file and adding the following to the <code>WorldItemRemovalList</code>:
<pre>Base.Earring_LoopLrg_Gold,Base.Earring_LoopLrg_Silver,Base.Earring_LoopMed_Silver,Base.Earring_LoopMed_Gold,Base.Earring_LoopSmall_Silver_Both,Base.Earring_LoopSmall_Silver_Top,Base.Earring_LoopSmall_Gold_Both,Base.Earring_LoopSmall_Gold_Top,Base.Earring_Stud_Gold,Base.Earring_Stud_Silver,Base.Earring_Stone_Sapphire,Base.Earring_Stone_Emerald,Base.Earring_Stone_Ruby,Base.Earring_Pearl,Base.Earring_Dangly_Sapphire,Base.Earring_Dangly_Emerald,Base.Earring_Dangly_Ruby,Base.Earring_Dangly_Diamond,Base.Earring_Dangly_Pearl</pre>


==Distribution==
==Variants==
Earrings can be found on corpses, in [[purse]]s and in some stores.  
{| class="pztable sortable" style="text-align:center;"
! width="100px" | Icon
! Name
! width="40px" | [[File:Moodle heavyLoad.png|link=|Encumbrance]]
! width="75px" | [[File:UI BodyPart.png|32px|link=|Body Location]]
! width="220px" | Item ID
|-
| [[File:Earring LoopLrg Gold.png|Large Gold Looped Earrings]]
| Large Gold Looped Earrings
| 0.1
| Ears
| {{ID|Base.Earring_LoopLrg_Gold}}
|-
| [[File:Earring LoopLrg Silver.png|Large Silver Looped Earrings]]
| Large Silver Looped Earrings
| 0.1
| Ears
| {{ID|Base.Earring_LoopLrg_Silver}}
|-
| [[File:Earring LoopMed Silver.png|Medium Silver Looped Earrings]]
| Medium Silver Looped Earrings
| 0.1
| Ears
| {{ID|Base.Earring_LoopMed_Silver}}
|-
| [[File:Earring LoopMed Gold.png|Medium Gold Looped Earrings]]
| Medium Gold Looped Earrings
| 0.1
| Ears
| {{ID|Base.Earring_LoopMed_Gold}}
|-
| [[File:Earring LoopSmall Silver.png|Small Silver Looped Earrings]]
| Small Silver Looped Earrings
| 0.1
| Ears<br>or EarTop
| {{ID|Base.Earring_LoopSmall_Silver_Both}}<br>{{ID|Base.Earring_LoopSmall_Silver_Top}}
|-
| [[File:Earring LoopSmall Gold.png|Small Gold Looped Earrings]]
| Small Gold Looped Earrings
| 0.1
| Ears<br>or EarTop
| {{ID|Base.Earring_LoopSmall_Gold_Both}}<br>{{ID|Base.Earring_LoopSmall_Gold_Top}}
|-
| [[File:Earring Stud Gold.png|Gold Stud Earrings]]
| Gold Stud Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Stud_Gold}}
|-
| [[File:Earring Stud Silver.png|Silver Stud Earrings]]
| Silver Stud Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Stud_Silver}}
|-
| [[File:Earring Stone Sapphire.png|Sapphire Stone Earrings]]
| Sapphire Stone Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Stone_Sapphire}}
|-
| [[File:Earring Stone Emerald.png|Emerald Earrings]]
| Emerald Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Stone_Emerald}}
|-
| [[File:Earring Stone Ruby.png|Ruby Earrings]]
| Ruby Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Stone_Ruby}}
|-
| [[File:Earring Stud Pearl.png|Pearl Earrings]]
| Pearl Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Pearl}}
|-
| [[File:Earring Dangly Sapphire.png|Dangly Sapphire Earrings]]
| Dangly Sapphire Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Dangly_Sapphire}}
|-
| [[File:Earring Dangly Emerald.png|Dangly Emerald Earrings]]
| Dangly Emerald Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Dangly_Emerald}}
|-
| [[File:Earring Dangly Ruby.png|Dangly Ruby Earrings]]
| Dangly Ruby Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Dangly_Ruby}}
|-
| [[File:Earring Dangly Diamond.png|Dangly Diamond Earrings]]
| Dangly Diamond Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Dangly_Diamond}}
|-
| [[File:Earring Dangly Pearl.png|Dangly Pearl Earrings]]
| Dangly Pearl Earrings
| 0.1
| Ears
| {{ID|Base.Earring_Dangly_Pearl}}
|}
 
==Trivia==
*Prior to [[build 41]], earrings could not be worn, and had only 1 variant. This variant of earrings has since been removed.
{| class="pztable"
!Icon
!Name
!item ID
|-
| [[File:Earrings.png]]
| Earrings
| {{ID|Base.Earrings}}
|}


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From clothing_jewellery.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{Retrieved|version=40|incver=43}}
 
<pre> item Earrings
''Large Gold Looped Earrings''
Weight = 0.1,
{{Retrieved|version=41|incver=78.16}}
Type = Normal,
<pre>   item Earring_LoopLrg_Gold
DisplayName = Earrings,
{
Icon = Earrings,
    DisplayCategory = Accessory,
MetalValue = 25,
Type = Clothing,
DisplayName = Large Gold Looped Earrings,
ClothingItem = Earring_LoopLrg_Gold_Both,
BodyLocation = Ears,
Icon = Earring_LoopLrg_Gold,
Weight = 0.1,
Cosmetic = TRUE,
WorldStaticModel = Earring_LoopLrg_Ground,
}
</pre>
''Medium Silver looped Earrings''
{{Retrieved|version=41|incver=78.16}}
<pre>    item Earring_LoopMed_Silver
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Medium Silver Looped Earrings,
ClothingItem = Earring_LoopMed_Silver_Both,
BodyLocation = Ears,
Icon = Earring_LoopMed_Silver,
Weight = 0.1,
Cosmetic = TRUE,
WorldStaticModel = Earring_LoopMedSilver_Ground,
}
</pre>
''Small Gold Looped Earrings''
{{Retrieved|version=41|incver=78.16}}
<pre>    item Earring_LoopSmall_Gold_Both
{
    DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Small Gold Looped Earrings,
ClothingItem = Earring_LoopSmall_Gold_Both,
BodyLocation = Ears,
Icon = Earring_LoopSmall_Gold,
Weight = 0.1,
ClothingItemExtra = Earring_LoopSmall_Gold_Top,
        ClothingItemExtraOption = PutOnEartop,
Cosmetic = TRUE,
WorldStaticModel = Earring_LoopSmall_Ground,
}
</pre>
</pre>
==See also==
==See also==
* [[Locket]]
*[[Choker]]
* [[Wedding Ring]]
*[[Necklace]]
*[[Ring]]
{{Navbox clothing}}

Revision as of 11:54, 14 June 2023

Template:Infobox clothingEarrings are a cosmetic item. They have no functionality.

Distribution

Buildings

See more: Businesses

Earrings are often stored in homes and apartments around the map.

NPCs

See more: NPC

Zombies will sometimes be found wearing earrings.

Remove from world

As earrings can often create clutter on a multiplayer server, they can be removed by editing the SandboxVars.lua file and adding the following to the WorldItemRemovalList:

Base.Earring_LoopLrg_Gold,Base.Earring_LoopLrg_Silver,Base.Earring_LoopMed_Silver,Base.Earring_LoopMed_Gold,Base.Earring_LoopSmall_Silver_Both,Base.Earring_LoopSmall_Silver_Top,Base.Earring_LoopSmall_Gold_Both,Base.Earring_LoopSmall_Gold_Top,Base.Earring_Stud_Gold,Base.Earring_Stud_Silver,Base.Earring_Stone_Sapphire,Base.Earring_Stone_Emerald,Base.Earring_Stone_Ruby,Base.Earring_Pearl,Base.Earring_Dangly_Sapphire,Base.Earring_Dangly_Emerald,Base.Earring_Dangly_Ruby,Base.Earring_Dangly_Diamond,Base.Earring_Dangly_Pearl

Variants

Icon Name Encumbrance Body Location Item ID
Large Gold Looped Earrings Large Gold Looped Earrings 0.1 Ears Base.Earring_LoopLrg_Gold
Large Silver Looped Earrings Large Silver Looped Earrings 0.1 Ears Base.Earring_LoopLrg_Silver
Medium Silver Looped Earrings Medium Silver Looped Earrings 0.1 Ears Base.Earring_LoopMed_Silver
Medium Gold Looped Earrings Medium Gold Looped Earrings 0.1 Ears Base.Earring_LoopMed_Gold
Small Silver Looped Earrings Small Silver Looped Earrings 0.1 Ears
or EarTop
Base.Earring_LoopSmall_Silver_Both
Base.Earring_LoopSmall_Silver_Top
Small Gold Looped Earrings Small Gold Looped Earrings 0.1 Ears
or EarTop
Base.Earring_LoopSmall_Gold_Both
Base.Earring_LoopSmall_Gold_Top
Gold Stud Earrings Gold Stud Earrings 0.1 Ears Base.Earring_Stud_Gold
Silver Stud Earrings Silver Stud Earrings 0.1 Ears Base.Earring_Stud_Silver
Sapphire Stone Earrings Sapphire Stone Earrings 0.1 Ears Base.Earring_Stone_Sapphire
Emerald Earrings Emerald Earrings 0.1 Ears Base.Earring_Stone_Emerald
Ruby Earrings Ruby Earrings 0.1 Ears Base.Earring_Stone_Ruby
Pearl Earrings Pearl Earrings 0.1 Ears Base.Earring_Pearl
Dangly Sapphire Earrings Dangly Sapphire Earrings 0.1 Ears Base.Earring_Dangly_Sapphire
Dangly Emerald Earrings Dangly Emerald Earrings 0.1 Ears Base.Earring_Dangly_Emerald
Dangly Ruby Earrings Dangly Ruby Earrings 0.1 Ears Base.Earring_Dangly_Ruby
Dangly Diamond Earrings Dangly Diamond Earrings 0.1 Ears Base.Earring_Dangly_Diamond
Dangly Pearl Earrings Dangly Pearl Earrings 0.1 Ears Base.Earring_Dangly_Pearl

Trivia

  • Prior to build 41, earrings could not be worn, and had only 1 variant. This variant of earrings has since been removed.
Icon Name item ID
Earrings.png Earrings Base.Earrings

Code

From clothing_jewellery.txt (Project Zomboid directory/media/scripts/clothing)

Large Gold Looped Earrings Retrieved: Build 41.78.16

    item Earring_LoopLrg_Gold
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Large Gold Looped Earrings,
		ClothingItem = Earring_LoopLrg_Gold_Both,
		BodyLocation = Ears,
		Icon = Earring_LoopLrg_Gold,
		Weight = 0.1,
		Cosmetic = TRUE,
		WorldStaticModel = Earring_LoopLrg_Ground,
	}

Medium Silver looped Earrings Retrieved: Build 41.78.16

    item Earring_LoopMed_Silver
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Medium Silver Looped Earrings,
		ClothingItem = Earring_LoopMed_Silver_Both,
		BodyLocation = Ears,
		Icon = Earring_LoopMed_Silver,
		Weight = 0.1,
		Cosmetic = TRUE,
		WorldStaticModel = Earring_LoopMedSilver_Ground,
	}

Small Gold Looped Earrings Retrieved: Build 41.78.16

    item Earring_LoopSmall_Gold_Both
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Small Gold Looped Earrings,
		ClothingItem = Earring_LoopSmall_Gold_Both,
		BodyLocation = Ears,
		Icon = Earring_LoopSmall_Gold,
		Weight = 0.1,
		ClothingItemExtra = Earring_LoopSmall_Gold_Top,
        ClothingItemExtraOption = PutOnEartop,
		Cosmetic = TRUE,
		WorldStaticModel = Earring_LoopSmall_Ground,
	}

See also