mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Makes FBP not go blind from welders (#17493)
* Makes FBP not go blind from welders Also makes it so the eye color verb is actually attached to the eyes. * Different way * gwah
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#define ORGAN_ASSISTED 1 // Like pacemakers, not robotic
|
||||
#define ORGAN_ROBOT 2 // Fully robotic, no organic parts
|
||||
#define ORGAN_LIFELIKE 3 // Robotic, made to appear organic
|
||||
#define ORGAN_NANOFORM 4 // VOREStation Add - Fully nanoswarm organ
|
||||
#define ORGAN_NANOFORM 4 // Fully nanoswarm organ
|
||||
|
||||
//Germs and infections.
|
||||
#define GERM_LEVEL_AMBIENT 110 // Maximum germ level you can reach by standing still.
|
||||
|
||||
@@ -314,6 +314,8 @@
|
||||
var/obj/item/organ/internal/eyes/E = H.internal_organs_by_name[O_EYES]
|
||||
if(!E)
|
||||
return
|
||||
if(user.isSynthetic()) //Fixes robots going blind when doing the equivalent of a bruise pack.
|
||||
return
|
||||
if(H.nif && H.nif.flag_check(NIF_V_UVFILTER,NIF_FLAGS_VISION)) return //VOREStation Add - NIF
|
||||
switch(safety)
|
||||
if(1)
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
..()
|
||||
name = "optical sensor"
|
||||
verbs |= /obj/item/organ/internal/eyes/proc/change_eye_color
|
||||
organ_verbs = list(/obj/item/organ/internal/eyes/proc/change_eye_color)
|
||||
handle_organ_mod_special()
|
||||
|
||||
/obj/item/organ/internal/eyes/robot
|
||||
name = "optical sensor"
|
||||
@@ -106,7 +108,6 @@
|
||||
return -1
|
||||
|
||||
/obj/item/organ/internal/eyes/emp_act(severity)
|
||||
// ..() //Returns if the organ isn't robotic // VOREStation Edit - Don't take damage
|
||||
if(robotic >= ORGAN_ASSISTED)
|
||||
return
|
||||
owner.eye_blurry += (4/severity)
|
||||
|
||||
Reference in New Issue
Block a user