From e303642fe6f23e80e6a9c82da01bc41405e2cd63 Mon Sep 17 00:00:00 2001 From: Geeves Date: Mon, 13 Sep 2021 14:51:51 +0200 Subject: [PATCH] Glare Dampeners (#12462) --- .../loadout/loadout_augments.dm | 7 +++++++ code/modules/clothing/glasses/glasses.dm | 10 +++++++--- html/changelogs/geeves-glare_dankeners.yml | 7 +++++++ icons/clothing/eyes/welding_goggles.dmi | Bin 1081 -> 1286 bytes 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/geeves-glare_dankeners.yml diff --git a/code/modules/client/preference_setup/loadout/loadout_augments.dm b/code/modules/client/preference_setup/loadout/loadout_augments.dm index 3a89b5ced35..27aa817ead1 100644 --- a/code/modules/client/preference_setup/loadout/loadout_augments.dm +++ b/code/modules/client/preference_setup/loadout/loadout_augments.dm @@ -144,6 +144,13 @@ description = "A set of corrective lenses that can be deployed & retracted." path = /obj/item/organ/internal/augment/tool/correctivelens +/datum/gear/augment/glare_dampeners + display_name = "retractable glare dampeners" + description = "A subdermal implant installed just above the brow line that deploys a thin sheath of hyperpolycarbonate that protects from eye damage associated with arc flash." + path = /obj/item/organ/internal/augment/tool/correctivelens/glare_dampener + allowed_roles = list("Chief Engineer", "Station Engineer", "Atmospheric Technician", "Engineering Apprentice", "Roboticist") + cost = 2 + /datum/gear/augment/head_fluff display_name = "Custom head augmentation" description = "A fluff based augmentation that can be renamed/redescribed to appear as something else for RP purposes." diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 4497b6b262b..0eec562ff4a 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -422,6 +422,7 @@ BLIND // can't see anything item_state = "glasses" prescription = 7 body_parts_covered = 0 + canremove = FALSE /obj/item/clothing/glasses/sunglasses name = "sunglasses" @@ -542,12 +543,15 @@ BLIND // can't see anything /obj/item/clothing/glasses/aug/welding name = "glare dampeners" - desc = "Protects the eyes from welders." - icon_state = "welding-g" - item_state = "welding-g" + desc = "A subdermal implant installed just above the brow line that deploys a thin sheath of hyperpolycarbonate that protects from eye damage associated with arc flash." + icon = 'icons/clothing/eyes/welding_goggles.dmi' + icon_state = "welding-aug" + item_state = "welding-aug" + contained_sprite = TRUE item_flags = THICKMATERIAL flash_protection = FLASH_PROTECTION_MAJOR tint = TINT_HEAVY + canremove = FALSE /obj/item/clothing/glasses/aug/throw_at() usr.drop_from_inventory(src) diff --git a/html/changelogs/geeves-glare_dankeners.yml b/html/changelogs/geeves-glare_dankeners.yml new file mode 100644 index 00000000000..d4d2e6edd48 --- /dev/null +++ b/html/changelogs/geeves-glare_dankeners.yml @@ -0,0 +1,7 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "Added glare dampeners to the augment loadout menu, available to Engineers and Roboticists." + - bugfix: "You can no longer remove corrective lenses by hand." \ No newline at end of file diff --git a/icons/clothing/eyes/welding_goggles.dmi b/icons/clothing/eyes/welding_goggles.dmi index c70d315d3f4d4883e3c29baa5afac840cfed1dec..a0df0949c6083731fc94a22bace8d5048268121d 100644 GIT binary patch literal 1286 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRS6RScZN?cNllZ!G7N;32F7#J$% z1cwzAm45#cT=4Ph6D@CDt#fD22X6>9xM=*~k*CPmq}X>0HJwNqoqkE$X@hVYhz`&2=9 zwB6TAy8w?%-ZG2Ut3F+{S?v7z^G-YV#r&3D@H&a%fdqpE8$%x>&w?qNyfmZhtNX-? zf9N`7=eoM|7%C}EO1+tMVn%U+boBeOpO=dy|Nr@MBD}o(qpJL7E#Khk>gwO;k9RMc z@U^P;(_?n|hHJO}?b~_M)x~Uf@03)@|2y{E|4RJbW4YYKcWuXss=aX`_xBx1j*Ys& zxPy21&73~FcV-2FB9l})OL}KMinL5WIFC7F?OH>(SJKd1Z>{SwqWbFsO;Be z-N`$WD+|pPN$<};Gw1w;PWRPbH=RUn}D8_(R1!rjjnoemUiW7#+@up7^IAp3@wH_`&?&dTE0!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