diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm index 1cac5747c14..dd36e87bfc2 100644 --- a/code/game/objects/items/devices/flashlight.dm +++ b/code/game/objects/items/devices/flashlight.dm @@ -141,7 +141,7 @@ user.visible_message(span_warning("[user] directs [src] to [M]'s eyes."), ignored_mobs = user) render_list += span_info("You direct [src] to [M]'s eyes:\n") - if(M.stat == DEAD || M.is_blind()) + if(M.stat == DEAD || M.is_blind() || M.get_eye_protection() > FLASH_PROTECTION_WELDER) render_list += "[M.p_their(TRUE)] pupils don't react to the light!\n"//mob is dead else if(brain.damage > 20) render_list += "[M.p_their(TRUE)] pupils contract unevenly!\n"//mob has sustained damage to their brain diff --git a/code/modules/clothing/glasses/_glasses.dm b/code/modules/clothing/glasses/_glasses.dm index 988b1994124..acf1e23f40b 100644 --- a/code/modules/clothing/glasses/_glasses.dm +++ b/code/modules/clothing/glasses/_glasses.dm @@ -398,6 +398,29 @@ inhand_icon_state = "gar" glass_colour_type = /datum/client_colour/glass_colour/red +///Syndicate item that upgrades the flash protection of your eyes. +/obj/item/syndicate_contacts + name = "suspicious contact lens case" + desc = "A sinister red case that contains two shiny black contact lenses." + w_class = WEIGHT_CLASS_TINY + icon = 'icons/obj/device.dmi' + icon_state = "contacts" + +/obj/item/syndicate_contacts/attack_self(mob/user, modifiers) + . = ..() + if(!user.get_organ_slot(ORGAN_SLOT_EYES)) + to_chat(user, span_warning("You have no eyes to apply the contacts to!")) + return + var/obj/item/organ/internal/eyes/eyes = user.get_organ_slot(ORGAN_SLOT_EYES) + + to_chat(user, span_notice("You begin applying the contact lenses to your eyes...")) + if(!do_after(user, 3 SECONDS, src)) + return + to_chat(user, span_notice("The contacts seamlessly merge with your iris.")) + eyes.flash_protect += FLASH_PROTECTION_WELDER + to_chat(user, span_warning("\The [src] disintegrates into nothing.")) + qdel(src) + /obj/item/clothing/glasses/welding name = "welding goggles" desc = "Protects the eyes from bright flashes; approved by the mad scientist association." diff --git a/code/modules/uplink/uplink_items/device_tools.dm b/code/modules/uplink/uplink_items/device_tools.dm index e6bdc5dfee6..804169229a5 100644 --- a/code/modules/uplink/uplink_items/device_tools.dm +++ b/code/modules/uplink/uplink_items/device_tools.dm @@ -259,3 +259,10 @@ progression_minimum = 30 MINUTES item = /obj/item/powersink cost = 11 + +/datum/uplink_item/device_tools/syndicate_contacts + name = "Polarized Contact Lenses" + desc = "High tech contact lenses that bind directly with the surface of your eyes to give them immunity to flashes and \ + bright lights. Effective, affordable, and nigh undetectable." + item = /obj/item/syndicate_contacts + cost = 3 diff --git a/icons/obj/device.dmi b/icons/obj/device.dmi index c5288a01997..4bcb2b1bfab 100644 Binary files a/icons/obj/device.dmi and b/icons/obj/device.dmi differ