Project Zomboid

Project Zomboid

412 ratings
Myopia & Hyperopia traits with Functioning Glasses [b41/b42]
2
3
2
4
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
162.933 KB
28 Dec, 2021 @ 5:28pm
26 Dec, 2024 @ 4:12pm
5 Change Notes ( view )

Subscribe to download
Myopia & Hyperopia traits with Functioning Glasses [b41/b42]

Description
Build 42 Update: Devs changed the way prescriptive glasses works which kind of conflicts wit this mod. I have to create glasses specific for this mod. When creating your character you get your personal pair of glasses, you can repair it indefinitely with either glue or tape. Trait cost is increased at +3 here since you cannot gather replacement glasses. Also the glasses from the mod have 30% less chance of falling when tripping or being hit.

Features

Having already created a mod to play as a blind character, I thought it would be fun to play characters with less extreme sight impairment. Last update brought us two types of glasses on character creation so I decided it was time for a mod to play as a myopic or hyperopic character. Your glasses will allow you to have normal eyesight so hold on to it!

Myopic people tend to have issues looking at things that are far from them. It is the opposite for Hyperopic people. I decided to simulate that by making everything blurry beyound two squares for myopic / blur the whole screen of Hyperopic when zooming in.

As a Myopic Character you:
  • Benefit from +2 points from the Myopic trait
  • Need Myopia Glasses (Base.Glasses_Normal) equipped to see properly
  • Vision blurred beyond two squares without glasses.
  • Cannot read books nor forage without glasses on.

As a Hyperopic Character you:
  • Benefit from +2 points from the Hyperopic trait
  • Need Hyperopia Glasses (Base.Glasses_Reading) equipped to see properly
  • Without glasses, the more you zoom-in the more your vision gets blurred.
  • Cannot read books nor forage without glasses on.

Do not forget to pick the right glasses on the "Customize Character" screen on character creation! Or willingly pass on selecting your starting glasses to play with an extra challenge, finding glasses that match your eyesight.

Glasses can break:
When you fall from running into a tree or a fence, or when you are hit by a zombie, your glasses may fall. When falling, glasses take damage and have high chances to break. Broken glasses can't be used to counter the traits malus anymore! You can find spare glasses on other zombies or repair your owns. Note that dropping your glasses to the ground directly from their equipped state may also risk damaging them (unequip them before placing them into the world).

Upcoming plans

For next releases I want to do what I did not have the time to implement:
  • Damage glasses that fell from zombies
  • Contact lenses if it is not too anachronistic
  • Expand corection system to other types of glasses
  • (Optional) Management of fogging of the glasses through wetness + dry glasses actions

Extra
Many thanks to co` and MrBounty from TheIndieStone's Discord who have helped me find a way to detect that equipped glasses have fallen to the ground. I am also very grateful to Arean for making a video about this mod!

Workshop ID: 2698765788
Mod ID: MyopiaHyperopia

More Mods by Onkeen:


Workshop ID: 2698765788
Mod ID: MyopiaHyperopia
Popular Discussions View All (2)
2
13 Dec, 2024 @ 12:05pm
How to make the traits actually worth it:
e g g
1
24 Sep, 2022 @ 4:02pm
MP compatible for ongoing servers?
Rukio
159 Comments
gonna shit 17 Jun @ 9:53pm 
i remember it had a version where any glasses of one type would work on Myopic or Hyperopic
back in 41. I NEEEDDD ITTTTT
MonoBoca 11 Mar @ 12:36am 
my life simulator
Bam! 19 Feb @ 3:27pm 
Hey, I've spent the last year living with extreme cataracts, Went from normal vision to nothing in 2 months. have recently had double surgery and am on the mend,:grwheart: This mod hits home for me as i lived it in RL, i love trying to RP ingame so this is perfect! Please consider updating for B42 :grwheart:
NotoriousJ 17 Feb @ 5:56pm 
this is a sick mod! i was so annoyed when the only good looking glasses didnt work for some reason!
puerta de escotilla 10 Jan @ 5:07pm 
Can you make another mod that includes more traits??
Alex_ 5 Jan @ 12:35am 
2 points? It's literally unplayable without glasses and all I get is 2 points
Onkeen  [author] 28 Dec, 2024 @ 1:02am 
@WildWitchoftheWest All these are very good points, I decided to draw the line at the simple principle "glasses = normal vision / no glasses = problems". Being myself myopic, I can read a few words up close but surely reading a full 500 pages book would make my head hurt a lot, but we all have a very wide range of eye impairment and I don't think it is worth the time implementing that range to fulfill that fantasy of being visually impaired in a Zombie Apocalypse, current simple game mechanics I think is enough.

Also, all Zomboid mods have their code open and can be recovered from, if you think there is a better version of it somewhere, update it to make it your local/private version fitting your need!
WildWitchoftheWest 27 Dec, 2024 @ 2:36am 
You know that people that are Nearsighted see things up close just fine, right? Why does this trait add the fact that they can't just like people that are farsighted? Also, why not make varying degrees of severity, aka multiple traits? Some people (like myself) have a minor Myopia where it would blur things further away, maybe affect aiming, etc. but I can still see up close relatively well. Then a version like what you have already that you basically couldn't see anything that gives more trait points?
Dr. Quackers M.D. 12 Dec, 2024 @ 2:02am 
glasses are to hard to find considering how many people have them
e g g 28 Oct, 2024 @ 4:05pm 
def needs to be worth more points than short sighted which only has a fraction of the downsides lol