diff --git a/code/modules/surgery/organs/subtypes/diona.dm b/code/modules/surgery/organs/subtypes/diona.dm index 170f93ecddc..0447cbff139 100644 --- a/code/modules/surgery/organs/subtypes/diona.dm +++ b/code/modules/surgery/organs/subtypes/diona.dm @@ -194,6 +194,24 @@ parent_organ = "head" slot = "eyes" + +/obj/item/organ/internal/diona_receptor/remove(var/mob/living/user,special = 0) + if(!special) + owner.disabilities |= NEARSIGHTED + owner.sdisabilities |= BLIND + owner.eye_blind = 20 + owner.eye_blurry = 40 + ..() + +/obj/item/organ/internal/diona_receptor/surgeryize() + if(!owner) + return + owner.disabilities &= ~NEARSIGHTED + owner.sdisabilities &= ~BLIND + owner.eye_blurry = 0 + owner.eye_blind = 0 + + //TODO:Make absorb rads on insert /obj/item/organ/internal/liver/diona diff --git a/code/modules/surgery/organs/subtypes/machine.dm b/code/modules/surgery/organs/subtypes/machine.dm index 6ba6f5055db..12b3d8aded1 100644 --- a/code/modules/surgery/organs/subtypes/machine.dm +++ b/code/modules/surgery/organs/subtypes/machine.dm @@ -129,6 +129,26 @@ robotize() ..() + +/obj/item/organ/internal/optical_sensor/remove(var/mob/living/user,special = 0) + if(!special) + owner.disabilities |= NEARSIGHTED + owner.sdisabilities |= BLIND + owner.eye_blind = 20 + owner.eye_blurry = 40 + owner << "Error 404:Optical Sensors not found." + + ..() + +/obj/item/organ/internal/optical_sensor/surgeryize() + if(!owner) + return + owner.disabilities &= ~NEARSIGHTED + owner.sdisabilities &= ~BLIND + owner.eye_blurry = 0 + owner.eye_blind = 0 + + // Used for an MMI or posibrain being installed into a human. /obj/item/organ/internal/brain/mmi_holder name = "brain"