mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +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:
@@ -235,6 +235,7 @@ CIRCULAR SAW
|
||||
else
|
||||
M.take_organ_damage(15)
|
||||
M.sdisabilities &= ~1
|
||||
M.eye_stat = 0
|
||||
M:eye_op_stage = 0.0
|
||||
|
||||
else if((!(user.zone_sel.selecting == "head")) || (!(user.zone_sel.selecting == "groin")) || (!(istype(M, /mob/living/carbon/human))))
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
new /obj/item/weapon/pen(src)
|
||||
|
||||
/obj/item/weapon/secstorage/ssafe/HoS/New()
|
||||
// ..()
|
||||
// new /obj/item/weapon/storage/lockbox/clusterbang(src) - Commented out because this item is retarded (trubble)
|
||||
..()
|
||||
new /obj/item/weapon/storage/lockbox/clusterbang(src)
|
||||
|
||||
/obj/item/weapon/secstorage/ssafe/attack_hand(mob/user as mob)
|
||||
return attack_self(user)
|
||||
@@ -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