Eyepatch: Difference between revisions

From PZwiki
m (Formatting fix)
m (Automated Formatting)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Clothing|Accessories}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=65}}
{{Page version|41.65}}
{{Infobox clothing
{{Infobox item
| display_name = Eyepatch
|name=Eyepatch
| name_colour = Clothing
|model=Eyepatch_Model.png
| name_text_colour = Clothing
|icon=Eyepatch.png
| alternate_image = Eyepatch.png
|icon_name=Eyepatch
| alternate_name = Eyepatch
<!-- General -->
<!-- General -->
| category = Clothing
|category=Clothing
| weight = 0.01
|weight=0.01
| body_location = LeftEye<br>RightEye
|equipped=LeftEye<br>RightEye
<!-- Technical details -->
<!-- Technical details -->
| class_name = Base.Glasses_Eyepatch_Left<br>Base.Glasses_Eyepatch_Right
|item_id=Base.Glasses_Eyepatch_Left<br>Base.Glasses_Eyepatch_Right
| no_style =
}}
}}
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.
__TOC__


==Usage==
==Usage==
Line 26: Line 22:


==Code==
==Code==
'''''From clothing_others.txt (Project Zomboid directory/media/scripts/clothing)'''''<br>
''Eyepatch (Left)''
''Eyepatch (Left)''
{{Retrieved|version=41|incver=65}}
{{CodeBox
<pre> item Glasses_Eyepatch_Left
| {{CodeSnip
DisplayCategory = Accessory,
  | lang = java
Type = Clothing,
  | line = true
DisplayName = Eyepatch,
  | start = 209
ClothingItem = Glasses_Eyepatch_Left,
  | source = clothing_others.txt
BodyLocation = LeftEye,
  | retrieved = true
Icon = Eyepatch,
  | version = 41.78.16
Weight = 0.01,
  | code =
Cosmetic = TRUE,
item Glasses_Eyepatch_Left
ClothingItemExtra = Glasses_Eyepatch_Right,
{
ClothingItemExtraOption = EyeRight,
    DisplayCategory = Accessory,
clothingExtraSubmenu = EyeLeft,
Type = Clothing,
WorldStaticModel = Eyepatch_Ground,
DisplayName = Eyepatch,
</pre>
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)''
{{Retrieved|version=41|incver=65}}
{{CodeBox
<pre> item Glasses_Eyepatch_Right
| {{CodeSnip
DisplayCategory = Accessory,
  | lang = java
Type = Clothing,
  | line = true
DisplayName = Eyepatch,
  | start = 224
ClothingItem = Glasses_Eyepatch_Right,
  | source = clothing_others.txt
BodyLocation = RightEye,
  | retrieved = true
Icon = Eyepatch,
  | version = 41.78.16
Weight = 0.01,
  | code =
Cosmetic = TRUE,
item Glasses_Eyepatch_Right
ClothingItemExtra = Glasses_Eyepatch_Left,
{
ClothingItemExtraOption = EyeLeft,
    DisplayCategory = Accessory,
clothingExtraSubmenu = EyeRight,
Type = Clothing,
WorldStaticModel = Eyepatch_Ground,
DisplayName = Eyepatch,
</pre>
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 clothing}}
{{Navbox items|accessories}}

Latest revision as of 08:22, 14 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Eyepatch
Eyepatch Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.01
Equipped
LeftEye
RightEye
Technical
Item ID
Base.Glasses_Eyepatch_Left
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)

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
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)

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
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,
	}

See also