Earrings: Difference between revisions
m (→Code: add section) |
m (→Code: clarify) |
||
Line 165: | Line 165: | ||
==Code== | ==Code== | ||
{{Improve|section=true|Missing variants | {{Improve|section=true|Missing variants and icons}} | ||
{{CodeBox|{{ID|Base.Earring_LoopLrg_Gold}}<br> | {{CodeBox|{{ID|Base.Earring_LoopLrg_Gold}}<br> | ||
{{CodeSnip | {{CodeSnip |
Revision as of 15:45, 17 March 2024
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
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 | Base.Earrings |
Code
Base.Earring_LoopLrg_Gold
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
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,
}
Base.Earring_LoopMed_Silver
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
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,
}
Base.Earring_LoopSmall_Gold_Both
Source: ProjectZomboid\media\scripts\clothing\clothing_jewellery.txt
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,
}