Eyepatch: Difference between revisions
m (Formatting fix) |
m (Automated Formatting) |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Clothing|Accessories}} | ||
{{Page version|41.65}} | |||
{{Infobox | {{Infobox item | ||
| | |name=Eyepatch | ||
| | |model=Eyepatch_Model.png | ||
|icon=Eyepatch.png | |||
| | |icon_name=Eyepatch | ||
| | |||
<!-- General --> | <!-- General --> | ||
| category = Clothing | |category=Clothing | ||
| weight = 0.01 | |weight=0.01 | ||
| | |equipped=LeftEye<br>RightEye | ||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=Base.Glasses_Eyepatch_Left<br>Base.Glasses_Eyepatch_Right | ||
}} | }} | ||
An '''eyepatch''' is a cosmetic item of eyewear which can be worn over either eye. | An '''eyepatch''' is a cosmetic item of eyewear which can be worn over either eye. | ||
==Usage== | ==Usage== | ||
Line 26: | Line 22: | ||
==Code== | ==Code== | ||
''Eyepatch (Left)'' | ''Eyepatch (Left)'' | ||
{{ | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
Type | | line = true | ||
DisplayName | | start = 209 | ||
ClothingItem | | source = clothing_others.txt | ||
BodyLocation | | retrieved = true | ||
Icon | | version = 41.78.16 | ||
Weight | | code = | ||
Cosmetic | item Glasses_Eyepatch_Left | ||
ClothingItemExtra = Glasses_Eyepatch_Right, | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Eyepatch, | |||
ClothingItem = Glasses_Eyepatch_Left, | |||
BodyLocation = LeftEye, | |||
Icon = Eyepatch, | |||
Weight = 0.01, | |||
Cosmetic = TRUE, | |||
ClothingItemExtra = Glasses_Eyepatch_Right, | |||
ClothingItemExtraOption = EyeRight, | |||
clothingExtraSubmenu = EyeLeft, | |||
WorldStaticModel = Eyepatch_Ground, | |||
} | |||
}} | |||
}} | |||
''Eyepatch (Right)'' | ''Eyepatch (Right)'' | ||
{{ | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
Type | | line = true | ||
DisplayName | | start = 224 | ||
ClothingItem | | source = clothing_others.txt | ||
BodyLocation | | retrieved = true | ||
Icon | | version = 41.78.16 | ||
Weight | | code = | ||
Cosmetic | item Glasses_Eyepatch_Right | ||
ClothingItemExtra = Glasses_Eyepatch_Left, | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Eyepatch, | |||
ClothingItem = Glasses_Eyepatch_Right, | |||
BodyLocation = RightEye, | |||
Icon = Eyepatch, | |||
Weight = 0.01, | |||
Cosmetic = TRUE, | |||
ClothingItemExtra = Glasses_Eyepatch_Left, | |||
ClothingItemExtraOption = EyeLeft, | |||
clothingExtraSubmenu = EyeRight, | |||
WorldStaticModel = Eyepatch_Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
* [[Glasses]] | *[[Glasses]] | ||
* [[Goggles]] | *[[Goggles]] | ||
{{Navbox | {{Navbox items|accessories}} |
Latest revision as of 08:22, 14 April 2024
Base.Glasses_Eyepatch_Right
An eyepatch is a cosmetic item of eyewear which can be worn over either eye.
Usage
An eyepatch provides no insulation or protection, so it is best used as a cosmetic item.
Distribution
An eyepatch can sometimes be found on veteran zombies.
Code
Eyepatch (Left)
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Eyepatch_Left
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Eyepatch,
ClothingItem = Glasses_Eyepatch_Left,
BodyLocation = LeftEye,
Icon = Eyepatch,
Weight = 0.01,
Cosmetic = TRUE,
ClothingItemExtra = Glasses_Eyepatch_Right,
ClothingItemExtraOption = EyeRight,
clothingExtraSubmenu = EyeLeft,
WorldStaticModel = Eyepatch_Ground,
}
Eyepatch (Right)
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Eyepatch_Right
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Eyepatch,
ClothingItem = Glasses_Eyepatch_Right,
BodyLocation = RightEye,
Icon = Eyepatch,
Weight = 0.01,
Cosmetic = TRUE,
ClothingItemExtra = Glasses_Eyepatch_Left,
ClothingItemExtraOption = EyeLeft,
clothingExtraSubmenu = EyeRight,
WorldStaticModel = Eyepatch_Ground,
}