Earrings: Difference between revisions

From PZwiki
(replaced navbox)
m (Cleanup)
Line 1: Line 1:
{{languages}}
{{Languages}}{{Header|The Game World|Items|Clothing|version=Version 41|incver=78.16}}{{Infobox clothing
{{header|The Game World|Items|Clothing|version=Version 41|incver=78.16}}
{{Infobox clothing
| display_name = Earrings
| display_name = Earrings
| name_colour = Clothing
| name_colour = Clothing
| name_text_colour = Clothing
| name_text_colour = Clothing
| image =  
| image =  
| image_width = 300px
| image_width=200px
| alternate_image = Earring_LoopLrg_Gold.png
| alternate_image = Earring_LoopLrg_Gold.png
| alternate_name = Large Gold Looped Earrings
| alternate_name = Large Gold Looped Earrings
Line 38: Line 36:
}}'''Earrings''' are a cosmetic item. They have no functionality.
}}'''Earrings''' are a cosmetic item. They have no functionality.


__TOC__
==Distribution==
== Distribution ==
===Buildings===
===Buildings===
{{See|Businesses}}
{{See|Businesses}}
Earrings are often stored in homes and apartments around the map.
Earrings are often stored in homes and apartments around the map.
===NPCs===
===NPCs===
{{see|NPC}}
{{See|NPC}}
[[Zombie]]s will sometimes be found wearing earrings.
[[Zombie]]s will sometimes be found wearing earrings.
===Remove from world===
===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>:
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>:
Line 173: Line 172:
|}
|}


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


''Large Gold Looped Earrings''
''Large Gold Looped Earrings''
{{Retrieved|version=41|incver=78.16}}
{{Retrieved|version=41|incver=78.16}}
<pre>   item Earring_LoopLrg_Gold
<pre>
    item Earring_LoopLrg_Gold
{
{
    DisplayCategory = Accessory,
    DisplayCategory = Accessory,
Line 193: Line 193:
''Medium Silver looped Earrings''
''Medium Silver looped Earrings''
{{Retrieved|version=41|incver=78.16}}
{{Retrieved|version=41|incver=78.16}}
<pre>   item Earring_LoopMed_Silver
<pre>
    item Earring_LoopMed_Silver
{
{
    DisplayCategory = Accessory,
    DisplayCategory = Accessory,
Line 208: Line 209:
''Small Gold Looped Earrings''
''Small Gold Looped Earrings''
{{Retrieved|version=41|incver=78.16}}
{{Retrieved|version=41|incver=78.16}}
<pre>   item Earring_LoopSmall_Gold_Both
<pre>
    item Earring_LoopSmall_Gold_Both
{
{
    DisplayCategory = Accessory,
    DisplayCategory = Accessory,
Line 223: Line 225:
}
}
</pre>
</pre>
==See also==
==See also==
*[[Choker]]
*[[Choker]]
*[[Necklace]]
*[[Necklace]]
*[[Ring]]
*[[Ring]]
{{Navbox jewellery}}
 
{{Navbox jewelry}}

Revision as of 21:10, 22 June 2023

Earrings
Large Gold Looped Earrings Medium Silver Looped Earrings Small Gold Looped Earrings
Sapphire Stone Earrings Pearl Earrings Dangly Emerald Earrings
General
Category Clothing
Encumbrance
Heavy Load
0.1
Body location Ears
EarTop
Technical details
Item ID See variants

Earrings 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