mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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) ))
|
||||
|
||||
Reference in New Issue
Block a user