Readds the clusterbang.

Eye damage over 20 units now causes permanent vision impairment, 
Eye damage over 30 units now causes permanent welder-vision.  
Eye damage is treated by Imidazoline or eye surgery.  Full blindness still only treatable by eye surgery. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2951 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-01-13 17:53:41 +00:00
parent 59c0e6ee2c
commit 553f56566f
4 changed files with 13 additions and 3 deletions
@@ -1355,6 +1355,7 @@ datum
M:eye_blurry = max(M:eye_blurry-5 , 0)
M:eye_blind = max(M:eye_blind-5 , 0)
M:disabilities &= ~1
M:eye_stat = max(M:eye_stat-5, 0)
// M:sdisabilities &= ~1 Replaced by eye surgery
..()
return
+9 -1
View File
@@ -992,10 +992,18 @@
if (druggy)
client.screen += hud_used.druggy
if (istype(head, /obj/item/clothing/head/helmet/welding))
if ((istype(head, /obj/item/clothing/head/helmet/welding)) )
if(!head:up && tinted_weldhelh)
client.screen += hud_used.darkMask
if(eye_stat > 20)
if((eye_stat > 30))
client.screen += hud_used.darkMask
else
client.screen += hud_used.vimpaired
if (stat != 2)
if (machine)
if (!( machine.check_eye(src) ))