Glasses: Difference between revisions
(Created page with "{{Testing|build=Build 41}} <!-- COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages...") |
m (→Trivia: link Short Sighter) |
||
(33 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Clothing|Accessories}} | ||
{{Page version|41.65}} | |||
{{Reupload|Missing 3D variants}} | |||
{{Infobox item | |||
{{ | |name=Glasses | ||
|model=GlassesAviator_Model.png | |||
|icon=GlassesAviator.png | |||
| | |icon_name=Aviator Glasses | ||
| | |icon2=GlassesBlack.png | ||
| | |icon_name2=Glasses | ||
| | |icon3=GlassesReading.png | ||
| | |icon_name3=Reading Glasses | ||
|icon4=ShootingGlasses.png | |||
| | |icon_name4=Reflective Ski Sunglasses | ||
| | |icon5=ShootingGlasses_Reflective.png | ||
|icon_name5=Shooting Glasses | |||
| | |icon6=GlassesSun.png | ||
| | |icon_name6=Sunglasses | ||
| | |||
| | |||
| | |||
| | |||
| | |||
<!-- General --> | <!-- General --> | ||
| category = Clothing | |category=Clothing | ||
| weight = 0.1 | |weight=0.1 | ||
| | |equipped=Eyes | ||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=See ''[[#Variants|Variants]]'' | ||
}} | }} | ||
'''Glasses''' are simple eyewear commonly found around the map. | |||
==Distribution== | |||
== | |||
===Buildings=== | ===Buildings=== | ||
Line 56: | Line 32: | ||
===NPCs=== | ===NPCs=== | ||
Glasses are frequently found on zombie civilians. | Glasses are frequently found on [[zombie]] civilians. | ||
==Variants== | |||
{| class="wikitable theme-red" style="text-align: center;" | |||
! Icon | |||
! Name | |||
! Item ID | |||
|- | |||
| [[File:GlassesAviator.png|Aviator Glasses]] | |||
| Aviator Glasses | |||
| {{ID|Base.Glasses_Aviators}} | |||
|- | |||
| [[File:GlassesBlack.png|Glasses (Black)]][[File:GlassesBlue.png|Glasses (Blue)]][[File:GlassesRed.png|Glasses (Red)]] | |||
| Glasses | |||
| {{ID|Base.Glasses_Normal}} | |||
|- | |||
| [[File:GlassesReading.png|Reading Glasses]] | |||
| Reading Glasses | |||
| {{ID|Base.Glasses_Reading}} | |||
|- | |||
| [[File:ShootingGlasses.png|Reflective Ski Sunglasses]] | |||
| Reflective Ski Sunglasses | |||
| {{ID|Base.Glasses}} | |||
|- | |||
| [[File:ShootingGlasses_Reflective.png|Shooting Glasses]] | |||
| Shooting Glasses | |||
| {{ID|Base.Glasses_Shooting}} | |||
|- | |||
| [[File:GlassesSun.png|Sunglasses]] | |||
| Sunglasses | |||
| {{ID|Base.Glasses_Sun}} | |||
|} | |||
==Trivia== | ==Trivia== | ||
*Glasses | *Glasses negate [[Short Sighted]] trait malus in [[foraging]]. This only applies to reading glasses and regular glasses, not the rest. | ||
== Code == | ==Code== | ||
< | {{CodeBox|[[File:GlassesAviator.png]] {{ID|Base.Glasses_Aviators}}<br> | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 112 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses_Aviators | |||
{ | |||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Aviator Glasses, | |||
ClothingItem = Glasses_Aviators, | |||
BodyLocation = Eyes, | |||
Icon = GlassesAviator, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 50, | |||
} | |||
}} | |||
[[File:GlassesBlack.png]] {{ID|Base.Glasses_Normal}}<br> | |||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 124 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses_Normal | |||
{ | { | ||
DisplayCategory = Accessory, | |||
Type = Clothing, | Type = Clothing, | ||
DisplayName = Glasses, | DisplayName = Glasses, | ||
Line 78: | Line 112: | ||
Cosmetic = TRUE, | Cosmetic = TRUE, | ||
ChanceToFall = 50, | ChanceToFall = 50, | ||
</ | } | ||
}} | |||
[[File:GlassesReading.png]] {{ID|Base.Glasses_Reading}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 136 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses_Reading | |||
{ | |||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Reading Glasses, | |||
ClothingItem = Glasses_Reading, | |||
BodyLocation = Eyes, | |||
IconsForTexture = GlassesReading;GlassesReading;GlassesReading, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 50, | |||
} | |||
}} | |||
[[File:ShootingGlasses.png]] {{ID|Base.Glasses}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 99 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses | |||
{ | |||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Reflective Ski Sunglasses, | |||
ClothingItem = Glasses, | |||
BodyLocation = Eyes, | |||
/*Icon = ShootingGlasses,*/ | |||
Icon = ShootingGlasses_Reflective, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 20, | |||
} | |||
}} | |||
[[File:ShootingGlasses_Reflective.png]] {{ID|Base.Glasses_Shooting}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 160 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses_Shooting | |||
{ | |||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Shooting Glasses, | |||
ClothingItem = Glasses_Shooting, | |||
BodyLocation = Eyes, | |||
/*Icon = ShootingGlasses_Reflective,*/ | |||
Icon = ShootingGlasses, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 20, | |||
} | |||
}} | |||
[[File:GlassesSun.png]] {{ID|Base.Glasses_Aviators}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 185 | |||
| source = clothing_others.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Glasses_Sun | |||
{ | |||
DisplayCategory = Accessory, | |||
Type = Clothing, | |||
DisplayName = Sunglasses, | |||
ClothingItem = Glasses_Sun, | |||
BodyLocation = Eyes, | |||
Icon = GlassesSun, | |||
Weight = 0.1, | |||
Cosmetic = TRUE, | |||
ChanceToFall = 50, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
{{Navbox items|accessories}} | |||
{{Navbox | |||
Revision as of 00:00, 15 April 2024
Glasses are simple eyewear commonly found around the map.
Distribution
Buildings
The glasses are common around Knox Country, often stored in houses.
NPCs
Glasses are frequently found on zombie civilians.
Variants
Trivia
- Glasses negate Short Sighted trait malus in foraging. This only applies to reading glasses and regular glasses, not the rest.
Code
Base.Glasses_Aviators
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Aviators
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Aviator Glasses,
ClothingItem = Glasses_Aviators,
BodyLocation = Eyes,
Icon = GlassesAviator,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 50,
}
Base.Glasses_Normal
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Normal
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Glasses,
ClothingItem = Glasses_Normal,
BodyLocation = Eyes,
IconsForTexture = GlassesBlack;GlassesBlue;GlassesRed,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 50,
}
Base.Glasses_Reading
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Reading
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Reading Glasses,
ClothingItem = Glasses_Reading,
BodyLocation = Eyes,
IconsForTexture = GlassesReading;GlassesReading;GlassesReading,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 50,
}
Base.Glasses
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Reflective Ski Sunglasses,
ClothingItem = Glasses,
BodyLocation = Eyes,
/*Icon = ShootingGlasses,*/
Icon = ShootingGlasses_Reflective,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 20,
}
Base.Glasses_Shooting
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Shooting
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Shooting Glasses,
ClothingItem = Glasses_Shooting,
BodyLocation = Eyes,
/*Icon = ShootingGlasses_Reflective,*/
Icon = ShootingGlasses,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 20,
}
Base.Glasses_Aviators
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt
item Glasses_Sun
{
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Sunglasses,
ClothingItem = Glasses_Sun,
BodyLocation = Eyes,
Icon = GlassesSun,
Weight = 0.1,
Cosmetic = TRUE,
ChanceToFall = 50,
}