Earrings: Difference between revisions

From PZwiki
m (Cleanup)
m (L→l)
Line 54: Line 54:
! Name
! Name
! width="40px" | [[File:Moodle heavyLoad.png|link=|Encumbrance]]
! width="40px" | [[File:Moodle heavyLoad.png|link=|Encumbrance]]
! width="75px" | [[File:UI BodyPart.png|32px|link=|Body Location]]
! width="75px" | [[File:UI BodyPart.png|32px|link=|Body location]]
! width="220px" | Item ID
! width="220px" | Item ID
|-
|-

Revision as of 00:23, 26 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