- I renamed some of the new adjust procs and create new ones for eye_blind,eye_blurry and eye_stat so they get three procs just like weakened/sleeping/etc.. (Sleeping, AdjustSleeping, SetSleeping)

- renamed the eye_stat var to eye_damage.
- mob/on_varedit() added. Manually var editing a mob's eye_blind var properly updates his vision.
- I removed update_vision_overlays(), we now just update the relevant fullscreens instead of all fullscreens whenever one needs to be updated.
- fixed climbing into mecha not giving you mecha sight.
- simplified and removed copypasta from update_tinttotal() (now update_tint() )
This commit is contained in:
phil235
2016-02-07 18:50:18 +01:00
parent 1449640867
commit 83633edfed
41 changed files with 207 additions and 253 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
target.cure_blind()
target.set_blindness(0)
target.cure_nearsighted()
target.set_blurriness(max(target.eye_blurry,35)) //this will fix itself slowly.
target.set_eye_stat(0)
target.blur_eyes(35) //this will fix itself slowly.
target.set_eye_damage(0)
return 1
/datum/surgery_step/fix_eyes/failure(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)