Glasses

From PZwiki
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.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D variants
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Glasses
GlassesAviator Model.png
Glasses
Reading Glasses
Reflective Ski Sunglasses
Shooting Glasses
Sunglasses
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Equipped
Eyes
Technical
Item ID

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

Icon Name Item ID
Aviator Glasses Aviator Glasses Base.Glasses_Aviators
Glasses (Black)Glasses (Blue)Glasses (Red) Glasses Base.Glasses_Normal
Reading Glasses Reading Glasses Base.Glasses_Reading
Reflective Ski Sunglasses Reflective Ski Sunglasses Base.Glasses
Shooting Glasses Shooting Glasses Base.Glasses_Shooting
Sunglasses Sunglasses Base.Glasses_Sun

Distributions

The loot distributions can be found in the table(s) below.

Glasses_Aviators distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all militarycrate 3.98%
all militarylocker 3.98%
armyhanger locker 3.98%
armystorage locker 3.98%
bathroom locker 3.98%
changeroom locker 3.98%
closet crate 15.1%
clothingstore counter 19.27%
garagestorage crate 15.1%
garagestorage locker 3.98%
office desk 6.29%
optometrist counter 15.1%
optometrist displaycase 15.1%
optometrist shelves 15.1%
pawnshop counter 3.98%
pawnshop displaycase 15.1%
pawnshop metal_shelves 3.98%
pawnshop shelves 3.98%
pawnshopoffice crate 3.98%
pawnshopoffice locker 3.98%
pawnshopoffice metal_shelves 3.98%
pawnshopstorage crate 3.98%
pawnshopstorage locker 3.98%
pawnshopstorage metal_shelves 3.98%
policestorage counter 6.29%
security locker 3.98%
shoestore counter 19.27%
sportstorage counter 19.27%
sportstore counter 19.27%
storageunit crate 15.1%
Vehicles
Type Container Effective chance
Ambulance Glove Box 0.44%
Carpenter Glove Box 0.44%
Construction Worker Glove Box 0.44%
Distillery Glove Box 0.44%
Doctor Glove Box 0.44%
Electrician Glove Box 0.44%
Farmer Glove Box 0.44%
Fire Glove Box 0.44%
Fisherman Glove Box 0.44%
Fossoil Glove Box 0.44%
All Glove Box 0.44%
Golf Glove Box 0.44%
Heralds Glove Box 0.44%
Hunter Glove Box 0.44%
Mass Gen Fac Glove Box 0.44%
McCoy Glove Box 0.44%
Metal Welder Glove Box 0.44%
Painter Glove Box 0.44%
Police Glove Box 6.41%
Postal Glove Box 0.44%
Radio Glove Box 0.44%
Ranger Glove Box 0.44%
Spiffo Glove Box 0.44%
Survivalist Glove Box 0.44%
Transit Glove Box 0.44%
Glasses_Normal distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
optometrist counter 23.28%
optometrist counter 41.14%
optometrist displaycase 23.28%
optometrist displaycase 41.14%
optometrist shelves 23.28%
optometrist shelves 41.14%
pawnshop displaycase 23.28%
pawnshop displaycase 41.14%
Glasses_Reading distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bedroom sidetable 3.98%
optometrist counter 23.28%
optometrist counter 41.14%
optometrist displaycase 23.28%
optometrist displaycase 41.14%
optometrist shelves 23.28%
optometrist shelves 41.14%
pawnshop displaycase 23.28%
pawnshop displaycase 41.14%
Glasses distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
closet crate 19.27%
clothingstore counter 15.1%
garagestorage crate 19.27%
pool locker 19.27%
shoestore counter 15.1%
sportstorage counter 15.1%
sportstore counter 15.1%
storageunit crate 19.27%
Vehicles
Type Container Effective chance
Ambulance Glove Box 0.47%
Carpenter Glove Box 0.47%
Construction Worker Glove Box 0.47%
Distillery Glove Box 0.47%
Doctor Glove Box 0.47%
Electrician Glove Box 0.47%
Farmer Glove Box 0.47%
Fire Glove Box 0.47%
Fisherman Glove Box 0.47%
Fossoil Glove Box 0.47%
All Glove Box 0.47%
Golf Glove Box 0.47%
Heralds Glove Box 0.47%
Hunter Glove Box 0.47%
Mass Gen Fac Glove Box 0.47%
McCoy Glove Box 0.47%
Metal Welder Glove Box 0.47%
Painter Glove Box 0.47%
Postal Glove Box 0.47%
Radio Glove Box 0.47%
Ranger Glove Box 0.47%
Spiffo Glove Box 0.47%
Survivalist Glove Box 0.47%
Transit Glove Box 0.47%
Glasses_Sun distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
armyhanger locker 10.78%
closet crate 19.27%
clothingstore counter 23.28%
garagestorage crate 19.27%
optometrist counter 19.27%
optometrist displaycase 19.27%
optometrist shelves 19.27%
pawnshop displaycase 19.27%
shoestore counter 23.28%
sportstorage counter 23.28%
sportstore counter 23.28%
storageunit crate 19.27%
Vehicles
Type Container Effective chance
Ambulance Glove Box 0.47%
Carpenter Glove Box 0.47%
Construction Worker Glove Box 0.47%
Distillery Glove Box 0.47%
Doctor Glove Box 0.47%
Electrician Glove Box 0.47%
Farmer Glove Box 0.47%
Fire Glove Box 0.47%
Fisherman Glove Box 0.47%
Fossoil Glove Box 0.47%
All Glove Box 0.47%
Golf Glove Box 0.47%
Heralds Glove Box 0.47%
Hunter Glove Box 0.47%
Mass Gen Fac Glove Box 0.47%
McCoy Glove Box 0.47%
Metal Welder Glove Box 0.47%
Painter Glove Box 0.47%
Postal Glove Box 0.47%
Radio Glove Box 0.47%
Ranger Glove Box 0.47%
Spiffo Glove Box 0.47%
Survivalist Glove Box 0.47%
Transit Glove Box 0.47%

Trivia

  • Glasses negate Short Sighted trait malus in foraging. This only applies to reading glasses and regular glasses, not the rest.

Code

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

GlassesAviator.png Base.Glasses_Aviators
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

Retrieved: Build 41.78.16
item Glasses_Aviators
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Aviator Glasses,
		ClothingItem = Glasses_Aviators,
		BodyLocation = Eyes,
		Icon = GlassesAviator,
		Weight = 0.1,
		Cosmetic = TRUE,
		ChanceToFall = 50,
	}

GlassesBlack.png Base.Glasses_Normal
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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

GlassesReading.png Base.Glasses_Reading
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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

ShootingGlasses.png Base.Glasses
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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

ShootingGlasses Reflective.png Base.Glasses_Shooting
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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

GlassesSun.png Base.Glasses_Aviators
Source: ProjectZomboid\media\scripts\clothing\clothing_others.txt

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